1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 5 deletions

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
```

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
```