From 8a934715c935993223858aed03bf819f2d5c4750 Mon Sep 17 00:00:00 2001 From: yuemoxi <99347745@qq.com> Date: Sat, 28 Aug 2021 22:41:54 +0800 Subject: [PATCH] fix: edit registry and metrics readme (#1384) --- metrics/README.md | 6 +++++- registry/README.md | 28 ++++++++++++++++++++++++---- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/metrics/README.md b/metrics/README.md index f36beb4ed..b8960a418 100644 --- a/metrics/README.md +++ b/metrics/README.md @@ -1,2 +1,6 @@ # Metrics -* [Prometheus](https://github.com/go-kratos/prometheus) + +## prometheus +``` +go get -u github.com/go-kratos/kratos/metrics/prometheus/v2 +``` \ No newline at end of file diff --git a/registry/README.md b/registry/README.md index 2e7e1d36c..a52681efc 100644 --- a/registry/README.md +++ b/registry/README.md @@ -1,6 +1,26 @@ # Registry -* [Consul](https://github.com/go-kratos/consul) -* [Etcd](https://github.com/go-kratos/etcd) -* [Kube](https://github.com/go-kratos/kube) -* [Nacos](https://github.com/go-kratos/nacos) +## Consul +```shell +go get -u github.com/go-kratos/kratos/registry/consul/v2 +``` + +## Etcd +```shell +go get -u github.com/go-kratos/kratos/registry/etcd/v2 +``` + +## zookeeper +```shell +go get -u github.com/go-kratos/kratos/registry/zookeeper/v2 +``` + +## Kube +```shell +go get -u github.com/go-kratos/kratos/registry/kube/v2 +``` + +## Nacos +```shell +go get -u github.com/go-kratos/kratos/registry/nacos/v2 +``` \ No newline at end of file