Groups
Groups
Sign in
Groups
Groups
Prometheus Users
Conversations
About
Send feedback
Help
Trouble with sum() and by(). Need to sum decimal in tag, and then show
63 views
Skip to first unread message
Yevhenii Hrabovskyi
unread,
Feb 15, 2023, 12:54:48 PM
2/15/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
I have
metric
:
test_metric_name{app="test",product="asap_r", service="traas", team="billing", value="0.0"}
.
And
query
:
sum(rate( test_metric_name [$__rate_interval]) * $__interval_ms) by (value)
.
I need to
calculate sum
of tag `
value
` in interval, and show it in grafana dashboard, but got a lot of duplicated legend with name `value`.
iI i try to rename it in options(set custom legend name) - there is same duplicate legend but with same name
Reply all
Reply to author
Forward
0 new messages