README

Common

Build Status

This repository contains Go libraries that are shared across Prometheus components and libraries.

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

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