Skip to content

Metric framework decision #1745

@lgblaumeiser

Description

@lgblaumeiser

WHAT

A decision record is created that describes, how metrics are created and provided within the connector. In addition, documentation describes that usage of the framework. Metrics are related to the domain level, i.e., business level metrics like number of contracts, number of exchange partners, transfer processes and on the other hand to a technical level to manage the operations like certain resource metrics.

WHY

As operator of a Tractus-X connector, it is crucial to get information on the status of the connector in order to manage the operation. As domain expert providing a certain use case, also information about certain activities are needed, e.g., to gete information relevant in certain audits. There should be a general approach how the metrics should be realized and how they are forwarded to backend systems, so that it can be processed further according to the reporting needs.

HOW

There are two potential solution proposals for now:

  1. Provide metrics using a family of metrics endpoints
  2. Use the OpenTelemetry infrastructure that is already included to provide the metrics

The decision record should outline the intended solution. A documentation should give insides on how to use the infrastructure to create metrics. If necessary, implementation tasks should be created that describe necessary actions to get to a realized framework for the metrics.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions