-
Notifications
You must be signed in to change notification settings - Fork 788
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
Tag Filtering #14
Comments
Thank you for idea and example. Tag filtering will be useful definitely. Let me investigate and test it. |
There will be visualization problem with I would like to have 1st variable (query) which will return all tags keys and then 2nd variable (query), which will return tags values based on selected tag key (1st variable). Is it possible? Probably we need to wait for grafana/grafana#8307 |
Cool, for my use case only one Tag exists but yes I am sure others would need to filter on multple. |
@prsf1233 Check out my comment on that PR: grafana/grafana#8307 (comment) This is how I handle the 'friendly name' issue internally. |
https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/blob/ec2-tag-filtering/aws-ec2/aws-ec2-tag-filtering.json - EC2 dashboard with tag name filtering for Grafana 4.5.beta1+. Feel free to improve this dashboard. |
hi @jangaraj, i wanted to submit a branch and pr for this issue, but i obviously get a 403. how can i do this? |
Hi @pax-awitt, that's correct. You can push the code only to the repos, where you have write permission. Please fork this repo first and then create the pull request based on your forked and modified repo. Github help can be the useful doc for you. |
What about something like that: |
@tomislater That's filtering is by one tag key (Name). It's OK for simple tagging. But it can be more complicated. For example, if you have blue/green deployment. Then the Name tag value is not unique and you need to filter by additional key (Colour) as well. The best general solution for the dashboard is to have ad-hoc filters similar to Elasticsearch ad-hoc filters: |
Grafana 5 EC2 dashboard with name tag filtering b925924: If EC2 instances don't have a Name tags, then |
It looks like a IAM problem in your case. Do you have: "ec2:DescribeTags", "ec2:DescribeInstances" |
Hi Jan, as discussed I would like to implement tag filtering on the AWS-EC2 dashboard. My end users do not know the InstanceId of their environment but I do tag each instance with a friendly name. I would like to be able to use the Name Tag for selecting the graphs rather than the InstanceId but so far have not been able to make it work. I can see the Tags but not been able to get the correct syntax.
Any suggestion on whether this is possible?
The text was updated successfully, but these errors were encountered: