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

add docker.containers.{running|stopped}.total gauges #859

Merged
merged 3 commits into from Nov 10, 2017

Conversation

xvello
Copy link
Contributor

@xvello xvello commented Nov 9, 2017

What does this PR do?

Summing docker.containers.running on hosts with high container churn leads to false values, as we never send zeroes. These new gauges benefit from client-side aggregation to be more accurate.

Versioning

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

@xvello xvello added this to the 5.20 milestone Nov 9, 2017
@xvello xvello changed the title add docker.total-containers.running gauge add docker.total-containers.running/.stopped gauges Nov 9, 2017
@xvello xvello requested a review from a team November 9, 2017 14:28
Copy link
Member

@hkaj hkaj left a comment

Choose a reason for hiding this comment

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

docker.container.*.total ? Not a fan of dashes in metric names.

LGTM otherwise

@@ -6,6 +6,7 @@

* [IMPROVEMENT] Add custom tags to all service checks. See [#782][]
* [IMPROVEMENT] Add docker memory soft limit metric. See [#760][]
* [IMPROVEMENT] Add docker.total-containers.running & docker.total-containers.stopped metrics. See [#859][]
Copy link
Member

Choose a reason for hiding this comment

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

missed this one 🕵️

@xvello xvello changed the title add docker.total-containers.running/.stopped gauges add docker.containers.{running|stopped}.total gauges Nov 10, 2017
@xvello xvello merged commit 2e95ba0 into master Nov 10, 2017
@xvello xvello deleted the xvello/totalcontainergauge branch November 10, 2017 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants