The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
Originally posted by **okHadi** September 24, 2024
This is my current config.yml:
```config:
target: "https://www.example.com"
phases:
- duration: 30
arrivalCount: 10
config:
plugins:
publish-metrics:
- type: datadog
# DD_API_KEY is an environment variable containing the API key
apiKey: "{{ $env.DD_API_KEY }}"
apiHost: app.datadoghq.eu
tags:
- "testId:{{ $testId }}"
- "reporterType:datadog-api"
scenarios:
- flow:
- get:
url: "/"
- log: "API key is: {{ $env.DD_API_KEY }}"
```
The API Key logs fine. It is a very basic test and I expect some metrics to be available in Datadog. However, I see none. I've tried running locally as well as on GitHub Actions but I see no metrics. I've to replicate this simple POC for a bigger loadtest but I can't get it this to work.
Testing Github Actions workflow: https://github.com/okHadi/dd-artillery/actions/runs/11015991845
I've tested this on two different systems with two different accounts but still metrics are not being published.
Discussed in https://github.com/artilleryio/artillery/discussions/3347