Skip to content

Commit

Permalink
update dashboard example and add pic to metrics chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
r.khavronenko committed Oct 10, 2017
1 parent b0e466f commit 6788a89
Show file tree
Hide file tree
Showing 2 changed files with 244 additions and 91 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,6 @@ clusters:
## Metrics
Metrics are exposed via [Prometheus](https://prometheus.io/) at `/metrics` path

An example [grafana](https://grafana.com) dashboard for `chproxy` metrics is available [here](https://github.com/Vertamedia/chproxy/blob/master/chproxy_overview.json)

| Name | Type | Description | Labels |
| ------------- | ------------- | ------------- | ------------- |
| status_codes_total | Counter | Distribution by response status codes | `user`, `cluster`, `cluster_user`, `cluster_node`, `code` |
Expand All @@ -430,6 +428,10 @@ An example [grafana](https://grafana.com) dashboard for `chproxy` metrics is ava
| concurrent_queries | Gauge | The number of concurrent queries at the moment | `user`, `cluster`, `cluster_user`, `cluster_node` |
| bad_requests_total | Counter | The number of unsupported requests | |

An example [grafana](https://grafana.com) dashboard for `chproxy` metrics is available [here](https://github.com/Vertamedia/chproxy/blob/master/chproxy_overview.json)

![dashboard example](https://user-images.githubusercontent.com/2902918/31392734-b2fd4a18-ade2-11e7-84a9-4aaaac4c10d7.png)


## FAQ

Expand Down
Loading

0 comments on commit 6788a89

Please sign in to comment.