Registry / observability / endclothing-prometheus-client-php

endclothing-prometheus-client-php

JSON →
library1.0.1phppackagistunverified

Prometheus instrumentation library for PHP applications.

composer require endclothing/prometheus_client_php
INSTALL
IMPORT
SIG · ENDCLOTHING-PROMET
E
endclothing-prometheus-client-php
observabilityphpv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CollectorRegistry
✓ use Prometheus\CollectorRegistry;

Create and use a Prometheus counter

use Prometheus\CollectorRegistry; $registry = new CollectorRegistry(); $counter = $registry->registerCounter('app', 'requests_total', 'Total requests'); $counter->inc();
Debug
Known issues
gotchaRequires a storage adapter (e.g., Redis, APCu) for production use
fix
Install and configure a storage adapter like prometheus/prometheus_redis
affects: >=1.0.0
Upgrade
Version history
1.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
2
Resources
endclothing-prometheus-client-php — pip install endclothing-prometheus-client-php · libregistry