Vyacheslav Koptilin created IGNITE-26702:
--------------------------------------------
Summary: The enable() and disable() methods of MetricSource should
not be public
Key: IGNITE-26702
URL: https://issues.apache.org/jira/browse/IGNITE-26702
Project: Ignite
Issue Type: Improvement
Components: metrics framework ai3
Affects Versions: 3.0, 3.1
Reporter: Vyacheslav Koptilin
It seems to me, that the following methods of the `MetricSource` interface
should not be public:
- `enable()`
- `disable()`
These methods allow to directly enable/disable a metric source that may lead to
incorrect export of the corresponding set of metrics.
There is the only one approach to do it properly, i.e. using `MetricManager`
--
This message was sent by Atlassian Jira
(v8.20.10#820010)