Elek, Marton created HDDS-2074:
----------------------------------
Summary: Use annotations to define description/filter/required
filters of an InsightPoint
Key: HDDS-2074
URL: https://issues.apache.org/jira/browse/HDDS-2074
Project: Hadoop Distributed Data Store
Issue Type: Sub-task
Reporter: Elek, Marton
InsightPoint interface defined the getDescription method to define the human
readable description of the Insight point.
To have better separation between the provided log/metrics/config information
and the metadata, it would be better to use an annotation for this which also
can include the filters (HDDS-2071).
Something like this:
{code}
@InsightPoint(description="Information from the async event queue of the SCM",
supportedFilters=["eventType"],requiredFilters="")
public class EventQueueInsight extends BaseInsightPoint {
...
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]