Prometheus Labels

Prometheus identifies each datum with a collection of labels, each of which has the form key=value.

The key and value of a label can originate at any stage of the monitoring data pipeline: client, realm server, tibpromgateway adapter, or Pushgateway.

A label that originates in either a client or a realm server is a straightforward transformation of a field in the monitoring message that carried the datum (see Fields of Monitoring Data Messages). However, not every field of the monitoring message becomes a label.

The following table presents additional label keys, which originate either in the tibpromgateway adapter or in the Pushgateway.

Key Description
exported_job The realm server that published the datum.

See the --source-name parameter in tibpromgateway Command Line Reference.

job The intermediary source that scraped the datum.

The value is the job_name in the Prometheus scrape configuration.

instance The scraped target address.

The default value is the address of the Pushgateway, in the form host:port.