-
Notifications
You must be signed in to change notification settings - Fork 814
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
[checks] Service checks should include user-configured tags #1482
Comments
riak service check also ignores tags; would be nice if it didn't. Not sure if that can be part of this issue or if it needs to be a separate one. |
Thanks @VynceMontgomery! I've updated this ticket to include riak. |
There's a current limitation in the backend on adding custom tags due to the grammar we use for service-check based monitors. Because we have implicit grouping versus explicit we will always pick the lowest granularity of grouping and alert per that group. For example, if you submit with with {host:val,port:val2,db:val3} tags, then we'll auto group results with {host,port,db}. So this means if you add custom tags with the The grammar allows for explicit grouping but up until now you did not define grouping unless you were using a multi-alert. We're working on changing this by either (a) adding explicit grouping when you create monitors in the UI (we'll migrate existing), (b) having the alerting engine have a "known" list of groupings for non-custom checks and custom checks will have explicit grouping. All in all, the goal is to get this working with HTTP and TCP checks first because that seems to be the most often requested case. Ideally we'll come up with a general way that can apply to every check. |
As a user I can tell you that I have no idea what that last comment means. |
@VynceMontgomery In short, we can't support custom tags right now due to a limitation on the backend and not in the Agent itself. We're starting work to remove this limitation and once that's changed, we'll be able to send custom tags in the Agent without trouble. |
@wang-arthur @LeoCavaille @remh Necessary changes have been made to the alerting engine so that we can support custom tags from our Agent checks. Ping me if you need more info. |
Partially done for a few checks: HTTP, TCP checks (see #1642). |
Last one Riak. |
Fix DataDog#1482 Revert DataDog#1527 (backend wasn't able to deal with custom service checks tags at that time)
The HTTP, TCP, and riak service checks should include user-configured tags.
Currently, the tags for these service checks are not configurable:
https://github.com/DataDog/dd-agent/blob/master/checks.d/http_check.py#L255
https://github.com/DataDog/dd-agent/blob/master/checks.d/tcp_check.py#L166-L167
https://github.com/DataDog/dd-agent/blob/master/checks.d/riak.py#L63
The text was updated successfully, but these errors were encountered: