proxy.golang.org : github.com/prometheus/client_golang/prometheus/promhttp
Package promhttp provides tooling around HTTP servers and clients. First, the package allows the creation of http.Handler instances to expose Prometheus metrics via HTTP. promhttp.Handler acts on the prometheus.DefaultGatherer. With HandlerFor, you can create a handler for a custom registry or anything that implements the Gatherer interface. It also allows the creation of handlers that act differently on errors or allow to log errors. Second, the package provides tooling to instrument instances of http.Handler via middleware. Middleware wrappers follow the naming scheme InstrumentHandlerX, where X describes the intended use of the middleware. See each function's doc comment for specific details. Finally, the package allows for an http.RoundTripper to be instrumented via middleware. Middleware wrappers follow the naming scheme InstrumentRoundTripperX, where X describes the intended use of the middleware. See each function's doc comment for specific details.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/prometheus/client_golang/prometheus/promhttp
License: Apache-2.0
Latest release: 2 days ago
Namespace: github.com/prometheus/client_golang/prometheus
Stars: 5,343 on GitHub
Forks: 1,172 on GitHub
Total Commits: 1181
Committers: 242
Average commits per author: 4.88
Development Distribution Score (DDS): 0.835
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago
github.com/prometheus/client_golang/examples/middleware
Prometheus instrumentation library for Go applicationsLatest release: 2 days ago - 5,103 stars on GitHub
github.com/prometheus/client_golang/prometheus
Package prometheus is the core instrumentation package. It provides metrics primitives to instrum...Latest release: 2 days ago - 5,343 stars on GitHub
github.com/prometheus/client_golang/prometheus/internal
Copyright (c) 2015 Björn Rabenstein Permission is hereby granted, free of charge, to any person ...Latest release: 2 days ago - 5,343 stars on GitHub
github.com/prometheus/client_golang/tutorials/whatsup
Prometheus instrumentation library for Go applicationsLatest release: 2 days ago - 5,331 stars on GitHub
github.com/prometheus/client_Golang v1.22.0
Prometheus instrumentation library for Go applications48 versions - Latest release: 29 days ago - 4,458 stars on GitHub
github.com/prometheus/client_golang v1.22.0
Prometheus instrumentation library for Go applications49 versions - Latest release: 29 days ago - 36,473 dependent packages - 107,337 dependent repositories - 4,455 stars on GitHub
github.com/Prometheus/client_golang v1.22.0
Prometheus instrumentation library for Go applications48 versions - Latest release: 29 days ago - 4,455 stars on GitHub
github.com/prometheus/Client_golang v1.22.0
Prometheus instrumentation library for Go applications48 versions - Latest release: 29 days ago - 4,458 stars on GitHub
github.com/prometheus/client_goLang v1.22.0
Prometheus instrumentation library for Go applications48 versions - Latest release: 29 days ago - 4,458 stars on GitHub