Comments (9)
And "it's not 100% correct but at least allows you to know what's there" is perfectly fine for an operational monitoring system – we don't promise exactness anywhere. There are plenty of cases with a steady enough request stream that these numbers are at least indicative.
from haproxy_exporter.
Tossing our hat in here that we would like this, even though it's not perfect.
from haproxy_exporter.
Why don't cut a version with this as a gauge? Even though the numbers are not 100% reliable it is better than nothing, awaiting a better counter from HAProxy.
Perhaps a flag to include these values by choice would be an ok solution?
from haproxy_exporter.
The problem is that we need a counter to do it properly, and that's not a counter. From when I looked into this about a year ago it's an exponentially decaying average, and depending on your request rate may be quite off the true value. What we really need to do is add counters for latency to haproxy.
from haproxy_exporter.
Sorry I didn't look into that @brian-brazil. In my case that number is better than nothing right now, but is nice to know it doesn't necessarily represents the real value.
from haproxy_exporter.
I have been exporting response time (more specifically, as histogram on the Tr timer in the HAProxy HTTP log) from the HAProxy logs with this exporter http://git.cbaines.net/prometheus-haproxy-log-exporter/ (which I wrote for this purpose).
I'm not sure the stats page is fit for this purpose, but exporting data from the logs works very well.
from haproxy_exporter.
Thankz @cbaines - looks interesting. I will definitely havce a look.
from haproxy_exporter.
I want to throw my vote in that we include this in a release. I understand it may not be perfect, but we currently use these metrics in various graphs and operators will miss them if we migrated to this exporter. Maybe we only enable them with a flag?
from haproxy_exporter.
I'm in favour of including the times that are there, even if gated behind a flag and/or equipped with a big warning. That the ideal form of the data is not available does not mean we should ignore the information that is there out of spite.
from haproxy_exporter.
Related Issues (20)
- Error when using docker-compose HOT 1
- Cutting a new release HOT 4
- Haproxy stats page report inaccurate data. HOT 3
- not read stats in haproxy for monitoring HOT 1
- haproxy.scrape-uri parameter format HOT 1
- Can't scrape HAProxy: Requested canceled while waiting for connection. HOT 1
- Metric for frontend status HOT 2
- haproxy_backend_http_responses_total per API? HOT 1
- Multiple remote haproxy HOT 2
- http_responses_total missing exported_service label HOT 1
- crashes on http.ListenAndServe (during accepting new connections) HOT 2
- only one pid's metrics return by exporter HOT 6
- Discard golang / process metrics HOT 4
- dockerhub images have wrong os/architecture tags HOT 2
- The README file in Docker Hub uses the wrong command "-haproxy.scrape-uri" HOT 1
- --help
- haproxy_exporter.exe commited to repo HOT 1
- ts=2022-01-17T08:59:49.183Z caller=haproxy_exporter.go:421 level=error msg="Unexpected error while reading CSV" err="unexpected EOF" HOT 1
- dial tcp 127.0.0.1:8181: connect: connection refused HOT 3
- metric description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haproxy_exporter.