Skip to content

Conversation

@ava-silver
Copy link
Contributor

@ava-silver ava-silver commented Oct 28, 2025

What and why?

Creates the new container-app instrument command, which adds the sidecar to an existing container app. This will support customers using container apps who are not using terraform, and would like to programmatically set up their applications.
For now, this will be in beta until the full command is ready.

How?

Refactors a lot of the helpers used in the aas package, and some of the constants used in the cloud-run package, so we can use them for container apps as well, and adds the instrument command for container apps.

In a later PR, i'll do some more refactoring to see how much we can consolidate cloud run and container apps so we can simplify the instrumentation logic (since they both run on kubernetes)

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Oct 28, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7b6aef2 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

sidecarContainer === undefined ||
sidecarContainer.image !== SIDECAR_IMAGE ||
sidecarContainer.targetPort !== SIDECAR_PORT ||
sidecarContainer.targetPort !== String(SIDECAR_PORT) ||
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the constant is now a number so we have to convert back here due to azure's spec

envVars.DD_TAGS = config.extraTags
}
// Get base environment variables
let envVars = getBaseEnvVars(config)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the variables shared across web apps and container apps are created here now

@ava-silver ava-silver changed the title [SVLS-7763] initial at container app instrument [SVLS-7763] create (beta) container app instrument command Oct 28, 2025
@ava-silver ava-silver force-pushed the ava.silver/svls-7763/initial-at-container-app-instrument branch from 6a63ec8 to 51932a4 Compare October 29, 2025 22:37
@ava-silver ava-silver force-pushed the ava.silver/svls-7763/initial-at-container-app-instrument branch from c79c0c5 to cfe9f25 Compare October 30, 2025 16:21
@ava-silver ava-silver added enhancement New feature or request serverless Related to [aas, cloud-run, lambda, stepfunctions] labels Oct 30, 2025
@ava-silver ava-silver marked this pull request as ready for review October 30, 2025 20:03
@ava-silver ava-silver requested review from a team as code owners October 30, 2025 20:03
@domalessi
Copy link

domalessi commented Oct 30, 2025

Created DOCS-12487 for Docs team review!

@domalessi domalessi added the editorial review Needs an editoral review from the Documentation team label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorial review Needs an editoral review from the Documentation team enhancement New feature or request serverless Related to [aas, cloud-run, lambda, stepfunctions]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants