DataDog / dd-trace-dotnet

.NET Client Library for Datadog APM
https://docs.datadoghq.com/tracing/
Apache License 2.0
434 stars 135 forks source link

Provide an easy way to deploy the tracer in enterprise environments #4068

Open ArthurHNL opened 1 year ago

ArthurHNL commented 1 year ago

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.

pierotibou commented 1 year ago

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.

lucaspimentel commented 1 year ago

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)

ArthurHNL commented 1 year ago

@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.

lucaspimentel commented 1 year ago

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

Oops, thanks for pointing that out!

RobWaterhouse95 commented 10 months ago

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