GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
191 stars 89 forks source link

feat: allow loading rule-evaluator export options from config #1104

Closed TheSpiritXIII closed 3 weeks ago

TheSpiritXIII commented 1 month ago

This is the rule-evaluator equivalent of https://github.com/GoogleCloudPlatform/prometheus/pull/180

The following are now settable in the rule-evaluator Prometheus config:

google_cloud:
  export:
    match: []string
    compression: string
    credentials: string

When both CLI arguments and configurations are present, the CLI arguments will be the default and the set configurations will override the CLI arguments.