MAL CounterWindow may should use metric name
as ID name instead of Sample name
.
#11522
Replies: 3 comments 2 replies
-
The If those are the same, they are the same original metrics, we don't need to cache them in the windows duplicated. |
Beta Was this translation helpful? Give feedback.
-
Yes , metric should share countwindow cache if the has same id name and label. But in my case, If they share the same cache, It will cause They share the same cache due to the same ID key:
I think they need three independent ID key:
|
Beta Was this translation helpful? Give feedback.
-
Update, codes are on #11526. Have been merged. |
Beta Was this translation helpful? Give feedback.
-
I have three mal rules, they all use sample
nginx_http_requests_total
to analyse metrics:MAL use
CounterWindow
which record history smaple value to calculate rate, but the above three mal rules share the same metric name as ID key, it will cause their history value effect each other.In order to isolate metrics history smaple value, I think metric name is better for
CounterWindow
ID name:Beta Was this translation helpful? Give feedback.
All reactions