You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (Jira)" <ji...@apache.org> on 2019/09/02 09:27:00 UTC
[jira] [Created] (HDDS-2074) Use annotations to define
description/filter/required filters of an InsightPoint
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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org