You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prometheus extension is reporting the dataSource wrapped in underscores in some metrics, while as in in others it's reported as is.
Affected Version
I noticed this in Druid 31, it must have been introduced as a regression earlier, as this used to work.
Description
I am using prometheus extension to source the following grafana alert:
max_over_time(druid_ingest_kafka_lag{dataSource!~".*test.*"}[3m]) / on (dataSource) sum(rate(druid_ingest_events_processed_total{dataSource!~".*test.*"}[3m])) by (dataSource) > 60*15
In words: Alert if the ingestion lag is more than 15min based on the reported consumption speed. Like I said, this used to work just fine.
However:
druid_ingest_events_processed_total now reports dataSource with underscores, i.e. "_foo_" instead of "foo", while druid_ingest_kafka_lag still reports the dataSource as "foo". Thus they don't match anymore and my alert when silent.
Expected behavior
All prometheus metrics should report the dataSource as is and not wrap them in underscores. And if that's a feature, at least be consistent.
The text was updated successfully, but these errors were encountered:
The prometheus extension is reporting the dataSource wrapped in underscores in some metrics, while as in in others it's reported as is.
Affected Version
I noticed this in Druid 31, it must have been introduced as a regression earlier, as this used to work.
Description
I am using prometheus extension to source the following grafana alert:
In words: Alert if the ingestion lag is more than 15min based on the reported consumption speed. Like I said, this used to work just fine.
However:
druid_ingest_events_processed_total
now reports dataSource with underscores, i.e."_foo_"
instead of"foo"
, whiledruid_ingest_kafka_lag
still reports the dataSource as"foo"
. Thus they don't match anymore and my alert when silent.Expected behavior
All prometheus metrics should report the dataSource as is and not wrap them in underscores. And if that's a feature, at least be consistent.
The text was updated successfully, but these errors were encountered: