A

AbstractStorageClass in namespace PHPProm\Storage
Class AbstractStorage The parent class of all storage implementations.
AbstractStorage::addAvailableMetric() — Method in class AbstractStorage
Adds a metric to the available ones.

D

DBALClass in namespace PHPProm\Storage
Class DBAL Storage implementation using Doctrine DBAL.

G

PrometheusExport::getExport() — Method in class PrometheusExport
Gets a Prometheus export of the given storage.
AbstractStorage::getAvailableMetrics() — Method in class AbstractStorage
Gets all available metrics in an array.
AbstractStorage::getMeasurements() — Method in class AbstractStorage
Gets all measurements.
DBAL::getMeasurements() — Method in class DBAL
Gets all measurements.
Memcached::getMeasurements() — Method in class Memcached
Gets all measurements.
MongoDB::getMeasurements() — Method in class MongoDB
Gets all measurements.
Redis::getMeasurements() — Method in class Redis
Gets all measurements.

I

AbstractStorage::incrementMeasurement() — Method in class AbstractStorage
Increments a measurement, starting with 1 if it doesn't exist yet.
DBAL::incrementMeasurement() — Method in class DBAL
Increments a measurement, starting with 1 if it doesn't exist yet.
Memcached::incrementMeasurement() — Method in class Memcached
Increments a measurement, starting with 1 if it doesn't exist yet.
MongoDB::incrementMeasurement() — Method in class MongoDB
Increments a measurement, starting with 1 if it doesn't exist yet.
Redis::incrementMeasurement() — Method in class Redis
Increments a measurement, starting with 1 if it doesn't exist yet.

M

MemcachedClass in namespace PHPProm\Storage
Class Memcached Storage implementation using memcached.
MongoDBClass in namespace PHPProm\Storage
Class MongoDB Storage implementation using MongoDB.

P

PrometheusExportClass in namespace PHPProm
Class PrometheusExport To export the measurements into the Prometheus format.

R

RedisClass in namespace PHPProm\Storage
Class Redis Storage implementation using Redis.

S

SilexSetupClass in namespace PHPProm\Integration
Class SilexSetup Setups Silex applications to measure: - the time of each route - the used memory of each route - the amount of requests of each route It also offers an function to be used for a Prometheus scrapable endpoint.
SilexSetup::setupAndGetMetricsRoute() — Method in class SilexSetup
Sets up the Silex middlewares where the actual measurements happen and returns a function to be used for a Prometheus scrapable endpoint.
StopWatchClass in namespace PHPProm
Class StopWatch Small utility class to measure the time of something.
StopWatch::start() — Method in class StopWatch
To start the measurement.
StopWatch::stop() — Method in class StopWatch
AbstractStorage::storeMeasurement() — Method in class AbstractStorage
Stores a measurement.
DBAL::storeMeasurement() — Method in class DBAL
Stores a measurement.
Memcached::storeMeasurement() — Method in class Memcached
Stores a measurement.
MongoDB::storeMeasurement() — Method in class MongoDB
Stores a measurement.
Redis::storeMeasurement() — Method in class Redis
Stores a measurement.

_

StopWatch::__construct() — Method in class StopWatch
StopWatch constructor.
AbstractStorage::__construct() — Method in class AbstractStorage
AbstractStorage constructor.
DBAL::__construct() — Method in class DBAL
DBAL constructor.
Memcached::__construct() — Method in class Memcached
Memcached constructor.
MongoDB::__construct() — Method in class MongoDB
MongoDB constructor.
Redis::__construct() — Method in class Redis
Redis constructor.