Package de.iip_ecosphere.platform.services.environment.metricsProvider.metricsAas
package de.iip_ecosphere.platform.services.environment.metricsProvider.metricsAas
Basic functionality to create/query a metrics.based AAS.
-
ClassDescriptionImplements the basis of a device heartbeat watcher.Enum used to specify the type of Meter.
There are three types of Metric: Counters Gauges TimersCollection of constant name values for submodel properties.
This class acts as a collection of constant values used mostly by theMetricsAasConstructorclass, but can also be used by the AAS in operation to access the properties exposed by the Metrics Provider without manually writing the String.Class that provides an AAS the infrastructure to access the metrics provider.
This class includes the functionality that adds the metrics exposed by the Metrics Provider as properties of an AAS submodel, as well as providing the implementation required for those properties to correctly retrieve the values
If we wish to add any custom meters to our AAS, we can also use this class as a class to do so, ensuring that all metrics (custom or not) are accessed in the same way.Generic collection supplier.Holds a received JSON object.Implements a meter getter based onMetricsAasConstructor.JsonObjectHolder.Receives monitoring information via the transport layer.Receives monitoring information via the transport layer.Predicate to determine whether pushing a meter value shall happen.Class that implements a REST client to retrieve the Meters from the Metrics Provider.
This class contains the method implementations to send different requests to the Metrics Provider.