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:
Solly Ross 2018-08-07 15:47:49 -04:00
parent 77614d151a
commit 5118c9ee1e
3 changed files with 93 additions and 1 deletions

View file

@ -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`

View file

@ -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