Last modified: Dec 20, 2024

Metrics

Altinn App metrics.

This page refers to configuration when OpenTelemetry (OTel) is enabled in the app from v8 and newer. The existing Application Insights SDK setup is obsolete and will be removed in the next major version of the Altinn.App libraries.

The following metrics are built into Altinn.App libraries and are emitted automatically:

Metric NameTypeMeasuresLabels
altinn_app_lib_data_patchedCounterNumber of times the content of a data element was patchedresult = success, error
altinn_app_lib_correspondence_ordersCounterNumber of correspondence ordersresult = success, error
altinn_app_lib_instances_createdCounterNumber of times an instance was created
altinn_app_lib_instances_completedCounterNumber of times an instance was completed
altinn_app_lib_instances_deletedCounterNumber of times an instance was deleted
altinn_app_lib_instances_durationHistogramDuration in seconds an instance was active
altinn_app_lib_notification_ordersCounterNumber of notification orderstype = sms, email; result = success, error
altinn_app_lib_processes_startedCounterNumber of times a process was started
altinn_app_lib_processes_endedCounterNumber of times a process was ended
altinn_app_lib_processes_durationHistogramDuration in seconds a process was active