djoos-cookbooks / newrelic

Development repository for the newrelic cookbook
https://supermarket.chef.io/cookbooks/newrelic
MIT License
143 stars 247 forks source link

[agent_dotnet] Add support for enabling distributed tracing on the newrelic.config.erb template #379

Closed scrthq closed 4 years ago

scrthq commented 5 years ago

This is primarily focused on the dotnet agent, but I'm also not seeing this newer functionality in anywhere in the repo, so I'm assuming that it's not supported in this cookbook at all yet. Pics/references will be using the .NET Agent as the example.

What needs to happen:

  <distributedTracing enabled="<%= @resource.distributed_tracing_enabled %>" />
attribute :distributed_tracing_enabled, :kind_of => [TrueClass, FalseClass], :default => false

Image showing the config setting from the .NET agent documentation (click the image to view the doc page directly):

image


Pull request with code changes: Add Distributed Tracing support for the .NET Agent #380

djoos commented 4 years ago

Fixed in #380