Caution
Preview: Splunk Zero Config Auto Instrumentation
Preview features described in this document are provided by Splunk to you βas isβ without any warranties, maintenance and support, or service-level commitments. Splunk makes this preview feature available in its sole discretion and may discontinue it at any time. Use of preview features is subject to the Splunk General Terms .
Splunk OpenTelemetry Zero Configuration Auto Instrumentation for .NET π
Splunk OpenTelemetry Zero Configuration Auto Instrumentation for .NET provides a package that automatically instruments your local ASP.NET applications to capture and report distributed traces to the Splunk Distribution of OpenTelemetry Collector, and then on to Splunk APM.
The Zero Configuration package provides the following benefits:
You can start streaming traces and monitor distributed applications with Splunk APM in minutes.
You donβt need to configure or instrument your .NET back-end services or applications before deployment.
Install the package π
By default, the installer script only installs the Collector. If you add the with_dotnet_instrumentation
parameter, the script also downloads and installs the SignalFx Instrumentation for .NET.
Run the PowerShell script with the with_dotnet_instrumentation
parameter, as shown in the following example:
& {Set-ExecutionPolicy Bypass -Scope Process -Force; `
$script = ((New-Object System.Net.WebClient).DownloadString('https://dl.signalfx.com/splunk-otel-collector.ps1')); `
$params = @{access_token = "<access_token>"; realm = "<realm>"; mode = "agent"; with_dotnet_instrumentation = "`$true"; deployment_env = "<environment_name>"}; `
Invoke-Command -ScriptBlock ([scriptblock]::Create(". {$script} $(&{$args} @params)"))}
Do the following to customize the command:
Replace
<environment_name>
with the label for the target environment.Replace
<access_token>
with a valid Splunk Observability Cloud access token. To obtain an access token, see Retrieve and manage user API access tokens using Splunk Observability Cloud.Replace
<realm>
is the Splunk Observability Cloud realm, for example,us0
. To find the realm name of your account, open the navigation menu in Splunk Observability Cloud, select , and then select your username. The realm name appears in the Organizations section.
Configure the .NET instrumentation π
To configure the instrumentation, see Configure the SignalFx Instrumentation for .NET.
Upgrade the package π
You can upgrade the package by installing a new version of the SignalFx Instrumentation for .NET. See .NET application for Splunk Observability Cloud.
If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.
Available to Splunk Observability Cloud customers
Submit a case in the Splunk Support Portal .
Call Splunk Customer Support .
Available to prospective customers and free trial users
Ask a question and get answers through community support at Splunk Answers .
Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.
To learn about even more support options, see Splunk Customer Success .