1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-14 00:06:30 +00:00
prometheus-operator/pkg/prometheus/testdata/RemoteWriteConfig_v2.53.0_MessageVersion2.golden
Simon Pasquier aa58fe3f4c
feat: add support for Remote Write v2.0
This change includes the following:
* New `messageVersion` field to the remote write configuration to select
  between v1 and v2 message formats.
* New `remoteWriteReceiverMessageVersions` to select which message
  format(s) to accept when the remote receiver is configured.
* Stricter validation for the remote write's URL (not breaking since an
  empty URL value would already fail the Prometheus configuration
  loading)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2024-10-23 10:51:21 +02:00

10 lines
223 B
Text
Generated

global:
evaluation_interval: 30s
scrape_interval: 30s
external_labels:
prometheus: default/test
prometheus_replica: $(POD_NAME)
scrape_configs: []
remote_write:
- url: http://example.com
remote_timeout: 30s