JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-610  -  Add an API to instrospect the properties defined in the monitoring data providers
Posted Nov 20, 2019 - updated Dec 20, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Management / Monitoring
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.2
Issue description
Currently, the only way to know the data that is provided by the monitoring data providers is to obtain a HealthSnapshot and call its getProperties() method. However, this only provides the names and values of the data, but does not provide important metadata such as the type of value (int, String, etc.) or the default value.

We propose to add one or more methods to the DiagnosticsMBean interface to obtain a collection of the provided properties as JPPFProperty objects, for instance:
public interface DiagnosticsMBean {
  List<JPPFProperty<?>> getMonitoringDataDefinitions();
}