PHPackages                             andersundsehr/metrics\_exporter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. andersundsehr/metrics\_exporter

ActiveTypo3-cms-extension

andersundsehr/metrics\_exporter
===============================

Prometheus metrics collector for TYPO3. Collect and export metrics.

2.0.1(2mo ago)1335↓100%[1 PRs](https://github.com/andersundsehr/metrics_exporter/pulls)GPL-3.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

Since Sep 22Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/andersundsehr/metrics_exporter)[ Packagist](https://packagist.org/packages/andersundsehr/metrics_exporter)[ RSS](/packages/andersundsehr-metrics-exporter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

What does it do?
================

[](#what-does-it-do)

This extension provides a metrics collector for your TYPO3 application and exposes an endpoint that outputs the collected metrics in a format compatible with Prometheus. This allows you to monitor application performance and behavior using Prometheus or similar monitoring tools.

Code Example: Collecting Metrics
--------------------------------

[](#code-example-collecting-metrics)

Here's how to inject the `CollectorService` into your own class and collect metrics:

```
