...
Config Property | Value | Default | RequiredComment | |||
---|---|---|---|---|---|---|
sentry.service.reporter | JMX or Console | Console | No | |||
JMX | ||||||
LOG | YES | Log metrics to LOG4j | ||||
JSON | Log metrics to json file (/tmp/sentry-metrics.json by default) | |||||
sentry.service.reporter.interval.sec | 300 | Interval between metric updates in seconds | ||||
sentry.service.reporter.file | /tmp/sentry-metrics.json | Destination for JSON metricsYes |
HDFS Sync related metrics
...
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
Gauge | Type | Comment |
---|---|---|
org.apache.sentry.provider.db.service.persistent.SentryStore.hms.notification.id | Long | Current HMS notification ID |
Sample metrics page
Legend
Gauges - A gauge is an instantaneous measurement of a value
...