public interface MetricsService
Modifier and Type | Field and Description |
---|---|
static String |
COUNTER_ACTIVE_REQUESTS |
static String |
METER_ALL_REQUESTS |
static String |
METER_BAD_REQUESTS |
static String |
METER_INTERNAL_SERVER_ERRORS |
static String |
METER_ROUTES_NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
Returns the hostname of the server.
|
com.codahale.metrics.MetricRegistry |
getMetricRegistry()
Returns the metric registry.
|
void |
start()
Start the Ninja Metrics service.
|
void |
stop()
Stops the Ninja Metrics service.
|
static final String METER_ALL_REQUESTS
static final String COUNTER_ACTIVE_REQUESTS
static final String METER_BAD_REQUESTS
static final String METER_INTERNAL_SERVER_ERRORS
static final String METER_ROUTES_NOT_FOUND
void start()
void stop()
com.codahale.metrics.MetricRegistry getMetricRegistry()
String getHostname()
Copyright © 2016. All Rights Reserved.