Register custom metrics 

Classes that implement MFRT3PromClientMetricsMetricsInterface are automatically tagged by the Dependency Injection container and added to the Metrics registry, allowing the registration of custom metrics by extension developers.

  1. Create a new PHP class that implements MFRT3PromClientMetricsMetricsInterface
  2. Implement the contracts.
  3. Flush all TYPO3 caches.