MCPcopy Create free account
hub / github.com/prometheus/common

github.com/prometheus/common

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.71.0 ↗ · + Follow · compare 6 versions
816 symbols 2,590 edges 66 files ⚖ custom 356 documented · 44% updated 6d agov0.71.0 · 2026-08-31★ 29540 open issues

Browse by type

Functions 697 Types & classes 119
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 399
Method 298
Struct 66
TypeAlias 35
Interface 13
FuncType 5

Languages

Go100%

Modules by API surface

config/http_config.go134 symbols
config/http_config_test.go72 symbols
expfmt/text_parse.go38 symbols
model/value.go33 symbols
model/time.go30 symbols
model/metric.go28 symbols
model/signature_test.go26 symbols
model/labels.go21 symbols
expfmt/decode.go20 symbols
model/value_histogram.go19 symbols
route/route.go18 symbols
model/alert.go18 symbols

Dependencies from manifests, versioned

github.com/alecthomas/unitsv0.0.0-2024092700094 · 1×
github.com/beorn7/perksv1.0.1 · 1×
github.com/munnerz/goautonegv0.0.0-2019101008341 · 1×
github.com/mwitkow/go-conntrackv0.0.0-2019071606494 · 1×

For agents

$ claude mcp add common \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page