prometheus operator v0.93.1

ScrapeConfig.spec.dockerSwarmSDConfigs[].tlsConfig.ca.secret.spec.gceSDConfigs

gceSDConfigs defines a list of GCE service discovery configurations.

6 fields
ScrapeConfig.spec.dockerSwarmSDConfigs[].tlsConfig.ca.secret.spec.gceSDConfigs fields and descriptions
Field / TypeDescription
filter
string

filter defines the filter that can be used optionally to filter the instance list by other criteria Syntax of this filter is described in the filter query parameter section: https://cloud.google.com/compute/docs/reference/latest/instances/list

  • minLength: 1
port
integer

port defines the port to scrape metrics from. If using the public IP address, this must instead be specified in the relabeling rule.

  • format: int32
  • minimum: 0
  • maximum: 65535
project
string required

project defines the Google Cloud Project ID

  • minLength: 1
refreshInterval
string

refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.

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

tagSeparator defines the tag separator is used to separate the tags on concatenation

  • minLength: 1
zone
string required

zone defines the zone of the scrape targets. If you need multiple zones use multiple GCESDConfigs.

  • minLength: 1