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

[openstack] Send external host tags to Agent6 #1126

Merged
merged 2 commits into from
Feb 16, 2018
Merged

Conversation

masci
Copy link
Contributor

@masci masci commented Feb 16, 2018

What does this PR do?

Call set_external_tags when the check runs in Agent >= v6.0

Motivation

Check was only partially working in Agent >= v6.0

Versioning

  • Bumped the check version in manifest.json
  • Bumped the check version in datadog_checks/{integration}/__init__.py
  • Updated CHANGELOG.md. Please use Unreleased as the date in the title
    for the new section.
  • If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes

Anything else we should know when reviewing?

# Agent >= 6.0: the check pushes tags invoking `set_external_tags`
from datadog_agent import set_external_tags
except ImportError:
# Agent < 6.0: the Agent pulls tags invoking `VSphereCheck.get_external_host_tags`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

s/VSphereCheck/OpenStackCheck/

truthbk
truthbk previously approved these changes Feb 16, 2018
Copy link
Member

@truthbk truthbk left a comment

Choose a reason for hiding this comment

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

Looks good, just that typo in the comment! 👍

@masci masci merged commit f053ae1 into master Feb 16, 2018
@masci masci deleted the massi/openstack-A6 branch February 16, 2018 15:56
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