-
- All Known Implementing Classes:
BasicMetricVisitor
public interface ServerMetricsMetrics of the Database instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MetricData>asData()Return the metrics as a list of MetricData.ServerMetricsAsJsonasJson()Return ServerMetricsAsJson to build the metrics as JSON content.List<MetaCountMetric>countMetrics()Return the Counter metrics.Stringname()Return the name of the database these metrics were obtained for.List<MetaQueryMetric>queryMetrics()Return the query metrics.List<MetaTimedMetric>timedMetrics()Return timed metrics for Transactions, labelled SqlQuery, labelled SqlUpdate.
-
-
-
Method Detail
-
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.
-
-