dd-trace-dotnet icon indicating copy to clipboard operation
dd-trace-dotnet copied to clipboard

Provide an easy way to deploy the tracer in enterprise environments

Open ArthurHNL opened this issue 1 year ago • 5 comments

Currently, there is not an easy way to deploy this tracer using Puppet or Chocolatey, whilst these solutions do exists for the Datadog agent and work great (we use Puppet to manage our servers and deploy the datadog agent to the servers).

We have currently solved this by creating a package for this tracer in our internal Chocolatey repository and then deploying this Chocolaty package using Puppet:

package { 'pd_datadog_dotnet_tracer':
        ensure   => '2.29.0',
        provider => 'chocolatey',
      }

It would be great if there was an official package for the .NET Tracer in the public Chocolatey package catalog so that other entities can benefit from this as well.

Since the tracer is already deployed as an MSI with silent installs available, this can't be too much effort.

ArthurHNL avatar Apr 20 '23 13:04 ArthurHNL

Hello @ArthurHNL, thanks for the feedback and suggestion, that's a great idea.

We're also working on several initiatives to automatically inject the tracer . So we'll need to assess if this feature will still be relevant in the future, but I'll get back to you on that.

pierotibou avatar Apr 20 '23 13:04 pierotibou

For what it's worth, both the Agent and the .NET Tracer are also available on Windows Package Manager (winget):

❯ winget search datadog

Name                Id                      Version  Source
------------------------------------------------------------
Datadog .NET Tracer Datadog.dd-trace-dotnet 2.27.0   winget
Datadog Agent       Datadog.Agent           7.44.0.1 winget

(although I just noticed the tracer is a few versions behind here, I'll look into getting this to auto-update again)

lucaspimentel avatar May 11 '23 22:05 lucaspimentel

@lucaspimentel Thanks for the solution. Unfortunately, winget is not supported on any Windows Server version at the time of writing: https://github.com/microsoft/winget-cli/blob/master/README.md#installing-the-client so this is not an option for us.

ArthurHNL avatar May 15 '23 19:05 ArthurHNL

Unfortunately, winget is not supported on any Windows Server version at the time of writing

Oops, thanks for pointing that out!

lucaspimentel avatar May 15 '23 20:05 lucaspimentel

+1 for choco packages This currently makes the automated installation of the tracer a bit awkward for our .NET VM based applications.

RobWaterhouse95 avatar Nov 17 '23 16:11 RobWaterhouse95