You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You need to enable the sentry web server in order to view the sentry metrics.

Make the below changes in sentry-site.xml to enable sentry web server and restart the sentry service.

Config Property
Value
Default
Required
sentry.service.web.enabletruefalseYes
sentry.service.web.port5100051000No
sentry.service.web.authentication.typeKERBEROS or NONENONEYes

 

To view the metrics go to <Sentry-Role-Host>:51000/metrics?pretty=true.

Metrics Information:

Sentry uses Codahale to present the metrics. 

Apart from viewing the metrics on the web page, you can enable a reporter to show the current metrics. 

Config Property
Value
Default
Required
sentry.service.reporterJMX or Console Yes

 

Gauges- A gauge is an instantaneous measurement of a value

Sentry Service Gauges:

Gauge
Type
org.apache.sentry.service.thrift.SentryService.is_active
boolean
org.apache.sentry.service.thrift.SentryService.is_ha
boolean

Sentry Store Gauges:

Gauge
Type
org.apache.sentry.provider.db.service.persistent.SentryStore.group_count
Long
org.apache.sentry.provider.db.service.persistent.SentryStore.privilege_count
Long
org.apache.sentry.provider.db.service.persistent.SentryStore.role_count
Long


 

  • No labels