mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Add some FAQs to the README
This adds some FAQs to the README containing information about certs, labelling, configuration, quantities, and multiple metrics.
This commit is contained in:
parent
77614d151a
commit
5118c9ee1e
3 changed files with 93 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ Kubernetes resources. Then, if someone requested the metric
|
|||
`pods/http_request_per_second` for the pods `pod1` and `pod2` in the
|
||||
`somens` namespace, we'd have:
|
||||
|
||||
- `Series: "http_requests_total"
|
||||
- `Series: "http_requests_total"`
|
||||
- `LabelMatchers: "pod=~\"pod1|pod2",namespace="somens"`
|
||||
- `GroupBy`: `pod`
|
||||
|
||||
|
|
|
|||
|
|
@ -273,6 +273,8 @@ Try fetching the metrics again. You should see an increase in the rate
|
|||
after the collection interval specified in your Prometheus configuration
|
||||
has elapsed. If you leave it for a bit, the rate will go back down again.
|
||||
|
||||
### Quantity Values
|
||||
|
||||
Notice that the API uses Kubernetes-style quantities to describe metric
|
||||
values. These quantities use SI suffixes instead of decimal points. The
|
||||
most common to see in the metrics API is the `m` suffix, which means
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue