prometheus operator v0.93.1

ScrapeConfig.spec.ovhcloudSDConfigs[]

OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config

6 fields
ScrapeConfig.spec.ovhcloudSDConfigs[] fields and descriptions
Field / TypeDescription
applicationKey
string required

applicationKey defines the access key to use for OVHCloud API authentication. This is obtained from the OVHCloud API credentials at https://api.ovh.com.

  • minLength: 1
object required

applicationSecret defines the secret key for OVHCloud API authentication. This contains the application secret obtained during OVHCloud API credential creation.

  • x-kubernetes-map-type: "atomic"
object required

consumerKey defines the consumer key for OVHCloud API authentication. This is the third component of OVHCloud's three-key authentication system.

  • x-kubernetes-map-type: "atomic"
endpoint
string

endpoint defines a custom API endpoint to be used. When not specified, defaults to the standard OVHCloud API endpoint for the region.

  • 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)?)$
service
string required

service defines the service type of the targets to retrieve. Must be either `VPS` or `DedicatedServer` to specify which OVHCloud resources to discover.

  • enum: ["VPS","DedicatedServer"]