About
All data stored and manipulated are time series in Prometheus server making it a time serie database.
Every time series is uniquely identified by:
- its metric name
- and optional key-value pairs called labels (ie dimension)
Prometheus may generate temporary derived time series as the result of queries.
Time Serie can be seen as the message format (Sort of relational data) that is stored, processed and returned in the prometheus data flow.
Creation
- Changing any label value, including adding or removing a label, will create a new time series.
PromQL
Count the number of returned time series
count(metric_name)
Return the last time series scraped of a metric
metric_name