-
Notifications
You must be signed in to change notification settings - Fork 142
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
dd-dotnet.sh from Trace.Bundle 3.4.1 #6327
Comments
Sorry, I'm a little confused, are you referring to the Alternatively, if you're trying to set up AzureContainerApps, you don't need to use |
Hi @andrewlock ,
Given that dotnet.sh only download latest version of dd-trace-dotnet should I really use the dotnet.sh script provided by the serverless-init docker image (especially if I have a reference to a non latest version of Datadog.Trace) ? |
Apologies for the delay @saugereau and thanks for the update, that makes complete sense 👍 In terms of your configuration, I agree, what you are suggesting is pretty much the correct approach, I would just make a couple of tweaks to your suggestion: # Also chmod and run the createLogPath.sh script
RUN chmod +x /app/datadog/dd-dotnet.sh && \
chmod +x /app/datadog/linux-x64/dd-dotnet && \
chmod +x /app/datadog/linux-arm64/dd-dotnet && \
/myapp/datadog/createLogPath.sh
USER $APP_UID
# Invert these, so that the entrypoint is `dd-dotnet.sh`
ENTRYPOINT ["/app/datadog/dd-dotnet.sh"]
CMD ["run", "/app/datadog-init", "dotnet", "myapp.dll"] Otherwise this looks spot on, we'll make sure to document this in the ACA documentation, thanks for bringing it up! |
Hello @andrewlock , |
Yes, correct
Yes, it needs a |
Describe the bug
Installation of Trace.Bundle 3.4.1 does not match the following documentation : https://docs.datadoghq.com/serverless/azure_container_apps/?code-lang=dotnet
The dd-dotnet.sh needs an argument
To Reproduce
When following the documentation :
Runtime environment (please complete the following information):
Additional context
Config looks working with (/app is workdir)
Can you confirm that this kind of configuration is expected ?
Should the documentation be updated ?
The text was updated successfully, but these errors were encountered: