mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-22 06:38:05 -04:00
The individual strings for label names and values are held in a table, and each Labels value is a run of varint-encoded indexes into that table. When creating new labels, a sync.Mutex is locked around reads and writes. When reading labels, there is no locking because the table of strings used by those labels is immutable. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> |
||
|---|---|---|
| .. | ||
| exemplar | ||
| histogram | ||
| labels | ||
| metadata | ||
| relabel | ||
| rulefmt | ||
| textparse | ||
| timestamp | ||
| value | ||