DevCycle provides the following integrations with Datadog:
DevCycle's feature flag tracking integration enriches your RUM data with your feature's variable evaluations to provide visibility into performance monitoring and behavioral changes. Determine which users are shown a specific user experience and if it is negatively affecting the user's performance.
Feature flag tracking is available in the RUM Browser SDK. For detailed setup instructions, visit the Getting started with Feature Flag data in RUM guide.
- Update your Browser RUM SDK version 4.25.0 or above.
- Initialize the RUM SDK and configure the
enableExperimentalFeatures
initialization parameter with["feature_flags"]
. - Initialize DevCycle's SDK and subscribe to the
variableEvaluated
event, callingaddFeatureFlagEvaluation
from within the subscription callback.
// initialize the dvcClient
const user = { user_id: "my_user" };
const dvcOptions = { logLevel: "debug" };
const dvcClient = initialize("<DVC_CLIENT_SDK_KEY>", user, dvcOptions);
// for all variable evaluations
dvcClient.subscribe(
"variableEvaluated:*",
(key, variable) => {
datadogRum.addFeatureFlagEvaluation(key, variable.value);
}
)
// for a particular variable's evaluations
dvcClient.subscribe(
"variableEvaluated:my-variable-key",
(key, variable) => {
datadogRum.addFeatureFlagEvaluation(key, variable.value);
}
)
The DevCycle integration does not include any metrics.
The DevCycle integration does not include any events.
The DevCycle integration does not include any service checks.
Need help? Contact Datadog Support.
Learn more about DevCycle and the DataDog RUM integration.