Skip to content

Metric Outbound Connector

The metric outbound connector performs live mean and median calculation for each permission request status for all region connectors. When a new ConnectionStatusMessage received, the duration of the previous state of the Permission Process Model is calculated. Then, the median duration, accumulative mean and count are updated and persisted in metric.permission_request_metrics, from which the metrics report is generated and periodically sent to the configured endpoint.

ParameterTypeDefaultDescription
outbound-connector.metric.enabledtrue or falsefalseEnables or disables the Metric outbound connector.
outbound-connector.metric.eddie-idStringIdentifier of the EDDIE instance.
outbound-connector.metric.intervalSpring Cron Syntax0 0 */12 * * * (i.e. every 12 hours)Interval to periodically retrieve and send the metrics.
outbound-connector.metric.endpointURIhttps://eddie.energy/metadata-sharingURL to which the metrics report is sent.
properties
outbound-connector.metric.enabled=true
outbound-connector.metric.eddie-id=eddie
outbound-connector.metric.interval=0 0 */12 * * *
outbound-connector.metric.endpoint=https://eddie.energy/metadata-sharing
yaml
outbound-connector:
  metric:
    enabled: true
    eddie-id: eddie
    interval: 0 0 */12 * * *
    endpoint: https://eddie.energy/metadata-sharing
dotenv
OUTBOUND_CONNECTOR_METRIC_ENABLED=true
OUTBOUND_CONNECTOR_METRIC_EDDIE_ID=eddie
OUTBOUND_CONNECTOR_METRIC_INTERVAL=0 0 */12 * * *
OUTBOUND_CONNECTOR_METRIC_ENDPOINT=https://eddie.energy/metadata-sharing