Download the PHP package manticoresoftware/openmetrics without Composer
On this page you can find all versions of the php package manticoresoftware/openmetrics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download manticoresoftware/openmetrics
More information about manticoresoftware/openmetrics
Files in manticoresoftware/openmetrics
Download manticoresoftware/openmetrics
More information about manticoresoftware/openmetrics
Files in manticoresoftware/openmetrics
Vendor manticoresoftware
Package openmetrics
Short Description Implementation of the text exposition format of OpenMetrics
License MIT
Package openmetrics
Short Description Implementation of the text exposition format of OpenMetrics
License MIT
Please rate this library. Is it a good library?
Informations about the package openmetrics
OpenMetrics-PHP Exposition Text
Description
Implementation of the text exposition format of OpenMetrics.
This implementation supports the following metric types:
- Counter
- Gauge
- Historgram (calculated from a collection of gauges)
- Summary (calculated from a collection of gauges)
Please note: that the following content-type header is used for the HTTP response by default
Content-Type: application/openmetrics-text; charset=utf-8
as discussed here.
Requirements
- PHP >= 7.1
Installation
Usage
Create a collection of counters and respond it
See examples/counters.php.
Prints
Create a collection of gauges and respond it
See examples/gauges.php.
Prints
Create a histogram out of a gauge collection and respond it
See examples/histogram.php.
Prints
Create a summary out of a gauge collection and respond it
See examples/summary.php.
Prints
Contributing
Contributions are welcome and will be fully credited. Please see the contribution guide for details.
All versions of openmetrics with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package manticoresoftware/openmetrics contains the following files
Loading the files please wait ....