exporter-toolkit
exporter-toolkit copied to clipboard
Utility package to build exporters
Since https://github.com/pkg/errors is archived by the owner, let's replace is with stdlib features.
I called the function `UseActivatedSocketAndServe`. Let me know if I should change that. Uses the latest version of the systemd module (`v22`). Discussion at node_exporter: https://github.com/prometheus/node_exporter/pull/2393 Per CONTRIBUTING.MD, @SuperQ @roidelapluie...
Fixes: https://github.com/prometheus/prometheus/issues/9166 Signed-off-by: heylongdacoder
`go test ./...` failed with Go 1.18 because the server certificate and key used SHA1. To fix this, the server certificate/key (and certificate authority chain) have been copied from the...
May refer to https://github.com/prometheus/exporter-toolkit/blob/14464f8d9bad4970fb2bbb16d64af22075aa4ec9/web/handler.go#L35 Signed-off-by: heylongdacoder
Closes https://github.com/prometheus/exporter-toolkit/issues/96
I enabled CORS headers and basic auth but a browser still can't fetch information from Prometheus. Before sending a GET request an OPTIONS request is performed first and it doesn't...
Addresses [this issue](https://github.com/prometheus/prometheus/issues/10852) from the Prometheus repo for the exporter-toolkit repo. Signed-off-by: Alex Gavin
The OPTIONS needed for CORS requests Closes: #71
Currently when using TLS, the servers will accept requests from any client that has a certificate signed by the specified Certificate Authority. As such, I'd like to see custom server...