Skip to content

Fix WindowsContainer tracing sample#3208

Merged
zacharycmontoya merged 2 commits into
masterfrom
zach/update-sample
Sep 19, 2022
Merged

Fix WindowsContainer tracing sample#3208
zacharycmontoya merged 2 commits into
masterfrom
zach/update-sample

Conversation

@zacharycmontoya

@zacharycmontoya zacharycmontoya commented Sep 12, 2022

Copy link
Copy Markdown
Contributor

Summary of changes

Fix the C# build error and make required changes for datadog-agent to start properly on the latest Windows 11. After the changes, I am able to see traces in Datadog after following the steps in the sample's README.md

Reason for change

Implementation details

Test coverage

Other details


datadog-agent:
image: "gcr.io/datadoghq/agent:7"
image: "gcr.io/datadoghq/agent:latest"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just FYI, these images are synonymous, so not required 🙂

image: "gcr.io/datadoghq/agent:7"
image: "gcr.io/datadoghq/agent:latest"
environment:
DD_HOSTNAME: "windowscontainer-datadog-agent"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These is the "real" issue - it's a recent requirement in the latest version of the agent. We should ensure that all other docker-compose files that use it similarly have a hostname, e.g.:

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good catch, this was a recent change to the agent to make DD_HOSTNAME required IIRC

@zacharycmontoya
zacharycmontoya merged commit 9ed6ce0 into master Sep 19, 2022
@zacharycmontoya
zacharycmontoya deleted the zach/update-sample branch September 19, 2022 15:58
@github-actions github-actions Bot added this to the vNext milestone Sep 19, 2022
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.

3 participants