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 memcached module with stats metricset #3693

Merged
merged 2 commits into from
Mar 23, 2017
Merged

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Feb 28, 2017

A new module "memcached" was added which gathers metrics from https://memcached.org/. The stats command is used in the stats metricset to gather all infos about the service.

@ruflin ruflin force-pushed the memcached-module branch 5 times, most recently from 46100ac to 93b13d3 Compare March 1, 2017 14:54
@ruflin
Copy link
Member Author

ruflin commented Mar 3, 2017

jenkins, retest it

@ruflin
Copy link
Member Author

ruflin commented Mar 3, 2017

jenkins, retest it

@@ -98,6 +98,7 @@ https://github.com/elastic/beats/compare/v5.1.1...master[Check the HEAD diff]
- The Docker, Kafka, and Prometheus modules are now Beta, instead of experimental. {pull}3525[3525]
- The HAProxy module is now GA, instead of experimental. {pull}3525[3525]
- Add the ability to collect the environment variables from system processes. {pull}3337[3337]
- Add memcached module with stats metricset.
Copy link
Contributor

Choose a reason for hiding this comment

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

Link to PR please :)

Copy link
Member Author

Choose a reason for hiding this comment

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

added



[float]
=== memcached.stats.uptime
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this seconds? Should we have it as uptime.secs then?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, changed it to uptime.sec.


func New(base mb.BaseMetricSet) (mb.MetricSet, error) {

logp.Warn("BETA: The docker container metricset is beta")
Copy link
Contributor

Choose a reason for hiding this comment

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

s/docker/memcached

@tsg tsg merged commit 06d6cf1 into elastic:master Mar 23, 2017
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.

2 participants