Open Telemetry & Dynatrace
Introduction
The Dynatrace integration is an extension to Power Platform Monitoring which is based on OpenTelemetry.
The telemetry data will be sent to dynatrace right after being processed by KPI.
For further information and requirements see: https://docs.dynatrace.com/docs
The integration includes traces, logs and metrics:
Introduction Video
Chapter List: 00:00
Welcome and session overview 03:00
In-depth use case: Performance analysis 07:18
In-depth use case: Error Analysis 13:28
- Final thoughts
Open Telemetry
KPI supports the OTel standard to collect and provide telemetry data for dataverse internal executions of plugins, custom apis or any other kind of custom code paths.
See: https://opentelemetry.io/docs/specs/otel/overview/
Integration Setup
Requirements:
Dynatrace API Access Token - https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry
Dataverse System Administrator - Integrations
Configure
Login to https://insights.kuppsoft.com
Ensure Power Platform Monitoring is configured
Configure Dynatrace connection
Test
Trigger any action in dynamics
Review traces
Analyze Traces
Data Mapping
Dynamics | Dynatrace | Description |
---|---|---|
Business Event | Endpoint | e.g. Create Account |
Entity | Business Entity | Records in dataverse (e.g. account) |
Correlationid | TraceId | Unique ID for distributed traces |
Entry Point | Root Span | First action within a trace |
Execution | Trace | A trace contains multiple executions. |
Execution Context | Custom trace attribute | Kpi.Context - Contains all context and business data values |
Distributed Traces
Code spans are connected to other code execution paths, like asynchronous executions of additional workflows.
Arguments and Context specific parameters
Execution-specific arguments are automatically available.
Exceptions
All exceptions will be flagged and directly linked to the span/root cause.
Context propagation
Kpi supports Context propagation, that means a tracing context will be forwarded to external applications called by dataverse code:
Service Monitoring
For each dataverse event (endpoint), like “create account” an endpoint overview shows all related events and metrics.
Dashboards & Reports
Custom dashboards are fully supported. Any span or custom logs like plugin trace logs are available via DQL.
Roadmap
This section is currently being updated, some topics may not yet be up to date
Resources
This section is currently being updated, some topics may not yet be up to date
Troubleshooting / FAQ
This section is currently being updated, some topics may not yet be up to date