The Dynatrace events integration is only available to customers on select plans. To learn more, read about our pricing. To upgrade your plan, contact Sales.
This topic explains how to use the LaunchDarkly Dynatrace events integration. The LaunchDarkly Dynatrace events integration makes it easier to diagnose problems by sending flag change events to Dynatrace. Dynatrace can display those events alongside performance graphs, making it easier for Dynatrace users to correlate feature rollouts to changes in operational health.

The integration only sends flag actions to Dynatrace. To learn more, read Feature flag actions.
To send flag change events to Dynatrace:
To use the LaunchDarkly Dynatrace integration successfully, you must meet the following prerequisites:
https://csd50042.live.dynatrace.com. Copy this URL and save it.The Dynatrace API token authenticates the LaunchDarkly integration so it can submit events to your Dynatrace account. To learn more about Dynatrace’s API tokens, read Dynatrace’s documentation.
The access scope of the token depends on which version of the Dynatrace API integration you’re using:
Here’s how to add and configure the Dynatrace integration:
Dynatrace uses specific entity types for applications within it. For example, if Dynatrace is monitoring your software application and flag change events appear on that Dynatrace’s timeline, the application has an entity type such as SERVICE, APPLICATION, or PROCESS_GROUP_INSTANCE.
To find the application entity type, navigate to the Dynatrace page for the entity and examine the URL. It contains the entity type in capital letters. In this example, the entity type is PROCESS_GROUP_INSTANCE:

The “Policy” field lets you control which LaunchDarkly events are sent to Dynatrace. The Resource specifier in the default policy value allows Production environments across all projects to send events:
To learn more about the resource configuration fields, read Using resources.
You may want to override the default policy for various reasons, including restricting how the integration receives and exports events. Using the policy editor, you can restrict the integration to:
For example, to restrict the policy to a single project called cool-app, set the policy configuration’s Resource field to the following Resource specifier:
The policy above makes it so that the only events the integrations sends to Dynatrace are flag events from the cool-app project’s Production environment.
If you need to restrict or allow a more complex set of resources than you can specify in a single policy, you might want to add multiple Dynatrace integrations and configure each one to a specific task. Each integration can have its own separate policy configuration.
To learn more about using the policy editor, read Using policies.
If you do not specify a Dynatrace tag in the integration’s configuration, then the integration will only send events from flags that are explicitly associated with Dynatrace tags. In this case, it does not send events from every flag in your LaunchDarkly project.
The integration lets you view an application’s flag change events beside its performance graphs. This makes it easier to correlate problems with the flag changes that may have caused them.
For this to be most effective, attach a flag’s events to all the applications the flag affects, and only those applications.
Associating flags with Dynatrace tags ensures that flag events are attached to the Dynatrace entities which are affected by those events. To learn more about Dynatrace tags, read Dynatrace’s documentation.
To associate a flag with one or more applications using Dynatrace tags:


Now events from your feature flags appear in Dynatrace.
After you configure the LaunchDarkly integration, flag changes appear as events on the Dynatrace event timelines for your applications, or whatever entities you selected.
If an event doesn’t appear on Dynatrace after you’ve changed a flag, you can try the following techniques:
Dynatrace can take up to three minutes to register inbound events.
In addition, the Events timeline on a Dynatrace page may be frozen to a particular time range, and won’t automatically update. Reload the page to update the timeline range.
Dynatrace’s API only provides access to entities, such as applications, which have recently registered data from Dynatrace Agents. Entities without recent data may be visible in the Dynatrace user interface, but may be unable to register flag changes or other kinds of events.
Verify that Dynatrace OneAgent is running and monitoring the entity, and that the entity is displaying recent traffic data on its Dynatrace page.
The LaunchDarkly Dynatrace integration only sends change events for a flag if that flag has a tag association in its custom properties. To learn more, read Associate flags with Dynatrace tags.
To learn more, read the step about Dynatrace entity types in Configure the Dynatrace integration.