1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

fix: edit registry and metrics readme (#1384)

This commit is contained in:
yuemoxi
2021-08-28 22:41:54 +08:00
committed by GitHub
parent 0dfab173f9
commit 8a934715c9
2 changed files with 29 additions and 5 deletions
+5 -1
View File
@@ -1,2 +1,6 @@
# Metrics
* [Prometheus](https://github.com/go-kratos/prometheus)
## prometheus
```
go get -u github.com/go-kratos/kratos/metrics/prometheus/v2
```
+24 -4
View File
@@ -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
```