-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMLII-1359: Adds a local docker-compose env to test JMXFetch inside the agent #504
Conversation
docker-compose.yaml
Outdated
environment: | ||
- DD_API_KEY=000000001 | ||
- DD_JMX_TELEMETRY_ENABLED=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment: | |
- DD_API_KEY=000000001 | |
- DD_JMX_TELEMETRY_ENABLED=true | |
env_file: .env # has entry with DD_API_KEY=000000001 | |
environment: | |
- DD_JMX_TELEMETRY_ENABLED=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny editorial nit
Co-authored-by: Kaylyn <[email protected]>
@apigirl if your concern is addressed, can I get an approval here please? |
/merge |
🚂 MergeQueue Pull request added to the queue. This build is going to start soon! (estimated merge in less than 0s) Use |
❌ MergeQueue Tests failed on this commit 36fede8 You should fix those tests and then re-add your pull request to the queue! Details
checks are failing:
If you need support, contact us on Slack #ci-interfaces with those details! |
This adds a
docker-compose
based environment where local changes to JMXFetch can be easily tested.No particular setup required, simply running
docker compose up
will build and run the necessary containers.A future improvement would be to allow custom configurations for
misbehaving-jmx-server
so that more than 1 bean can be tested, however that is left for future improvement.