hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (Jira)" <j...@apache.org>
Subject [jira] [Created] (HDDS-2074) Use annotations to define description/filter/required filters of an InsightPoint
Date Mon, 02 Sep 2019 09:27:00 GMT
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


Mime
View raw message