PrometheusTextFormat
final class PrometheusTextFormat (View source)
Renders metrics in the Prometheus text exposition format 0.0.4.
Each family is ['name' => ..., 'type' => 'gauge'|'counter', 'help' => ..., 'samples' => [['labels' => [...], 'value' => number], ...]].
Constants
| CONTENT_TYPE |
|
| private NAME_PATTERN |
|
| private LABEL_PATTERN |
|
Methods
static string
render(array $families)
No description
Details
static string
render(array $families)
No description