Clone this repo:
  1. 8392757 version: Add a slog helper (#886) by Ben Kochie · 7 days ago main
  2. f9b9d15 build(deps): bump golang.org/x/net from 0.49.0 to 0.51.0 (#882) by dependabot[bot] · 13 days ago
  3. a902616 Update for Go 1.26 (#883) by Ben Kochie · 13 days ago
  4. afbd47d Update common Prometheus files (#881) by PrometheusBot · 3 weeks ago
  5. e4c38a0 Remove logic adding unit to metrics name (#877) by Arianna Vespri · 4 weeks ago

Common

circleci OpenSSF Scorecard

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
  • promslog: A logging wrapper around log/slog
  • route: A routing wrapper around httprouter using context.Context
  • server: Common servers
  • version: Version information and metrics