Clone this repo:
  1. 4724e92 add unit tests to increase coverage for encode and decode (#160) by Tariq Ibrahim · 3 weeks ago master
  2. aeab699 add unit tests to alerts, values, and route to increase test coverage (#158) by Tariq Ibrahim · 4 weeks ago
  3. b36ad28 initialize flags in AddFlags (#159) by Alex Yu · 4 weeks ago
  4. 1f2c4f3 promlog: add comment for Config (#156) by Alex Yu · 4 weeks ago
  5. 41aa239 promlog: add support for json logger (#136) by Alex Yu · 5 weeks ago

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