All technological notes.
time series
metric and the same set of labeled dimensionstime series is uniquely identified by its metric name and optional key-value pairs called labels.Metric names
http_requests_total - the total number of HTTP requests received[a-zA-Z_:][a-zA-Z0-9_:]* for the best experience and compatibilityLabels
metric name.__ (two underscores) MUST be reserved for internal Prometheus use.[a-zA-Z_][a-zA-Z0-9_]* for the best experience and compatibility<metric_name> {key=value, key=value, ...}
auth_api_hit {count=1,time_taken=800}
api_http_requests_total{method="POST", handler="/messages"}
<!-- Names with UTF-8 characters outside the recommended set must be quoted, -->
{"<metric name>", <label name>="<label value>", ...}
<!-- internal metric -->
{__name__="<metric name>", <label name>="<label value>", ...}