Top 2.8% dependent packages on proxy.golang.org
proxy.golang.org : github.com/clambin/metrics
Package metrics provides utilities for running and testing a prometheus scrape server. Server provides an HTTP server with a Prometheus metrics endpoint configured. Running it is as simple as: This will start an HTTP server on port 8080, with a /metrics endpoint for Prometheus scraping. To add a metric endpoint to an existing http.Server, use the GetRouter() function instead: APIClientMetrics provides a standard way of measuring client metrics of API calls. Currently, latency & errors are supported: MetricName, MetricLabel and MetricValue provide an easy way to validate metrics during unit testing:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/clambin/metrics
License: MIT
Latest release: about 3 years ago
First release: almost 4 years ago
Namespace: github.com/clambin
Dependent packages: 3
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago