Skip to content

Commit 6d1a3d1

Browse files
authored
described which metric is actually exposed
1 parent b46927f commit 6d1a3d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ For this example application, [PodMonitor manifest](manifests/pod-monitor.yaml)
1818
[client-golang]:https://github.com/prometheus/client_golang
1919
[prometheus-operator-quickstart]:https://github.com/coreos/prometheus-operator#quickstart
2020
[prometheus-operator-crd]:https://github.com/coreos/prometheus-operator#customresourcedefinitions
21+
22+
## Exposed Prometheus metrics
23+
24+
This example app exposed the following data over the `/metrics` API, resulting with the `version` metric being collected and exposed in Prometheus.
25+
26+
```
27+
# HELP version Version information about this binary
28+
# TYPE version gauge
29+
version{version="v0.1.0"} 1
30+
```

0 commit comments

Comments
 (0)