Skip to content
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

cmd/bosun: clear filters when changing metrics in graph view #1685

Merged
merged 1 commit into from
Mar 30, 2016

Conversation

kylebrandt
Copy link
Member

Fixes #1679, Creates #??

@kylebrandt
Copy link
Member Author

Need to test this more before merging. This code is really messy at this point. There is probably repeated operations on tags and filters that don't need to be there. Once OpenTSDB is at v2.3 we can remove support for v2.1 and at that time I think it will be easier to redo this code.

@kylebrandt
Copy link
Member Author

There is still an edge case here where if you switch metrics, the two metrics share a tag key, but the value set for that tag is not present in the new metric it will still be there.

However, in that case this isn't hidden and you can just change the value, so I don't care to fix this at this point.

@kylebrandt kylebrandt merged commit 5b6a513 into master Mar 30, 2016
@kylebrandt kylebrandt deleted the fixGraph branch April 8, 2016 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant