Daniel Swarbrick

Results 298 comments of Daniel Swarbrick

Thanks for your contribution. We are trying to discourage the use of homegrown text exposition format rendering. Please use the official Prometheus Python client library (https://github.com/prometheus/client_python) instead.

Your logs show two separate errors which have absolutely nothing to do with each other. Since you have posted this in the node-exporter-textfile-collector-scripts project, I will focus on the first...

@SuperQ PTAL - if this looks interesting to you, I'll implement support for the XMLv3 stats channel also (even though I wish we would move forward and drop it completely),...

Some sample metrics from a home server BIND instance which has been running for about 11 days: ``` # HELP bind_traffic_received_size Received traffic packet sizes. # TYPE bind_traffic_received_size histogram bind_traffic_received_size_bucket{transport="tcpv4",le="31"}...

@SuperQ I need a second opinion here. What does the Big Book of Prometheus Best Practices say about this sort of thing? Should we go with three different metric names,...

There are essentially three ways we can go about this. For example, if a CacheVault is degraded, we could expose: ``` cv_optimal{controller="0",cvidx="1"} 0 cv_degraded{controller="0",cvidx="1"} 1 cv_failed{controller="0",cvidx="1"} 0 ``` or ```...

This still fails identically with v0.23.0 (and master branch, as of writing). What's more, isolating the tests to _just_ the GRPC tests fails in a completely different way: ``` $...

@averzicco As the author of the GRPC tests, are you able to reproduce the failures that I see here? I'm surprised this made it past CI when being merged.

@averzicco I get inconsistent results, depending on whether I run tests with `-race` or not. ``` $ go test -race ./... ok github.com/prometheus/blackbox_exporter (cached) ok github.com/prometheus/blackbox_exporter/config (cached) --- FAIL: TestGRPCConnection...

@averzicco By "inconsistent" I mean that the test are failing in different ways - but yes, they consistently fail. A small correction to my earlier comment - the tests pass...