Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2066 Improve the observability inside Ozone
  3. HDDS-2074

Use annotations to define description/filter/required filters of an InsightPoint

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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:

      @InsightPoint(description="Information from the async event queue of the SCM", supportedFilters=["eventType"],requiredFilters="")
      public class EventQueueInsight extends BaseInsightPoint {
      
      ...
      
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: