Skip to content
This repository was archived by the owner on Oct 21, 2020. It is now read-only.

Commit 549ce6b

Browse files
authored
Update README.md
1 parent c753e2e commit 549ce6b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • infrastructure/components/monitoring-stack

infrastructure/components/monitoring-stack/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ either table or graph;
1818
### Data Model
1919
Prometheus stores all data as time series, i.e. timestamped values grouped under a specific metric name.
2020
In practice, a metric consists of multiple domains or labels, thus prometheus a metric is a multivariate time series. Metrics can be [exposed](https://prometheus.io/docs/instrumenting/exposition_formats/) using a simple text format.
21-
A metric has format `<metric name>{<label name>=<label value>, ...} <value> <timestamp>`, where value is a float related to the metric and timestamp is an int64 (milliseconds since epoch).
22-
Labels enrich the time series by providing context. The name is a UTF-8 string, whereas the value can be of numerical type float as well as `NaN`, `+Inf`, `-Inf`. Naming convention is described [here](https://prometheus.io/docs/practices/naming/). As perceivable,
23-
Prometheus does not actually care of labels data types and flattens them into an untyped time series.
21+
A metric has format `<metric name>{<label name>=<label value>, ...} <value> <timestamp>`, where value is a float related to the metric (as well as `NaN`, `+Inf`, `-Inf`) and timestamp is an int64 (milliseconds since epoch).
22+
Labels enrich the time series by providing context. The label name and value are UTF-8 strings. Naming convention is described [here](https://prometheus.io/docs/practices/naming/). As perceivable, Prometheus does not actually care of labels data types and flattens them into an untyped time series.
2423
More complex [metrics](https://prometheus.io/docs/concepts/metric_types/), such as counters, gauges, histograms and summaries, can be defined on data. See [this](https://prometheus.io/docs/instrumenting/exposition_formats/#histograms-and-summaries) example.
2524

2625
By default metrics are stored in a local folder for a period of 15 days. On K8s this folder can be maintained on a persistent volume (PV) or a [StatefulSet](https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/) can be otherwise used to

0 commit comments

Comments
 (0)