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

github.com/prometheus/common

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.74.0 ↗ · + Follow · compare 8 versions
930 symbols 3,188 edges 81 files 367 documented · 39% ● updated 2mo agov0.71.0 · 2026-08-31★ 29639 open issues

Browse by type

⨍ Functions 800◇ Types & classes 130
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Common

Build Status 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 481
Method 319
Struct 75
TypeAlias 36
Interface 14
FuncType 5

Languages

Go100%

Modules by API surface

config/http_config.go134 symbols
config/http_config_test.go73 symbols
expfmt/text_parse.go38 symbols
model/value.go32 symbols
model/time.go30 symbols
model/metric.go28 symbols
model/signature_test.go26 symbols
expfmt/openmetrics_parse.go26 symbols
expfmt/decode.go24 symbols
expfmt/openmetrics_2_0_parse.go22 symbols
model/labels.go21 symbols
model/value_histogram.go19 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×
github.com/pandatix/go-abnfv0.5.5 · 1×

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page