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
tried to find out if this was somewhere discused or I'am doing something wrong. Is there any reason why can we reuse metric name?
Getting error: Invalid metric configuration: metric '<metricName>' defined twice
This should not be a problem, if labels differ like event or message, becase you can't have 2 metric with same labels in output, that would be a problem.
In our use case we have multiple patterns on few log files and now we have to have for each pattern diffrent metric which mean we have to have diffrent alert for each pattern a list go on. While if we could reuse metric name, but differ by labels we could have few alerts and adding new pattern to grok, will be much easier.
The text was updated successfully, but these errors were encountered:
Hi,
tried to find out if this was somewhere discused or I'am doing something wrong. Is there any reason why can we reuse metric name?
Getting error:
Invalid metric configuration: metric '<metricName>' defined twice
This should not be a problem, if labels differ like event or message, becase you can't have 2 metric with same labels in output, that would be a problem.
In our use case we have multiple patterns on few log files and now we have to have for each pattern diffrent metric which mean we have to have diffrent alert for each pattern a list go on. While if we could reuse metric name, but differ by labels we could have few alerts and adding new pattern to grok, will be much easier.
The text was updated successfully, but these errors were encountered: