Skip to content

Commit

Permalink
Updated the results of ServiceMonitor in monitor.md (#435)
Browse files Browse the repository at this point in the history
* Resolve conflicts in monitor.md (#402)

* Resolve conflicts in monitor.md (#404)

* Updated the result of ServiceMonitor.

* Minor fix.
  • Loading branch information
YiyunNi authored Aug 20, 2021
1 parent 94be09a commit c31dc70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
11 changes: 2 additions & 9 deletions site/en/adminGuide/monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kubectl --namespace monitoring port-forward svc/grafana 3000

Now you can access Prometheus via http://localhost:9090, and Grafana via http://localhost:3000. You can also access Grafana using the default Grafana user:password of `admin:admin`.

## Enable ServiceMonitor with Miluvs Helm Chart
## Enable ServiceMonitor with Milvus Helm Chart

The ServiceMonitor is not enabled for Miluvs Helm by default. After installing Prometheus Operator in the Kubernetes cluster, you can enable it by adding `metrics.serviceMontior.enabled=true` parameter.

Expand All @@ -60,14 +60,7 @@ When Helm installation completes, use `kubectl` to check the ServiceMonitor reso
```
kubectl get servicemonitor
NAME AGE
my-release-milvus-datacoord 54s
my-release-milvus-datanode 54s
my-release-milvus-indexcoord 54s
my-release-milvus-indexnode 54s
my-release-milvus-proxy 54s
my-release-milvus-querycoord 54s
my-release-milvus-querynode 54s
my-release-milvus-rootcoord 54s
my-release-milvus 54s
```

## Visualize metrics in Grafana
Expand Down
9 changes: 1 addition & 8 deletions site/zh-CN/adminGuide/monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,7 @@ Helm 安装完成后,使用 `kubectl` 检查 ServiceMonitor 资源。
```Shell
kubectl get servicemonitor
NAME AGE
my-release-milvus-datacoord 54s
my-release-milvus-datanode 54s
my-release-milvus-indexcoord 54s
my-release-milvus-indexnode 54s
my-release-milvus-proxy 54s
my-release-milvus-querycoord 54s
my-release-milvus-querynode 54s
my-release-milvus-rootcoord 54s
my-release-milvus 54s
```

## 使用 Grafana 展示监控指标
Expand Down

0 comments on commit c31dc70

Please sign in to comment.