Module io.ebean.api
Package io.ebean.meta

Interface ServerMetrics

All Known Implementing Classes:
BasicMetricVisitor

public interface ServerMetrics
Metrics of the Database instance.
  • Method Details

    • name

      String name()
      Return the name of the database these metrics were obtained for.
    • 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.