Skip to content

dd-dotnet.sh from Trace.Bundle 3.4.1 #6327

Open
@saugereau

Description

@saugereau

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 :

=> ERROR [final 6/6] RUN /app/datadog/dd-dotnet.sh                                                                                                                                                                                                                                                                                                                                                                                                                                     0.3s
------                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
 > [final 6/6] RUN /app/datadog/dd-dotnet.sh:
0.300 Required command was not provided.
0.300 
0.300 Description:
0.300 
0.300 Usage:
0.300   dd-dotnet [command] [options]
0.300 
0.300 Examples:
0.300   dd-dotnet run --dd-env prod -- myApp --argument-for-my-app
0.300   dd-dotnet check process <pid>
0.300   dd-dotnet check iis <website>
0.300 
0.300 Options:
0.300   -?, -h, --help  Show help and usage information
0.300 
0.300 Commands:
0.300   check
0.300   run <command>  Run a command with the Datadog tracer enabled []
0.300 

Runtime environment (please complete the following information):

  • Instrumentation mode: [e.g. automatic with msi installer or manual with NuGet package]
  • Tracer version: 3.4.1
  • OS: Linux Docker Image : dotnet/sdk:8.0
  • CLR: .NET 8.0

Additional context

Config looks working with (/app is workdir)

RUN chmod +x /app/datadog/dd-dotnet.sh &&  \
    chmod +x /app/datadog/linux-x64/dd-dotnet && \
    chmod +x /app/datadog/linux-arm64/dd-dotnet

USER $APP_UID

ENTRYPOINT ["/app/datadog-init"]
CMD ["/app/datadog/dd-dotnet.sh", "run", "dotnet", "myapp.dll"]

Can you confirm that this kind of configuration is expected ?
Should the documentation be updated ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions