-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[etcd] adding /health to etcd check #917
Conversation
…dpoint of the etcd instance) Signed-off-by: Massimiliano Pippi <[email protected]>
Signed-off-by: Massimiliano Pippi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment, other than that LGTM!
etcd/check.py
Outdated
else: | ||
self.log.debug("Missing 'health' key in stats, can't determine health status.") | ||
|
||
self.service_check(self.HEALTH_SERVICE_CHECK_NAME, state, tags=instance_tags+["url:{0}".format(url)]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't the url:
tag already in the instance_tags
list (see code 10 lines above)
e65aa72
to
6e518b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
What does this PR do?
See DataDog/dd-agent#2678
Versioning
manifest.json
CHANGELOG.md
. Please useUnreleased
as the date in the titlefor the new section.