meklis / prom-client
Prometheus client
0.2.2
2022-04-26 14:25 UTC
Requires
This package is auto-updated.
Last update: 2024-10-26 19:59:15 UTC
README
Realized by doc - https://prometheus.io/docs/prometheus/latest/querying/api/
Example of usage
<?php require __DIR__ . '/vendor/autoload.php'; $client = new \Meklis\PromClient\Client('http://10.0.30.2:9090'); // Return results of queries $client->queriesRange( ['optical_temperature{iface_name="pon0/0/2:14", ip="10.15.1.2"}'], );