prometheus operator v0.71.2

ScrapeConfig.spec.consulSDConfigs[].oauth2.clientId.configMap.spec.gceSDConfigs

GCESDConfigs defines a list of GCE service discovery configurations.

6 fields
ScrapeConfig.spec.consulSDConfigs[].oauth2.clientId.configMap.spec.gceSDConfigs fields and descriptions
Field / TypeDescription
filter
string

Filter 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

port
integer

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

project
string required

The Google Cloud Project ID

  • minLength: 1
refreshInterval
string

RefreshInterval configures the refresh interval at which Prometheus will re-read the instance list.

  • 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

The tag separator is used to separate the tags on concatenation

zone
string required

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

  • minLength: 1