prometheus operator v0.93.1

ScrapeConfig.spec.jobName

jobName defines the value of the `job` label assigned to the scraped metrics by default. The `job_name` field in the rendered scrape configuration is always controlled by the operator to prevent duplicate job names, which Prometheus does not allow. Instead the `job` label is set by means of relabeling configs.

1 fields
ScrapeConfig.spec.jobName fields and descriptions
Field / TypeDescription
ScrapeConfig.spec.jobName
string

jobName defines the value of the `job` label assigned to the scraped metrics by default. The `job_name` field in the rendered scrape configuration is always controlled by the operator to prevent duplicate job names, which Prometheus does not allow. Instead the `job` label is set by means of relabeling configs.

  • minLength: 1