GoogleCloudPlatform / prometheus-engine

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

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

Closed TheSpiritXIII closed 3 months ago

TheSpiritXIII commented 3 months 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.