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

[service-checks] JMX Serv. checks sent to dd-agent #54

Merged
merged 2 commits into from
May 13, 2015

Conversation

elafarge
Copy link
Contributor

The agents gets, through a jmx_status.yaml file, the service checks
sent for each checks. This value is the one displayed when running
datadog-agent info.

@elafarge elafarge force-pushed the etienne/service-check-count-fix branch from fb57a74 to d18d888 Compare April 24, 2015 21:57
@remh remh assigned yannmh and unassigned remh May 12, 2015
@yannmh
Copy link
Member

yannmh commented May 12, 2015

Thanks for taking care of it @elafarge !

Quite nitpicky: can we count service checks from App class instead of Reporter like we are already doing for metrics ? It would avoid breaking the 'code symmetry, and makes the code lighter.
For instance, we could add a serviceChecksCount parameter to addInstanceStats (which seems to be always equals to 1).
https://github.com/DataDog/jmxfetch/blob/etienne/service-check-count-fix/src/main/java/org/datadog/jmxfetch/App.java#L293

The agents gets, through a jmx_status.yaml file, the service checks
sent for each checks. This value is the one displayed when running
datadog-agent info.

A test has also been added to the counter
@elafarge elafarge force-pushed the etienne/service-check-count-fix branch from d18d888 to 74d67f9 Compare May 13, 2015 18:55
Made the code more compliant with DRY good practices. In addition to
that it will help to make a cleaner fix for the activemq_58 issue.
@elafarge
Copy link
Contributor Author

Should be ready to merge. This being said, this branch is included in #56. Merging the latter would therefore put the two commits from this branch into master without having to merge it :)

@yannmh
Copy link
Member

yannmh commented May 13, 2015

Merging 👯

yannmh added a commit that referenced this pull request May 13, 2015
[service-checks] JMX Serv. checks sent to dd-agent
@yannmh yannmh merged commit b3ae7c3 into master May 13, 2015
@elafarge elafarge deleted the etienne/service-check-count-fix branch May 13, 2015 21:39
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