Matt Burgess created NIFI-7379:
----------------------------------
Summary: Prometheus components should not use the same registries
or metric objects
Key: NIFI-7379
URL: https://issues.apache.org/jira/browse/NIFI-7379
Project: Apache NiFi
Issue Type: Bug
Reporter: Matt Burgess
Currently all Prometheus components in NiFi (the REST endpoint, the reporting
task, and the record sink) use the same set of metric objects and collection
registries. This can cause undesired behavior, such as causing label conflicts
(for different Instance Identifier values for example), undesired metrics to be
present (if QueryNiFiReportingTask adds metrics, PrometheusReportingTask will
expose them too), injection of bad data points (if you have a bad query that
overwrites an existing metric), etc.
Each component should have its own copy of the collection registries and metric
objects so as not to interfere with those of other Prometheus components.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)