JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
OPEN  Enhancement JPPF-610  -  Add an API to instrospect the properties defined in the monitoring data providers
Posted Nov 20, 2019 - updated Nov 20, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Enhancement
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Management / Monitoring
  • Resolution
    Not determined
  • 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();
}