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

issue 48724 add custom dd jmx beans to ecs #103

Merged

Conversation

labkey-willm
Copy link
Contributor

@labkey-willm labkey-willm commented Jul 1, 2024

Rationale

For the datadog agent to collect JMX metrics from inside the container running in ECS, we must add a slew of new java options, and a new JAVA_RMI_SERVER_HOSTNAME env var. This can be set to 'localhost' in most deployments.

If deploying to ECS with EC2 instances, and using awsvpc mode (instead of bridge), you will also need to set up Discovery Service for the ECS service, and use the resulting URI as both the JAVA_RMI_SERVER_HOSTNAME env var and as a dockerLabel, for the datadog agent to see and use with AutoDiscovery.

Related Pull Requests

Changes

  • add JMX java command options

unrelated changes of opportunity

  • pin eclipse-temurin base to '17-jre-jammy'

@labkey-willm labkey-willm merged commit 7784196 into develop Jul 1, 2024
6 checks passed
@labkey-willm labkey-willm deleted the fb_18_issue-48724-add-custom-dd-jmx-beans-to-ecs branch July 1, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants