diff --git a/src/Prometheus/CollectorRegistry.php b/src/Prometheus/CollectorRegistry.php index 9ff18e3..23e0965 100644 --- a/src/Prometheus/CollectorRegistry.php +++ b/src/Prometheus/CollectorRegistry.php @@ -9,7 +9,7 @@ use Prometheus\Storage\Adapter; use Prometheus\Storage\Redis; -class CollectorRegistry +class CollectorRegistry implements RegistryInterface { /** * @var CollectorRegistry diff --git a/src/Prometheus/RegistryInterface.php b/src/Prometheus/RegistryInterface.php new file mode 100644 index 0000000..7bae64d --- /dev/null +++ b/src/Prometheus/RegistryInterface.php @@ -0,0 +1,106 @@ +