Skip to content

new constant tags for statsd client#68

Merged
yannmh merged 2 commits intoDataDog:masterfrom
johnistan:jdennison/client-level-tags
Jul 23, 2015
Merged

new constant tags for statsd client#68
yannmh merged 2 commits intoDataDog:masterfrom
johnistan:jdennison/client-level-tags

Conversation

@johnistan
Copy link
Copy Markdown
Contributor

I have added a optional param (constant_tags) to the Dogstatsd client to append tags to every metrics call.

Useful for setting project wide tags like version.

@johnistan
Copy link
Copy Markdown
Contributor Author

hmm that py26 failure is not happening locally. looks like a set comprehension in mock. anyone else seen this?

@yannmh yannmh self-assigned this Jul 15, 2015
@yannmh
Copy link
Copy Markdown

yannmh commented Jul 15, 2015

Thanks a lot @jofusa, it looks great. We'll review your PR really soon.

Python 2.6 failure seems related with testing-cabal/mock#259. I'll make the necessary to fix it.

@remh remh changed the title new contant tags for statsd client new constant tags for statsd client Jul 15, 2015
@yannmh
Copy link
Copy Markdown

yannmh commented Jul 15, 2015

#69 should fix Python 2.6 failure. Would you mind rebasing your PR on top of master please ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't think this test will pass, as not part of TestDogStatsdConstantTags class.

@johnistan
Copy link
Copy Markdown
Contributor Author

sounds great. will update tests

@johnistan johnistan force-pushed the jdennison/client-level-tags branch from 353bc38 to cb78472 Compare July 22, 2015 15:59
@johnistan
Copy link
Copy Markdown
Contributor Author

rebased off master

@yannmh
Copy link
Copy Markdown

yannmh commented Jul 23, 2015

Thanks @jofusa ! It looks good to me.

Let's merge it so it'll be part of the next release, v0.8.0, planned for next week.

yannmh pushed a commit that referenced this pull request Jul 23, 2015
new constant tags for statsd client
@yannmh yannmh merged commit 25088df into DataDog:master Jul 23, 2015
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.

2 participants