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

Commit 6442a81

Browse files
author
pilillo
committed
2 parents d752e29 + eb48fd1 commit 6442a81

File tree

1 file changed

+9
-4
lines changed
  • infrastructure/components/monitoring-stack

1 file changed

+9
-4
lines changed

infrastructure/components/monitoring-stack/README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Monitoring Stack
22

3-
This component installs the CoreOS Prometheus operator, along with an optional [Grafana](https://prometheus.io/docs/visualization/grafana/) dashboard to visualize collected metrics.
3+
This component installs the [CoreOS Prometheus operator](https://github.com/coreos/prometheus-operator), along with an optional [Grafana](https://prometheus.io/docs/visualization/grafana/) dashboard to visualize collected metrics.
44

55
## Prometheus
66

@@ -15,12 +15,17 @@ either table or graph;
1515

1616
![Prometheus architecture](https://prometheus.io/assets/architecture.png)
1717

18+
You can also watch this introductory video to have a better overview of Prometheus.
19+
20+
<p align="center">
21+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=PDxcEzu62jk" target="_blank"><img src="http://img.youtube.com/vi/PDxcEzu62jk/0.jpg" alt="prometheus walkthrough" width="560" height="315" border="1" /></a>
22+
</p>
23+
1824
### Data Model
1925
Prometheus stores all data as time series, i.e. timestamped values grouped under a specific metric name.
2026
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.
27+
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).
28+
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.
2429
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.
2530

2631
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)