README

Common

circleci

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.

  • config: Common configuration structures
  • expfmt: Decoding and encoding for the exposition format
  • model: Shared data structures
  • promlog: A logging wrapper around go-kit/log
  • route: A routing wrapper around httprouter using context.Context
  • server: Common servers
  • version: Version information and metrics

Deprecated

  • log: A logging wrapper around logrus
Expand ▾ Collapse ▴

Directories

Path Synopsis
Package expfmt contains tools for reading and writing Prometheus metrics.
Package expfmt contains tools for reading and writing Prometheus metrics.
Package model contains common data structures that are shared across Prometheus components and libraries.
Package model contains common data structures that are shared across Prometheus components and libraries.
Package promlog defines standardised ways to initialize Go kit loggers across Prometheus components.
Package promlog defines standardised ways to initialize Go kit loggers across Prometheus components.
internal