Skip to content
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

Merged
merged 4 commits into from
Jan 18, 2024

Conversation

scottopell
Copy link
Contributor

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.

@scottopell scottopell requested review from a team as code owners December 28, 2023 17:06
Comment on lines 22 to 24
environment:
- DD_API_KEY=000000001
- DD_JMX_TELEMETRY_ENABLED=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link

@apigirl apigirl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny editorial nit

README.md Outdated Show resolved Hide resolved
Co-authored-by: Kaylyn <[email protected]>
@scottopell
Copy link
Contributor Author

@apigirl if your concern is addressed, can I get an approval here please?

@scottopell
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Jan 18, 2024

🚂 MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation.!

@dd-devflow
Copy link

dd-devflow bot commented Jan 18, 2024

❌ 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:

  • ci/circleci: test_openjdk8

If you need support, contact us on Slack #ci-interfaces with those details!

@scottopell scottopell merged commit f4d3e97 into master Jan 18, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants