prometheus operator v0.71.2

ScrapeConfig.spec.fileSDConfigs[]

FileSDConfig defines a Prometheus file service discovery configuration See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#file_sd_config

2 fields
ScrapeConfig.spec.fileSDConfigs[] fields and descriptions
Field / TypeDescription
string[] required

List of files to be used for file discovery. Recommendation: use absolute paths. While relative paths work, the prometheus-operator project makes no guarantees about the working directory where the configuration file is stored. Files must be mounted using Prometheus.ConfigMaps or Prometheus.Secrets.

  • minItems: 1
refreshInterval
string

RefreshInterval configures the refresh interval at which Prometheus will reload the content of the files.

  • pattern: ^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$