{"repo":"VictoriaMetrics/metrics","free":true,"listed":false,"github":"https://github.com/VictoriaMetrics/metrics","clone":"git clone https://github.com/VictoriaMetrics/metrics.git","description":"Lightweight alternative to github.com/prometheus/client_golang","language":"Go","stars":706,"topics":["prometheus","metrics","lightweight","fast","histograms"],"license":"MIT","category":"analytics","readme_excerpt":"metrics - lightweight package for exporting metrics in Prometheus format Features Lightweight. Has minimal number of third-party dependencies and all these deps are small. See this article for details. Easy to use. See the API docs. Fast. Allows exporting distinct metric sets via distinct endpoints. See Set. Supports easy-to-use histograms, which just work without any tuning. Read more about VictoriaMetrics histograms at this article. Can push metrics to VictoriaMetrics or to any other remote storage, which accepts metrics in Prometheus text exposition format. See these docs. Limitations It doesn't implement advanced functionality from github.com/prometheus/client golang. Usage By default, exposed metrics do not have TYPE or HELP meta information. Call ExposeMetadata(true) in order to generate TYPE and HELP meta information per each metric. See docs for more info. Users Metrics has been extracted from VictoriaMetrics sources. See this article for more info about VictoriaMetrics . FAQ Why the metrics API isn't compatible with github.com/prometheus/client golang ? Because the github.com/prometheus/client golang is too complex and is hard to use. Why the metrics.WritePrometheus doesn't expose documentation for each metric? Because this documentation is ignored by Prometheus. The documentation is for users. Just give meaningful names to the exported metrics or add comments in the source code or in other suitable place explaining each metric exposed from your application. How to i","default_branch":null,"files":null,"tree":[],"storefront":"/r/VictoriaMetrics","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/VictoriaMetrics/metrics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}