- All Known Implementing Classes:
BasicMetricVisitor
public interface ServerMetrics
Metrics of the Database instance.
-
Method Summary
Modifier and TypeMethodDescriptionasData()
Return the metrics as a list of MetricData.asJson()
Return ServerMetricsAsJson to build the metrics as JSON content.Return the Counter metrics.name()
Return the name of the database these metrics were obtained for.Return the query metrics.Return timed metrics for Transactions, labelled SqlQuery, labelled SqlUpdate.
-
Method Details
-
name
String name()Return the name of the database these metrics were obtained for. -
asJson
ServerMetricsAsJson asJson()Return ServerMetricsAsJson to build the metrics as JSON content. -
asData
List<MetricData> asData()Return the metrics as a list of MetricData. -
timedMetrics
List<MetaTimedMetric> timedMetrics()Return timed metrics for Transactions, labelled SqlQuery, labelled SqlUpdate. -
queryMetrics
List<MetaQueryMetric> queryMetrics()Return the query metrics. -
countMetrics
List<MetaCountMetric> countMetrics()Return the Counter metrics.
-