haproxy_exporter icon indicating copy to clipboard operation
haproxy_exporter copied to clipboard

Add list of available metrics to README

Open jsha opened this issue 6 years ago • 4 comments

For someone evaluating whether to give this exporter a try, it's very useful to know which metrics it makes available.

jsha avatar Jun 23 '18 06:06 jsha

@jsha Can you fix all checks plz ? Your PR is useful :)

agirot avatar Sep 24 '18 13:09 agirot

I added the DCO but now I'm getting a seemingly unrelated Travis failure:

package golang.org/x/tools/go/loader: unrecognized import path "golang.org/x/tools/go/loader" (parse https://golang.org/x/tools/go/loader?go-get=1: no go-import meta tags ())

jsha avatar Sep 26 '18 18:09 jsha

@jsha it looks like a transient error on the Travis side. I've restarted it and it's all green now.

simonpasquier avatar Sep 27 '18 07:09 simonpasquier

I generated the list by running the haproxy_exporter and curling the metrics port, then running it through a handful of string replacements in Vim. I could systematize that process and document it here, but it might take a little while.

I agree the http_ prefixed stats are confusing in this context and should go. Should this list contain only the haproxy_ prefixed stats?

jsha avatar Sep 27 '18 17:09 jsha

Unfortunately, at least as of #236 this list is out of date again. The recommended way to get metrics from HAProxy is the official exporter, which has a documented list in this file. Since this PR is >5 years old, I'll close it.

matthiasr avatar Feb 14 '23 18:02 matthiasr