Reporting Metrics for the Sentry Service

Metrics for the Sentry service can now be reported using either JMX or console. To obtain the metrics in JSON format, you can use the Sentry Web Server which by default, listens on port 51000. Use the following properties to enable and configure metric reports.

sentry.service.reporter

Specify the tool being used to report metrics.

Value: jmx or console

sentry.service.web.enable

Set this property to true to enable reporting of metrics by the Sentry Web Server.

Default: false

sentry.service.web.port

Configure the port on which the Sentry Web Server listens for metrics.

Default: 51000