a9f9c59b91
* Set `prometheus.io/param` on a Kubernetes Service to scrape the service endpoints and pass a custom query parameter * For example, scrape Consul with `?format=prometheus` ```yaml kind: Service metadata: annotations: prometheus.io/scrape: 'true' prometheus.io/port: '8500' prometheus.io/path: /v1/agent/metrics prometheus.io/param: format=prometheus ``` |
||
---|---|---|
.. | ||
discovery | ||
exporters | ||
rbac | ||
0-namespace.yaml | ||
config.yaml | ||
deployment.yaml | ||
network-policy.yaml | ||
rules.yaml | ||
service-account.yaml | ||
service.yaml |