Skip to content

Commit

Permalink
Update metrics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maclav3 authored Feb 13, 2019
1 parent c0db601 commit fa39427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Additionally, every metric has the `node` label, provided by Prometheus, with va

### Customization

If you feel like some metric is missing, you can easily expand this basic implementation. The best way to do so is to use the prometheus registry that is used with [the ServeHTTP method](#exposing-the-metrics-endpoint) and register a metric according to [the documentation](https://godoc.org/github.com/prometheus/client_golang/prometheus) of the Prometheus client.
If you feel like some metric is missing, you can easily expand this basic implementation. The best way to do so is to use the prometheus registry that is used with the [ServeHTTP method](#exposing-the-metrics-endpoint) and register a metric according to [the documentation](https://godoc.org/github.com/prometheus/client_golang/prometheus) of the Prometheus client.

An elegant way to update these metrics would be through the use of decorators:

Expand Down

0 comments on commit fa39427

Please sign in to comment.