common
common copied to clipboard
Go libraries shared across Prometheus components and libraries.
Add fields to the TLSConfig struct so that it's possible to specify either a path to the certificates (Certificate Authority, client cert, client key) or specify them inline. This is...
github.com/golang/protobuf/proto has been "deprecated" in favor of google.golang.org/protobuf/proto. For this codebase in particular this involves changing calls to `proto.MarshalTextString` to `prototext.Marshal`. This is related to #281.
I've discovered some minor inconsistent behaviour when I was writing unit tests for my metric collector. My unit tests consists of calling the `testutil.GatherAndCompare` with a metric with no help...
This unlocks setting `source_ip_address` for HTTP probes in `blackbox_exporter`.
Adding Power support & updating go versions to >=1.13 as lower versions are not supported., Adding power support ppc64le with Continues Integration/testing so that code remains architecture independent. This is...
Add's color logging capabilities to promlog when we're logging to the terminal, otherwise we just get a standard go-kit logger when logging to a file. We'll have to update deps/vendor...
We use the text parser within our application to scrape prometheus metrics and are facing an issue related to one described here: https://github.com/uber/cadence/issues/3120 cadence exposes two histogram metrics named `signal_info`...
I propose that since go 1.15 supports url.Redacted, we make used of it while unmarshaling urls. This could be done my adding a URL wrapper in this repo. https://github.com/golang/go/issues/34855
This does not cause an import cycle while compiling, so no one’s builds have broken, and go does a decent job at caching the `go.mod` downloads, so no one has...
Extend model.Duration with `Miliseconds()` method as well as `model.{Milisecond,Second, ...}` vars.
Hi :wave: I would propose extending `model.Duration`. It's super painful to work with and prone to errors. Examples of lack of `Seconds` or `model.Milisecond`: * `int64(db.opts.RetentionDuration)/int64(time.Millisecond)` to convert to miliseconds...