Skip to content

Conversation

@dalance
Copy link
Contributor

@dalance dalance commented Jan 23, 2018

Adding SoftEther VPN server (http://www.softether.org) exporter to list

@brian-brazil brian-brazil merged commit ffe8b39 into prometheus:master Jan 23, 2018
@brian-brazil
Copy link
Contributor

Thanks!

I think you have your counters and gauges a bit mixed up. Counters should end in _total, and Gauges should not.

In addition you are using direct instrumentation for an exporter, which is not the best way to go about it. Instead you should use a custom collector and only create the metric families on each scrape. See https://www.robustperception.io/writing-json-exporters-in-python/ for example.

@dalance
Copy link
Contributor Author

dalance commented Jan 23, 2018

Thank you for your advise.
I'll change metrics name, and learn about custom collector.

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