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
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
status map is well suited to our requirement. kudos to the Devs.
Coming to the question, need to add a dynamic link which is unique to each bucket. I have formed the url and pushed it as label to prometheus. Now I didn't see any option to set the label variable in tooltip.
prometheus query used in grafana to plot the failed or passed status: outcome{feature=~"$feature"}
As a work around used added the url vairable to the legend with delimiter '+' like this {{y-axis}}+{{url}}
Using the Y-axis split query alias. Splitting it with Delimiter '+'
setting the label template to ${__y_label_0}
In tooltip setting the url as ${__y_label_1}
As a result I got my plots with url in tooltip but the latest url is being shown for all the plots though the url is different to each of the bucket. I inspected the data which is looking good with different urls.
Please sugget a way I can add a tool tip url that is unique to each bucket from labels.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
status map is well suited to our requirement. kudos to the Devs.
Coming to the question, need to add a dynamic link which is unique to each bucket. I have formed the url and pushed it as label to prometheus. Now I didn't see any option to set the label variable in tooltip.
prometheus query used in grafana to plot the failed or passed status: outcome{feature=~"$feature"}
As a work around used added the url vairable to the legend with delimiter '+' like this {{y-axis}}+{{url}}
Using the Y-axis split query alias. Splitting it with Delimiter '+'
setting the label template to ${__y_label_0}
In tooltip setting the url as ${__y_label_1}
As a result I got my plots with url in tooltip but the latest url is being shown for all the plots though the url is different to each of the bucket. I inspected the data which is looking good with different urls.
Please sugget a way I can add a tool tip url that is unique to each bucket from labels.
Beta Was this translation helpful? Give feedback.
All reactions