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.

image-20240930-113154.png

For further information and requirements see: https://docs.dynatrace.com/docs

The integration includes traces, logs and metrics:

image-20240726-121839.png

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

https://www.youtube.com/watch?v=DPpO7R_ipzc&t=34s

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:

Configure

  1. Login to https://insights.kuppsoft.com

  2. Ensure Power Platform Monitoring is configured

  3. Configure Dynatrace connection

image-20240930-131543.png
  1. Test

image-20240930-131622.png
  1. Trigger any action in dynamics

  2. Review traces

image-20240930-131948.png

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.

KPI_Dynatrace-20240726-114500.png

Arguments and Context specific parameters

Execution-specific arguments are automatically available.

image-20240726-123733.png

Exceptions

All exceptions will be flagged and directly linked to the span/root cause.

KPI_Exceptions-20240726-114713.png

Context propagation

Kpi supports Context propagation, that means a tracing context will be forwarded to external applications called by dataverse code:

image-20240930-133023.png

Service Monitoring

For each dataverse event (endpoint), like “create account” an endpoint overview shows all related events and metrics.

image-20240726-122456.png

Dashboards & Reports

Custom dashboards are fully supported. Any span or custom logs like plugin trace logs are available via DQL.

image-20240726-124616.png

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

Need help? Contact support