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

Feature Request: Support for Tag Boolean Operators and Host Tag Inheritance #1890

Open
LinekerCalseverini opened this issue Oct 1, 2024 · 0 comments

Comments

@LinekerCalseverini
Copy link

LinekerCalseverini commented Oct 1, 2024

I wanted to work better with tags instead of using groups or the host's names to select group/host specific items.

Some other observability solutions support boolean operators for Tags. For example, if I want an specific item that has both the "env: prod" and the "component: cpu" tags, I would use "component:cpu AND env:prod" on the Tags field in the Query.

Another thing is item inheriting the host's tags, so that I can use these Tag Boolean operators even if the tags are associated to the host.
I know that, through the API (which the datasource uses), we can get the hosts, and then the items associated with them, so I think it would be pretty great that when doing a host.get, it enables the selectTags flag, and all the tags that are associated with the host are then pushed to the tags array for each of the host's items.

Working with tags also saves us the time of creating a group for each possible combination of metadata the host can have (for example the host's environment, project name, service associated with it, team associated with it, etc). And since the items are also inheriting the host's tags, it also inherits this type of metadata.

Example:
Image

Example with Wildcard operator + Boolean:
Image

@LinekerCalseverini LinekerCalseverini changed the title Support for Tag Boolean Operators and Host Tag Inheritance Feature Request: Support for Tag Boolean Operators and Host Tag Inheritance Oct 1, 2024
@gwdawson gwdawson moved this to Backlog in OSS Big Tent Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants