class PrometheusExport

Class PrometheusExport To export the measurements into the Prometheus format.

Methods

string
getExport(AbstractStorage $storage, $keys)

Gets a Prometheus export of the given storage.

Details

at line line 81
string getExport(AbstractStorage $storage, $keys)

Gets a Prometheus export of the given storage.

Parameters

AbstractStorage $storage the storage to export
$keys the measurement keys to export

Return Value

string the Prometheus export string of all available metrics