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 new counter for the listen_disabled_num memcached metric #36

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

elukey
Copy link
Contributor

@elukey elukey commented Oct 7, 2018

PR: #33
Signed-off-by: Luca Toscano ltoscano@wikimedia.org

PR: prometheus#33
Signed-off-by: Luca Toscano <ltoscano@wikimedia.org>
Copy link
Member

@grobie grobie left a comment

Choose a reason for hiding this comment

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

Great! Thanks for your contribution.

I'm not 100% happy with the metric name, but couldn't really come up with a better one either. Let's go with it.

Though, we should also export accepting_conns, probably as memcached_connections_accepting gauge. Otherwise it's not entirely possible to understand whether a server is currently accepting connections or not.

@elukey
Copy link
Contributor Author

elukey commented Oct 8, 2018

I wasn't happy with the name either but didn't find anything better :(

Wouldn't it be better to add the metric only if #37 gets implemented? Otherwise it is not worth it in my opinion, since once memcached stops accepting connections then the prometheus exporter will not be able to connect and retrieve metrics.

@grobie
Copy link
Member

grobie commented Oct 8, 2018

Fair point. Thanks again.

@grobie grobie merged commit 1387f5a into prometheus:master Oct 8, 2018
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