NationalSecurityAgency / timely

Accumulo backed time series database
https://code.nsa.gov/timely/
Apache License 2.0
377 stars 108 forks source link

Grafana plug-in may not correctly label multiple metrics #194

Closed dtspence closed 4 years ago

dtspence commented 4 years ago

The problem occurs when a panel with two or more metric queries that use a wildcard tag value. There is a mis-match when attempting to align the metric values coming back from the datasource and the defined metrics. The code is looking for a * tag-value in order to make the alignment; but the value will have a .*. This causes the alignment to eventually default to the first metric definition.

The issue can be reproduced by: