You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2024/03/14 06:47:14 UTC
(dubbo-go-samples) branch main updated (68fcddb3 -> 13a00295)
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
from 68fcddb3 Merge pull request #706 from r27153733/feat/ecosystem-sentinel
add bff47903 add k8s example
new 13a00295 Merge pull request #717 from FoghostCn/metrics
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
metrics/Deployment.yml | 131 ++++++++++++++++++++++++++++++++++++
metrics/README.md | 65 +++++++++++++++++-
metrics/assert/podmonitor.png | Bin 0 -> 85451 bytes
metrics/go-client/Dockerfile | 23 +++++++
ci.sh => metrics/go-client/build.sh | 17 ++---
metrics/go-client/cmd/main.go | 15 +++--
metrics/go-server/Dockerfile | 23 +++++++
ci.sh => metrics/go-server/build.sh | 17 ++---
metrics/go-server/cmd/main.go | 27 +++++---
9 files changed, 277 insertions(+), 41 deletions(-)
create mode 100644 metrics/Deployment.yml
create mode 100644 metrics/assert/podmonitor.png
create mode 100644 metrics/go-client/Dockerfile
copy ci.sh => metrics/go-client/build.sh (78%)
create mode 100644 metrics/go-server/Dockerfile
copy ci.sh => metrics/go-server/build.sh (78%)
(dubbo-go-samples) 01/01: Merge pull request #717 from FoghostCn/metrics
Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
commit 13a002954bb6a78456153da2f0460b67ab850576
Merge: 68fcddb3 bff47903
Author: Ken Liu <ke...@gmail.com>
AuthorDate: Thu Mar 14 14:47:09 2024 +0800
Merge pull request #717 from FoghostCn/metrics
add k8s example to metrics sample
metrics/Deployment.yml | 131 ++++++++++++++++++++++++++++++++++++++++++
metrics/README.md | 65 ++++++++++++++++++++-
metrics/assert/podmonitor.png | Bin 0 -> 85451 bytes
metrics/go-client/Dockerfile | 23 ++++++++
metrics/go-client/build.sh | 20 +++++++
metrics/go-client/cmd/main.go | 15 +++--
metrics/go-server/Dockerfile | 23 ++++++++
metrics/go-server/build.sh | 20 +++++++
metrics/go-server/cmd/main.go | 27 ++++++---
9 files changed, 309 insertions(+), 15 deletions(-)
diff --cc metrics/README.md
index 481c589c,3e8a3b48..54975ffd
--- a/metrics/README.md
+++ b/metrics/README.md
@@@ -25,9 -25,10 +25,10 @@@ curl
### Run client
```shell
-go run ./client/main.go
+go run ./go-client/cmd/main.go
```
+ ## deploy to local
install prometheus and open prometheus config file `prometheus.yml`, write the config like this
```yaml