sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <>
Subject [jira] [Updated] (SENTRY-477) Sentry service should expose metrics
Date Tue, 21 Oct 2014 23:14:33 GMT


Sravya Tirukkovalur updated SENTRY-477:
    Attachment: SENTRY-477.1.Metrics.rtf

Attaching the updated patch and the list of metrics we expose (SENTRY-477.1.Metrics.rtf).

This patch is mainly adding a metrics infrastructure (using codahale) to Sentry service to

- Timer metrics for each API operation: # times called, max, min, mean and histogram of time
taken to serve the request.
- Aggregate metrics for size of meta data: #roles, #privileges, #groups in the sentry db.
- JVM metrics: gc, memory, buffers, thread metrics

These metrics are exposed in multiple ways:

- Console
- We also add a basic Web UI using Jetty to serve this metric information. Default on port
8080, and can be configured using property "sentry.service.web.port"
Metrics reporting can be enabled by setting sentry.service.reporting to jmx/console.

We are also bumping up the jdk version to jdk7 as part of this patch as jdk6 support is towards
end of life.

> Sentry service should expose metrics
> ------------------------------------
>                 Key: SENTRY-477
>                 URL:
>             Project: Sentry
>          Issue Type: New Feature
>    Affects Versions: 1.4.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.5.0
>         Attachments: SENTRY-477.1.Metrics.rtf, SENTRY-477.1.patch, SENTRY-477.WIP.1.patch,
SENTRY-477.WIP.patch, metrics.png, metrics_main.png, ping.png, threads.png
> It would be good to have Sentry service expose some metrics for both performance testing
and monitoring purposes. 

This message was sent by Atlassian JIRA

View raw message