Datadog Integration
How to Activate the Datadog Integration
Send the metrics of your cloud, JMeter and k6 load tests to Datadog while the test runs, so you can see them next to the rest of your monitoring data.
- In LoadFocus, open the new-test or edit-test page and find the Integration configuration section.
- Click View integrations, add a new Datadog integration and save it. You can also manage integrations from account settings under Integrations.
- Back on the test, pick the Datadog integration in the Integrations select and save the test.
Integration Fields
- Name: A name to recognise the integration by.
- API Key: Your Datadog API key.
- Datadog SITE: The region of your Datadog account: US1, US3, US5, EU, AP1 or US1-FED.
- Send Results as Logs: Also send each result to Datadog as a log event. On by default. JMeter tests only.
- Include Sub results: Also send sub-results. On by default. JMeter tests only.
k6 tests send metrics only, so the two switches above do not apply to them.
To create a Datadog API key, see Datadog's API key documentation. Copy the key when it is shown, Datadog does not show it again.
Use One Integration Per Setup
If different tests need different Datadog settings (for example one account or site for some tests and another for the rest), create one integration for each setting and select the right one on each test.
See the Data in Datadog
Once a test that uses the integration runs, its metrics arrive in your Datadog account. Build your own dashboard there to put them next to system metrics such as CPU and memory. If you turned on Send Results as Logs, use the Datadog Log Explorer to filter individual results, for example error responses or slow requests.
Removing the Datadog Integration
- Open account settings and go to Integrations.
- Click the delete icon on the Datadog integration.