8000 varnish plugin: Metrics with invalid data source type. #2462 by dmatetelki · Pull Request #2463 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

varnish plugin: Metrics with invalid data source type. #2462 #2463

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

Conversation

dmatetelki
Copy link
Contributor

No description provided.

@@ -852,19 +852,19 @@ static int varnish_monitor(void *priv,
return varnish_submit_derive(conf->instance, "mempool",
"total_operations", "frees", val);
else if (strcmp(name, "recycle") == 0)
return varnish_submit_derive(conf->instance, "mempool",
return varnish_submit_gauge(conf->instance, "mempool",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've also changed to "submit as gauge type" at the mempool section where the counters have type objects

5 changes

Copy link
Member
@octo octo left a comment

Choose a reason for hiding this comment

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

Thank you so much @dmatetelki!

@octo octo merged commit 61767b2 into collectd:master Oct 4, 2017
@dmatetelki dmatetelki deleted the varnish_plugin_fix_2462_metrics_with_invalid_data_source_type branch October 9, 2017 09:23
@dmatetelki
Copy link
Contributor Author

Thank you @octo for your careful reviews!

@octo octo added this to the 5.8 milestone Oct 11, 2017
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
0