You can integrate Flagsmith with Datadog in two ways:
1. Send Flag Change events to Datadog
The second type of integration allows you to send Flag change events in Flagsmith into your Datadog event stream.
- Log into Datadog and go to Organization Settings > Access > API
- Generate a new API key
- Add the Datadog API key into Flagsmith (Integrations > Add Datadog Integration)
- Add the Datadog URL into Flagsmith as the Base URL - (This is either
https://api.datadoghq.com/
orhttps://api.datadoghq.eu/
)
Custom Source
By checking the 'Use Custom Source' option, we will send all events with the source 'Flagsmith'. Leaving this unchecked will mean events are labelled with the default 'My apps' source.
Flag change events will now be sent to Datadog.
2. Integrate with the DataDog RUM
You can also send Identity flag values from Flagsmith to DataDog using our Javascript Integration.