Versions Compared

Key

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

...

Config Property
Value
Default
RequiredComment
sentry.service.reporterJMX or Console Console No
 JMX  
 LOGYESLog metrics to LOG4j
 JSON Log metrics to json file (/tmp/sentry-metrics.json by default)
sentry.service.reporter.interval.sec
 300Interval between metric updates in seconds
sentry.service.reporter.file
 
/tmp/sentry-metrics.json
Destination for JSON metricsYes

HDFS Sync related metrics

...

Sentry Service related metrics

(See SentryMetrics.java)

Sentry Service Gauges

Gauge

Type

Comment

org.apache.sentry.service.thrift.SentryService.is_active

boolean

Sentry service is processing HMS notifications

org.apache.sentry.service.thrift.SentryService.is_habooleanactivated

Long

Number of times the Sentry Service became active

Sentry Store Gauges

Gauge

Type

Comment

org.apache.sentry.provider.db.service.persistent.SentryStore.group_count

Long

Number of Sentry groups

org.apache.sentry.provider.db.service.persistent.SentryStore.privilege_count

Long

Number of Sentry Privileges

org.apache.sentry.provider.db.service.persistent.SentryStore.role_count

Long

Number of Sentry roles

Gauges for HMS notifications processing

GaugeTypeComment
org.apache.sentry.provider.db.service.persistent.SentryStore.hms.notification.id
LongCurrent HMS notification ID


Sample metrics page

Legend

Gauges - A gauge is an instantaneous measurement of a value

...