This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.
- assets: Embedding of static assets with gzip support
- config: Common configuration structures
- expfmt: Decoding and encoding for the exposition format
- model: Shared data structures
- promlog: A logging wrapper around go-kit/log
- promslog: A logging wrapper around log/slog
- route: A routing wrapper around httprouter using
context.Context
- server: Common servers
- version: Version information and metrics