ClusterAlert
Scope: Cluster
Version: v1alpha1
Resource to display Prometheus alerts.
- metadata
- metadata.name
Alert identifier (fingerprint) as it calculated by Alertmanager.
Pattern:
^[a-z0-9]+$
Maximum length:
64
- alert
Required value
Alert description.
- alert.annotations
Similar to the standard
metadata.annotations
field.Example:
annotations: summary: Certificate has expired.
- alert.description
Alert description.
Optional.
- alert.labels
Required value
Similar to the standard
metadata.labels
field.Example:
labels: alertname: NginxIngressSslExpired class: ingress-nginx.deckhouse.io/nginx
- alert.name
Required value
Alert name.
- alert.severityLevel
Severity level.
Optional.
Example:
severityLevel: '4'
- alert.summary
Alert summary.
Optional.
CustomAlertmanager
Scope: Cluster
Version: v1alpha1
The resource for connecting additional Alertmanagers to Prometheus.
- spec
Required value
- spec.external
Parameters for connecting an external Alertmanager.
- spec.external.address
URL of an external Alertmanager.
Pattern:
^https?://[^\s/$.?#].[^\s]*$
Examples:
address: http://alerts.mycompany.com
address: https://alerts.company.com
address: http://192.168.1.1
- spec.external.auth
Authorization properties.
- spec.external.auth.basic
Basic authorization properties.
- spec.external.auth.basic.bearerToken
Bearer token authorization.
- spec.external.auth.basic.password
User password.
- spec.external.auth.basic.username
User name.
- spec.external.service
Kubernetes cluster service, which leads to deployed Alertmanager.
- spec.external.service.name
Required value
Name of an Alertmanager service.
- spec.external.service.namespace
Required value
Namespace of an Alertmanager service.
- spec.external.service.path
URL prefix in a service to send alerts for.
Default:
"/"
- spec.external.tls
TLS settings.
- spec.external.tls.ca
CA cert to use.
- spec.external.tls.cert
Client certificate.
- spec.external.tls.insecureSkipVerify
Disable certificate validation.
Default:
false
- spec.external.tls.key
Client key.
- spec.internal
Internal Alertmanager parameters.
- spec.internal.inhibitRules
List of inhibition rules.
InhibitRule defines an inhibition rule that allows to mute alerts when other alerts are already firing (details…).
- spec.internal.inhibitRules.equal
Labels that must have an equal value in the source and target alert for the inhibition to take effect.
- spec.internal.inhibitRules.sourceMatch
Matchers for which one or more alerts have to exist for the inhibition to take effect.
Matcher defines how to match on alert’s labels.
- spec.internal.inhibitRules.sourceMatch.name
Required value
Label to match.
- spec.internal.inhibitRules.sourceMatch.regex
Whether to match on equality (false) or regular-expression (true).
- spec.internal.inhibitRules.sourceMatch.value
Label value to match.
- spec.internal.inhibitRules.targetMatch
Matchers that have to be fulfilled in the alerts to be muted.
Matcher defines how to match on alert’s labels.
- spec.internal.inhibitRules.targetMatch.name
Required value
Label to match.
- spec.internal.inhibitRules.targetMatch.regex
Whether to match on equality (false) or regular-expression (true).
- spec.internal.inhibitRules.targetMatch.value
Label value to match.
- spec.internal.receivers
List of receivers.
Receiver defines one or more notification integrations.
- spec.internal.receivers.emailConfigs
List of Email configurations.
EmailConfig configures notifications via Email.
- spec.internal.receivers.emailConfigs.authIdentity
The identity to use for authentication.
- spec.internal.receivers.emailConfigs.authPassword
The secret’s key that contains the password to use for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.emailConfigs.authPassword.key
Required value
The key of the secret to select from.
- spec.internal.receivers.emailConfigs.authPassword.name
Name of the secret.
- spec.internal.receivers.emailConfigs.authPassword.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.emailConfigs.authSecret
The secret’s key that contains the CRAM-MD5 secret.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.emailConfigs.authSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.emailConfigs.authSecret.name
Name of the secret.
- spec.internal.receivers.emailConfigs.authSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.emailConfigs.authUsername
The username to use for authentication.
- spec.internal.receivers.emailConfigs.from
The sender address.
- spec.internal.receivers.emailConfigs.headers
Further headers email header key/value pairs. Overrides any headers previously set by the notification implementation.
KeyValue defines a (key, value) tuple.
- spec.internal.receivers.emailConfigs.headers.key
Required value
Key of the tuple.
- spec.internal.receivers.emailConfigs.headers.value
Required value
Value of the tuple.
- spec.internal.receivers.emailConfigs.hello
The hostname to identify to the SMTP server.
- spec.internal.receivers.emailConfigs.html
The HTML body of the email notification.
- spec.internal.receivers.emailConfigs.requireTLS
The SMTP TLS requirement.
- spec.internal.receivers.emailConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.emailConfigs.smarthost
The SMTP host through which emails are sent.
- spec.internal.receivers.emailConfigs.text
The text body of the email notification.
- spec.internal.receivers.emailConfigs.tlsConfig
TLS configuration.
- spec.internal.receivers.emailConfigs.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.emailConfigs.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.emailConfigs.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.emailConfigs.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.emailConfigs.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.emailConfigs.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.emailConfigs.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.emailConfigs.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.emailConfigs.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.emailConfigs.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.emailConfigs.to
The email address to send notifications to.
- spec.internal.receivers.name
Required value
Name of the receiver. Must be unique across all items from the list.
- spec.internal.receivers.opsgenieConfigs
List of OpsGenie configurations.
OpsGenieConfig configures notifications via OpsGenie. Details…
- spec.internal.receivers.opsgenieConfigs.apiKey
The secret’s key that contains the OpsGenie API key.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.opsgenieConfigs.apiKey.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.apiKey.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.apiKey.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.apiURL
The URL to send OpsGenie API requests to.
- spec.internal.receivers.opsgenieConfigs.description
Description of the incident.
- spec.internal.receivers.opsgenieConfigs.details
A set of arbitrary key/value pairs that provide further detail about the incident.
- spec.internal.receivers.opsgenieConfigs.details.key
Required value
Key of the tuple.
- spec.internal.receivers.opsgenieConfigs.details.value
Required value
Value of the tuple.
- spec.internal.receivers.opsgenieConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.opsgenieConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.opsgenieConfigs.message
Alert text limited to 130 characters.
- spec.internal.receivers.opsgenieConfigs.note
Additional alert note.
- spec.internal.receivers.opsgenieConfigs.priority
Priority level of alert. Possible values are P1, P2, P3, P4, and P5.
- spec.internal.receivers.opsgenieConfigs.responders
List of responders responsible for notifications.
OpsGenieConfigResponder defines a responder to an incident. One of
id
,name
orusername
has to be defined.- spec.internal.receivers.opsgenieConfigs.responders.id
ID of the responder.
- spec.internal.receivers.opsgenieConfigs.responders.name
Name of the responder.
- spec.internal.receivers.opsgenieConfigs.responders.type
Required value
Type of responder.
- spec.internal.receivers.opsgenieConfigs.responders.username
Username of the responder.
- spec.internal.receivers.opsgenieConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.opsgenieConfigs.source
Backlink to the sender of the notification.
- string
Comma separated list of tags attached to the notifications.
- spec.internal.receivers.pagerdutyConfigs
List of PagerDuty configurations.
PagerDutyConfig configures notifications via PagerDuty. Details…
- spec.internal.receivers.pagerdutyConfigs.class
The class/type of the event.
- spec.internal.receivers.pagerdutyConfigs.client
Client identification.
- spec.internal.receivers.pagerdutyConfigs.clientURL
Backlink to the sender of notification.
- spec.internal.receivers.pagerdutyConfigs.component
The part or component of the affected system that is broken.
- spec.internal.receivers.pagerdutyConfigs.description
Description of the incident.
- spec.internal.receivers.pagerdutyConfigs.details
Arbitrary key/value pairs that provide further detail about the incident.
- spec.internal.receivers.pagerdutyConfigs.details.key
Required value
Key of the tuple.
- spec.internal.receivers.pagerdutyConfigs.details.value
Required value
Value of the tuple.
- spec.internal.receivers.pagerdutyConfigs.group
A cluster or grouping of sources.
- spec.internal.receivers.pagerdutyConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.pagerdutyConfigs.routingKey
The secret’s key that contains the PagerDuty integration key (when using Events API v2).
Either this field or
serviceKey
needs to be defined.The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pagerdutyConfigs.routingKey.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.routingKey.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.routingKey.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.pagerdutyConfigs.serviceKey
The secret’s key that contains the PagerDuty service key (when using integration type “Prometheus”).
Either this field or
routingKey
needs to be defined.The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pagerdutyConfigs.serviceKey.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pagerdutyConfigs.serviceKey.name
Name of the secret.
- spec.internal.receivers.pagerdutyConfigs.serviceKey.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pagerdutyConfigs.severity
Severity of the incident.
- spec.internal.receivers.pagerdutyConfigs.url
The URL to send requests to.
- spec.internal.receivers.pushoverConfigs
List of Pushover configurations.
PushoverConfig configures notifications via Pushover. Details…
- spec.internal.receivers.pushoverConfigs.expire
How long your notification will continue to be retried for, unless the user acknowledges the notification.
- spec.internal.receivers.pushoverConfigs.html
Whether notification message is HTML or plain text.
- spec.internal.receivers.pushoverConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.pushoverConfigs.message
Notification message.
- spec.internal.receivers.pushoverConfigs.retry
How often the Pushover servers will send the same notification to the user. Must be at least 30 seconds.
- spec.internal.receivers.pushoverConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.pushoverConfigs.sound
The name of one of the sounds supported by device clients to override the user’s default sound choice.
- spec.internal.receivers.pushoverConfigs.title
Notification title.
- spec.internal.receivers.pushoverConfigs.token
The secret’s key that contains the registered application’s API token (details…).
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pushoverConfigs.token.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.token.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.token.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.pushoverConfigs.url
A supplementary URL shown alongside the message.
- spec.internal.receivers.pushoverConfigs.urlTitle
A title for supplementary URL, otherwise just the URL is shown.
- spec.internal.receivers.pushoverConfigs.userKey
The secret’s key that contains the recipient user’s user key.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.pushoverConfigs.userKey.key
Required value
The key of the secret to select from.
- spec.internal.receivers.pushoverConfigs.userKey.name
Name of the secret.
- spec.internal.receivers.pushoverConfigs.userKey.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs
List of Slack configurations.
Configures notifications via Slack. Details…
- spec.internal.receivers.slackConfigs.actions
- spec.internal.receivers.slackConfigs.actions.confirm
Protects users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. Details….
- spec.internal.receivers.slackConfigs.actions.confirm.dismissText
The text label for the button to cancel the action.
- spec.internal.receivers.slackConfigs.actions.confirm.okText
The text label for the button to continue with an action.
- spec.internal.receivers.slackConfigs.actions.confirm.text
Required value
Describe in detail the consequences of the action and contextualize your button text choices.
Use a maximum of 30 characters or so for best results across form factors.
- spec.internal.receivers.slackConfigs.actions.confirm.title
Brief title of the pop up window.
- spec.internal.receivers.slackConfigs.actions.name
- spec.internal.receivers.slackConfigs.actions.style
- spec.internal.receivers.slackConfigs.actions.text
Required value
- spec.internal.receivers.slackConfigs.actions.type
Required value
- spec.internal.receivers.slackConfigs.actions.url
- spec.internal.receivers.slackConfigs.actions.value
- spec.internal.receivers.slackConfigs.apiURL
The secret’s key that contains the Slack webhook URL.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.slackConfigs.apiURL.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.apiURL.name
Name of the secret.
- spec.internal.receivers.slackConfigs.apiURL.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.callbackId
- spec.internal.receivers.slackConfigs.channel
The channel or user to send notifications to.
- spec.internal.receivers.slackConfigs.color
- spec.internal.receivers.slackConfigs.fallback
- spec.internal.receivers.slackConfigs.fields
A list of Slack fields that are sent with each notification.
Configures a single Slack field that is sent with each notification.
Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. More information…
- spec.internal.receivers.slackConfigs.fields.short
- spec.internal.receivers.slackConfigs.fields.title
Required value
- spec.internal.receivers.slackConfigs.fields.value
Required value
- string
- spec.internal.receivers.slackConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.slackConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.slackConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.slackConfigs.iconEmoji
- spec.internal.receivers.slackConfigs.iconURL
- spec.internal.receivers.slackConfigs.imageURL
- spec.internal.receivers.slackConfigs.linkNames
- spec.internal.receivers.slackConfigs.mrkdwnIn
- spec.internal.receivers.slackConfigs.pretext
- spec.internal.receivers.slackConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.slackConfigs.shortFields
- spec.internal.receivers.slackConfigs.text
- spec.internal.receivers.slackConfigs.thumbURL
- spec.internal.receivers.slackConfigs.title
- spec.internal.receivers.slackConfigs.titleLink
- spec.internal.receivers.slackConfigs.username
- spec.internal.receivers.telegramConfigs
List of Telegram configurations.
Configures notifications via Telegram.
Read more in the Prometheus documentation.
- spec.internal.receivers.telegramConfigs.apiURL
The Telegram API URL i.e.
https://api.telegram.org
.If not specified, the default API URL will be used.
- spec.internal.receivers.telegramConfigs.botToken
The Secret in the
d8-monitoring
namespace that contains Telegram bot token.- spec.internal.receivers.telegramConfigs.botToken.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.botToken.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.botToken.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.chatID
The Telegram chat ID.
- spec.internal.receivers.telegramConfigs.disableNotifications
Disable telegram notifications
- spec.internal.receivers.telegramConfigs.httpConfig
HTTP client configuration.
- object
Authorization header configuration for the client. This is mutually exclusive with BasicAuth and is only available starting from Alertmanager v0.22+.
- object
The Secret in the
d8-monitoring
namespace that contains the credentials of the request.- string
Required value
The key of the secret to select from.
- string
Name of the secret.
- boolean
Specify whether the Secret or its key must exist.
- string
Set the authentication type. Defaults to Bearer, Basic will cause an error
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth
BasicAuth for the client. This is mutually exclusive with Authorization. If both are defined, BasicAuth takes precedence.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.password
The Secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.username
The Secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.bearerTokenSecret
The Secret in the
d8-monitoring
namespace that contains the bearer token to be used by the client for authentication.- spec.internal.receivers.telegramConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.followRedirects
FollowRedirects specifies whether the client should follow HTTP 3xx redirects.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2
OAuth2 client credentials used to fetch a token for the targets.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId
Required value
The Secret or configMap containing the OAuth2 client id
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap
The ConfigMap in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.key
Required value
The key to select.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret
The Secret in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientId.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientSecret
Required value
The secret in the
d8-monitoring
namespace that contains OAuth2 client data.- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.clientSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.endpointParams
Parameters to append to the token URL
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.scopes
OAuth2 scopes used for the token request
- spec.internal.receivers.telegramConfigs.httpConfig.oauth2.tokenUrl
Required value
The URL to fetch the token from
- spec.internal.receivers.telegramConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig
TLS configuration for the client.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca
Certificate authority used when verifying server certificates.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap
The ConfigMap in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret
The Secret in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert
Client certificate to present when doing client-authentication.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap
The ConfigMap in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret
The Secret in the
d8-monitoring
namespace that contains data to use for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret
The Secret in the
d8-monitoring
namespace that contains the client key file for the targets.- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.telegramConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.telegramConfigs.message
Message template
- spec.internal.receivers.telegramConfigs.parseMode
Parse mode for telegram message
Allowed values:
MarkdownV2
,Markdown
,HTML
- spec.internal.receivers.telegramConfigs.sendResolved
Whether to notify about resolved alerts.
- spec.internal.receivers.victoropsConfigs
List of VictorOps configurations.
VictorOpsConfig configures notifications via VictorOps. Details…
- spec.internal.receivers.victoropsConfigs.apiKey
The secret’s key that contains the API key to use when talking to the VictorOps API.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.victoropsConfigs.apiKey.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.apiKey.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.apiKey.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.apiUrl
The VictorOps API URL.
- spec.internal.receivers.victoropsConfigs.customFields
Additional custom fields for notification.
KeyValue defines a (key, value) tuple.
- spec.internal.receivers.victoropsConfigs.customFields.key
Required value
Key of the tuple.
- spec.internal.receivers.victoropsConfigs.customFields.value
Required value
Value of the tuple.
- spec.internal.receivers.victoropsConfigs.entityDisplayName
Contains summary of the alerted problem.
- spec.internal.receivers.victoropsConfigs.httpConfig
The HTTP client’s configuration.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.victoropsConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.victoropsConfigs.messageType
Describes the behavior of the alert (CRITICAL, WARNING, INFO).
- spec.internal.receivers.victoropsConfigs.monitoringTool
The monitoring tool the state message is from.
- spec.internal.receivers.victoropsConfigs.routingKey
A key used to map the alert to a team.
- spec.internal.receivers.victoropsConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.victoropsConfigs.stateMessage
Contains long explanation of the alerted problem.
- spec.internal.receivers.webhookConfigs
List of webhook configurations.
WebhookConfig configures notifications via a generic receiver supporting the webhook payload. Details…
- spec.internal.receivers.webhookConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.webhookConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.webhookConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.webhookConfigs.maxAlerts
Maximum number of alerts to be sent per webhook message.
When 0, all alerts are included.
Allowed values:
0 <= X
- spec.internal.receivers.webhookConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.webhookConfigs.url
The URL to send HTTP POST requests to.
urlSecret
takes precedence overurl
.One of
urlSecret
andurl
should be defined. - spec.internal.receivers.webhookConfigs.urlSecret
The secret’s key that contains the webhook URL to send HTTP requests to.
urlSecret
takes precedence overurl
. One ofurlSecret
andurl
should be defined.The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.webhookConfigs.urlSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.webhookConfigs.urlSecret.name
Name of the secret.
- spec.internal.receivers.webhookConfigs.urlSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs
List of WeChat configurations.
WeChatConfig configures notifications via WeChat. Details…
- spec.internal.receivers.wechatConfigs.agentID
- spec.internal.receivers.wechatConfigs.apiSecret
The secret’s key that contains the WeChat API key.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.wechatConfigs.apiSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.apiSecret.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.apiSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.apiURL
The WeChat API URL.
- spec.internal.receivers.wechatConfigs.corpID
The corp id for authentication.
- spec.internal.receivers.wechatConfigs.httpConfig
HTTP client configuration.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth
BasicAuth for the client.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.password
The secret in the
d8-monitoring
namespace that contains the password for authentication.- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.password.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.password.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.password.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.username
The secret in the
d8-monitoring
namespace that contains the username for authentication.- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.username.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.username.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.basicAuth.username.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.bearerTokenSecret
The secret’s key that contains the bearer token to be used by the client for authentication.
The secret needs to be in the
d8-monitoring
namespace.- spec.internal.receivers.wechatConfigs.httpConfig.bearerTokenSecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.bearerTokenSecret.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.bearerTokenSecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.proxyURL
Optional proxy URL.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig
TLS configuration.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca
Struct containing the CA cert to use for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.key
Required value
The key to select.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret
Secret containing data to use for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.ca.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert
Struct containing the client cert file for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap
ConfigMap containing data to use for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.key
Required value
The key to select.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.name
Name of the ConfigMap.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.configMap.optional
Specify whether the ConfigMap or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret
Secret containing data to use for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.cert.secret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.insecureSkipVerify
Disable target certificate validation.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret
Secret containing the client key file for the targets.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.key
Required value
The key of the secret to select from.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.name
Name of the secret.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.keySecret.optional
Specify whether the Secret or its key must exist.
- spec.internal.receivers.wechatConfigs.httpConfig.tlsConfig.serverName
Used to verify the hostname for the targets.
- spec.internal.receivers.wechatConfigs.message
API request data as defined by the WeChat API.
- spec.internal.receivers.wechatConfigs.messageType
- spec.internal.receivers.wechatConfigs.sendResolved
Whether or not to notify about resolved alerts.
- spec.internal.receivers.wechatConfigs.toParty
- spec.internal.receivers.wechatConfigs.toTag
- spec.internal.receivers.wechatConfigs.toUser
- spec.internal.route
The Alertmanager route definition for alerts matching the resource’s namespace. If present, it will be added to the generated Alertmanager configuration as a first-level route.
- spec.internal.route.continue
Whether an alert should continue matching subsequent sibling nodes.
It will always be overridden to true for the first-level route by the Prometheus operator.
- spec.internal.route.groupBy
List of labels to group by.
- spec.internal.route.groupInterval
How long to wait before sending an updated notification.
Must match the regular expression
[0-9]+(ms|s|m|h)
(milliseconds, seconds, minutes, hours). - spec.internal.route.groupWait
How long to wait before sending the initial notification.
Must match the regular expression
[0-9]+(ms|s|m|h)
(milliseconds, seconds, minutes, hours). - spec.internal.route.matchers
List of matchers that the alert’s labels should match.
For the first level route, the operator removes any existing equality and regexp matcher on the
namespace
label and adds anamespace: <object namespace>
matcher.Matcher defines how to match on alert’s labels.
- spec.internal.route.matchers.name
Required value
Label to match.
- spec.internal.route.matchers.regex
Whether to match on equality (false) or regular-expression (true).
- spec.internal.route.matchers.value
Label value to match.
- spec.internal.route.receiver
Name of the receiver for this route.
If not empty, it should be listed in the
receivers
field. - spec.internal.route.repeatInterval
How long to wait before repeating the last notification.
Must match the regular expression
[0-9]+(ms|s|m|h)
(milliseconds, seconds, minutes, hours). - spec.internal.route.routes
Child routes.
- spec.type
Type of the Alertmanager.
Allowed values:
External
,Internal
CustomPrometheusRules
Scope: Cluster
Resource to store PrometheusRule
. Details….
- spec
Required value
- spec.groups
Required value
Alert group description.
The structure of the groups is similar to that of prometheus-operator.
RuleGroup is a list of sequentially evaluated recording and alerting rules.
- spec.groups.interval
- spec.groups.name
Required value
- spec.groups.rules
Required value
- spec.groups.rules.alert
- spec.groups.rules.annotations
- spec.groups.rules.expr
Required value
- spec.groups.rules.for
- spec.groups.rules.labels
- spec.groups.rules.record
Resource to store PrometheusRule
. Details….
- spec
Required value
- spec.groups
Required value
Alert group description.
The structure of the groups is similar to that of prometheus-operator.
RuleGroup is a list of sequentially evaluated recording and alerting rules.
- spec.groups.interval
- spec.groups.name
Required value
- spec.groups.rules
Required value
- spec.groups.rules.alert
- spec.groups.rules.annotations
- spec.groups.rules.expr
Required value
- spec.groups.rules.for
- spec.groups.rules.labels
- spec.groups.rules.record
GrafanaAdditionalDatasource
Scope: Cluster
The resource for connecting additional datasources to Grafana.
The resource parameters are described in details in the Grafana documentation.
- spec
Required value
- spec.access
Required value
Access mode.
Allowed values:
Proxy
,Direct
- spec.basicAuth
Enable/disable basic auth.
- spec.basicAuthUser
Basic auth username.
- spec.database
Database name (if used).
- spec.jsonData
Fields to be converted to JSON and stored in jsonData.
- spec.secureJsonData
JSON-data object to be saved encrypted.
- spec.type
Required value
Datasource type.
- spec.url
Datasource URL.
Example:
url: http://localhost:8080
- spec.user
Database username.
The resource for connecting additional datasources to Grafana.
The resource parameters are described in details in the Grafana documentation.
- spec
Required value
- spec.access
Required value
Access mode.
Allowed values:
proxy
,direct
- spec.basicAuth
Enable/disable basic auth.
- spec.basicAuthUser
Basic auth username.
- spec.database
Database name (if used).
- spec.jsonData
Fields to be converted to JSON and stored in jsonData.
- spec.secureJsonData
JSON-data object to be saved encrypted.
- spec.type
Required value
Datasource type.
- spec.url
Datasource URL.
Example:
url: http://localhost:8080
- spec.user
Database username.
GrafanaAlertsChannel
Scope: Cluster
Version: v1alpha1
The resource for adding alert notification channels to Grafana.
- spec
Required value
- spec.alertManager
Required value
Alert manager settings.
- spec.alertManager.address
Required value
URL of an external Alertmanager.
Pattern:
^https?://[^\s/$.?#].[^\s]*$
Examples:
address: http://alerts.mycompany.com
address: https://alerts.company.com
address: http://192.168.1.1
- spec.alertManager.auth
Authorization properties.
- spec.alertManager.auth.basic
Required value
Basic authorization properties.
- spec.alertManager.auth.basic.password
Required value
Password.
- spec.alertManager.auth.basic.username
Required value
User name.
- spec.description
Small and optional description about this alerts channel.
Default:
""
- spec.disableResolveMessage
When true, this option disables the resolve message [OK] that is sent when the alerting state returns to false.
Default:
false
- spec.isDefault
Use this notification channel for all alerts.
Default:
false
- spec.type
Required value
Allowed values:
PrometheusAlertManager
GrafanaDashboardDefinition
Scope: Cluster
The resource for storing and managing Grafana dashboards.
- spec
Required value
- spec.definition
Required value
The dashboard’s JSON manifest.
Caution! Make sure that there is no “local”
id
(at the.id
address) in the manifest in addition to theuid
.Pattern:
^[ \t\n]*\{(.|\n)*\}[ \t\n]*$
- spec.folder
Required value
What folder to use for a dashboard. If the folder does not exist, it will be created.
Example:
folder: My Folder
The resource for storing and managing Grafana dashboards.
- spec
Required value
- spec.definition
Required value
The dashboard’s JSON manifest.
Caution! Make sure that there is no “local”
id
(at the.id
address) in the manifest in addition to theuid
.Pattern:
^[ \t\n]*\{(.|\n)*\}[ \t\n]*$
- spec.folder
Required value
What folder to use for a dashboard. If the folder does not exist, it will be created.
Example:
folder: My Folder
PrometheusRemoteWrite
Scope: Cluster
Resource for including ‘remote_write’ data from the local Prometheus into a separate longterm storage (E.g: VictoriaMetrics).
A cluster can have any number of such resources.
- spec
Required value
- spec.basicAuth
BasicAuth for the URL.
- spec.basicAuth.password
Required value
Password for the authentication.
- spec.basicAuth.username
Required value
Username for the authentication.
- spec.bearerToken
Bearer token.
- spec.customAuthToken
Custom token sent as a value of the X-Auth-Token header.
- spec.tlsConfig
TLS Config to use for remote write.
- spec.tlsConfig.ca
The CA certificate used when verifying the API server certificate.
Default:
""
- spec.tlsConfig.insecureSkipVerify
Disable target certificate validation.
Default:
false
- spec.url
Required value
The URL of the endpoint to send samples to.
Example:
url: https://victoriametrics-test.domain.com/api/v1/write
- spec.writeRelabelConfigs
The list of remote write relabel configurations.
For example, if you need to remove unnecessary metrics or perform data relabeling.
- spec.writeRelabelConfigs.action
Action to perform based on regex matching.
Default:
"replace"
- spec.writeRelabelConfigs.modulus
Modulus to take of the hash of the source label values.
- spec.writeRelabelConfigs.regex
Regular expression against which the extracted value is matched. Default is ‘(.*)’
Default:
"(.*)"
- spec.writeRelabelConfigs.replacement
Replacement value against which a regex replace is performed if the regular expression matches.
Regex capture groups are available.
Default:
"$1"
- spec.writeRelabelConfigs.separator
Separator placed between concatenated source label values.
Default:
";"
- spec.writeRelabelConfigs.sourceLabels
The source labels select values from existing labels.
Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
- spec.writeRelabelConfigs.targetLabel
Label to which the resulting value is written in a replace action. It is mandatory for replace actions.
Regex capture groups are available.
Resource for including ‘remote_write’ data from the local Prometheus into a separate longterm storage (E.g: VictoriaMetrics).
A cluster can have any number of such resources.
- spec
Required value
- spec.basicAuth
BasicAuth for the URL.
- spec.basicAuth.password
Required value
Password for the authentication.
- spec.basicAuth.username
Required value
Username for the authentication.
- spec.bearerToken
Bearer token.
- spec.customAuthToken
Custom token sent as a value of the X-Auth-Token header.
- spec.tlsConfig
TLS Config to use for remote write.
- spec.tlsConfig.ca
The CA certificate used when verifying the API server certificate.
Default:
""
- spec.tlsConfig.insecureSkipVerify
Disable target certificate validation.
Default:
false
- spec.url
Required value
The URL of the endpoint to send samples to.
Example:
url: https://victoriametrics-test.domain.com/api/v1/write
- spec.writeRelabelConfigs
The list of remote write relabel configurations.
For example, if you need to remove unnecessary metrics or perform data relabeling.
- spec.writeRelabelConfigs.action
Action to perform based on regex matching.
Default:
"replace"
- spec.writeRelabelConfigs.modulus
Modulus to take of the hash of the source label values.
- spec.writeRelabelConfigs.regex
Regular expression against which the extracted value is matched. Default is ‘(.*)’
Default:
"(.*)"
- spec.writeRelabelConfigs.replacement
Replacement value against which a regex replace is performed if the regular expression matches.
Regex capture groups are available.
Default:
"$1"
- spec.writeRelabelConfigs.separator
Separator placed between concatenated source label values.
Default:
";"
- spec.writeRelabelConfigs.sourceLabels
The source labels select values from existing labels.
Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
- spec.writeRelabelConfigs.targetLabel
Label to which the resulting value is written in a replace action. It is mandatory for replace actions.
Regex capture groups are available.