Closed InboxViktorV closed 3 years ago
It is as easy as
artprima_prometheus_metrics:
# ...
disable_default_metrics: true
It is as easy as
artprima_prometheus_metrics: # ... disable_default_metrics: true
Ohhh:sweat_smile: It is added in new version. Ok, thanks)
At the moment the easiest way is:
services.yaml
UnregisterDefaultMetrics.php
But maybe there is more elegant way to do that?
Btw. Definition::clearTags() not works, cause default metrics added to MetricsCollectorRegistry before tag is removed Btw2. Redefine also doesn't work:
In this case custom metrics will be called twice