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

[etcd] adding /health to etcd check #917

Merged
merged 5 commits into from
Dec 4, 2017
Merged

[etcd] adding /health to etcd check #917

merged 5 commits into from
Dec 4, 2017

Conversation

masci
Copy link
Contributor

@masci masci commented Dec 4, 2017

What does this PR do?

See DataDog/dd-agent#2678

Versioning

  • Bumped the version check in manifest.json
  • Updated CHANGELOG.md. Please use Unreleased as the date in the title
    for the new section.

stensonb and others added 3 commits December 4, 2017 12:00
…dpoint of the etcd instance)

Signed-off-by: Massimiliano Pippi <[email protected]>
Signed-off-by: Massimiliano Pippi <[email protected]>
Copy link
Member

@olivielpeau olivielpeau left a 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)])
Copy link
Member

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)

@masci masci force-pushed the massi/etcd branch 3 times, most recently from e65aa72 to 6e518b4 Compare December 4, 2017 15:48
@masci masci added this to the 5.21 milestone Dec 4, 2017
Copy link
Member

@olivielpeau olivielpeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@masci masci merged commit c415926 into master Dec 4, 2017
@masci masci deleted the massi/etcd branch December 4, 2017 16:37
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.

3 participants