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

Interface ServerMetrics

  • All Known Implementing Classes:
    BasicMetricVisitor

    public interface ServerMetrics
    Metrics of the Database instance.
    • 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.