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

[network] normalize instance_name tags #1811

Merged
merged 2 commits into from
Aug 10, 2015
Merged

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Aug 3, 2015

Context

Instance name used to be a part of the check name and hence normalized
on the agent before being sent to Datadog.
As part of changes #1642 which introduced support for custom tags,
instance_name is now sent as a proper tag.

Changes

Normalize it, to avoid mismatch and backward incompatiblity. Fix #1796.
Add tests for instance_name tag normalization.
Move core/test_service_checks.py tests to checks/integration/test_http_check.py and checks/integration/test_tcp_check.py.

@yannmh yannmh added the bugfix label Aug 3, 2015
@yannmh yannmh self-assigned this Aug 3, 2015
@yannmh yannmh added this to the 5.5.0 milestone Aug 3, 2015
@remh
Copy link
Contributor

remh commented Aug 4, 2015

Nice, can you add a test for that please ?

@yannmh yannmh force-pushed the yann/network-instance-tag-mismatch branch from adaeac6 to 73aeaf9 Compare August 4, 2015 23:13
@yannmh
Copy link
Member Author

yannmh commented Aug 4, 2015

Done

Instance name used to be a part of the check name and hence normalized
on the agent before being sent to Datadog.
As part of changes #1642 which introduced support for custom tags,
'instance_name' is now sent as a proper tag. Normalize it, to avoid mismatch and
backward incompatiblity.

Fix #1796.
Add tests for `instance_name` tag normalization.
Move and rewrite core/test_service_checks.py' tests to
'checks/integration/test_http_check.py' and
'checks/integration/test_tcp_check.py'.
@yannmh yannmh force-pushed the yann/network-instance-tag-mismatch branch from 73aeaf9 to 0fc675a Compare August 6, 2015 14:30
@yannmh yannmh assigned remh and unassigned yannmh Aug 6, 2015
remh added a commit that referenced this pull request Aug 10, 2015
@remh remh merged commit 049bd3e into master Aug 10, 2015
@LeoCavaille LeoCavaille deleted the yann/network-instance-tag-mismatch branch August 11, 2015 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants