-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Monitor group name to metric labels #3905
Comments
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
@mhkarimi1383 |
@CommanderStorm But we could make this feature configurable and disable it by default |
You are not making a lot of sense to me. |
We are making SLA dashboards with the help of Prometheus metrics, but we are not able to categorize things, because we are not having access to group or tags from there |
That is not what I asked. Our group monitors are hierarchical (a group can contain a group), while Prometheus (as far as I can tell only supports Key/value pairs. |
Its not about wrapping objects. Its about adding new information to the single line. - monitor_response_time{monitor_name="UPTIME REFERENCE GOOGLE.COM",monitor_type="http",monitor_url="https://google.com",monitor_hostname="null",monitor_port="null"} 200
+ monitor_response_time{monitor_name="UPTIME REFERENCE GOOGLE.COM",monitor_type="http",monitor_url="https://google.com",monitor_hostname="null",monitor_port="null",monitor_parent="**THIS_IS_THE_PARENT_NAME**"} 200 |
Its just a new kv pair inside the json object. |
What would you put under I think we are unclear about prerequesits.
|
Yap |
Only selectively answering questions is quite painfull.
|
Jup, Im aware of that. What about chaining these? Like GroupA/Group/B There is the opportunity to build complex selection strategy in Grafana. But for this the groups should be available |
Are there any news about it? I tried to implement the changes yesterday in my lunch, but failed. |
Thinking about it: |
🏷️ Feature Request Type
API, Other
🔖 Feature description
Hi
Making monitors group name available in metric labels will be great when creating dashboads in Grafana
✔️ Solution
Add a label named
group
in metrics❓ Alternatives
No response
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: