Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The EclipseLink PeformanceMonitor has been extended to support a custom Ambari Database Metrics source. It provides us with monitoring data per entity and per operation on the entity. Applicable entities can be found in the package - org.apache.ambari.server.orm.entities. 

The Performance Monitor provides 2 kinds of metrics -

...

 
Config NameDefault ValueExplanation
source.database.class
org.apache.ambari.server.metrics.system.impl.DatabaseMetricsSource
Class used to collect Database Metrics from extended Performance Monitor class - org.apache.ambari.server.metrics.system.impl.AmbariPerformanceMonitor.
source.database.performance.monitor.query.weight
HEAVYEclipseLink Performance monitor granularity : NONE / NORMAL / HEAVY / ALL
source.database.monitor.dumptime
 60000Collection interval in milliseconds 
source.database.monitor.entities
 

Cluster(.*)Entity,Host(.*)Entity,ExecutionCommandEntity,

ServiceComponentDesiredStateEntity,Alert(.*)Entity,StackEntity,StageEntity

Entities to be tracked. (org.apache.ambari.server.orm.entities) 
source.database.monitor.query.keywords.include
 CacheMissesInclude some metrics which have the keyword even if they are not part of requested Entities. 

 

Grafana dashboards

Disabling Ambari Server metrics globally

...