RedisTimeSeries / prometheus-redistimeseries-adapter

Prometheus remote storage adapter for RedisTimeSeries
https://redistimeseries.io
BSD 3-Clause "New" or "Revised" License
33 stars 11 forks source link

Couldn't parse LABELS #123

Closed Sceat closed 3 months ago

Sceat commented 3 months ago

Using this adapter and prometheus in a kubernetes deployment, I get

│ time="2024-07-11T14:27:04Z" level=warning msg="Could not send samples to remote storage" err="ERR TSDB: Couldn't parse LABELS" num_samples=500 storage=RedisTS                             │

Which would indicate prometheus or the adapter is trying to submit wrong labels (maybe including commas?)

Sceat commented 3 months ago

using this fixed it

      metric_relabel_configs:
        - source_labels: [__name__, job, instance]
          regex: '(.*)'
          replacement: '${1//,/ }'
          target_label: instance