Package de.iip_ecosphere.platform.services.environment.metricsProvider
This class aims to provide a prototypical implementation of the Meter
Interfaces from Micrometer-API, allowing a client process to access the Meter
values collected from a Service in a uniform way.
-
Interface Summary Interface Description MetricsProvider.TimeSupplier Supplies access to a time measurement. -
Class Summary Class Description LogRunnable A simple log runnable to log experimental results.LogRunnable.LogRecord Represents a log record.MetricsProvider This class represents an interface to manage the Micrometer-API meters.
The operations available in this class are: Consulting the amount of custom meters of each type Modifying, consulting or deleting a custom gauge Modifying, consulting or deleting a custom counter Modifying, consulting or deleting a custom timer Consult the current capacity base unit for the Memory and Disk metrics It is recommended to use the dot notation to name the meters, i.e.MonitoredTranslatingProtocolAdapter<O,I,CO,CI> Implements a monitoring wrapper forTranslatingProtocolAdapterto be instrumented into by generation. -
Enum Summary Enum Description CapacityBaseUnit This enum represents a capacity base unit.
This base units will be used in the MetricsProvider to correctly set the memory and disk capacity base units in a secure and simple way.
The base units that can be represented by this enum and, as a result, can be used in the metrics provider are: BYTES KILOBYTES MEGABYTES GIGABYTES TERABYTES Each value represented in this enum will provide the value in bytes of a single unit as well as a lower case representation of the base unit.