Skip to content

Commit e21ecbb

Browse files
authored
Ansible: replace SFx.NET with Splunk OTel for dotnet (#5833)
* Rename `signalfx_dotnet` to `splunk_dotnet` Ansible vars * Rename custom env vars for .NET instrumentation * Remove verification of machine wide env vars * Adjust env vars * Update Splunk doc links * Update Ansible changelog * Download and running Splunk OTel .NET Install * Lint fixes * Change version for converge test * Use win_powershell instead of the generic win_shell * Update CLR Profiler GUID * Remove hardcoded version * Missed replacements * Do not set OTel zc for dotnet on default env vars * Fix splunk.zc.method * Skip molecure idempotence test for install splunk-otel-dotnet * Change splunk.zc.method * Fix missing double-quotes * Fix OTEL_RESOURCE_ATTRIBUTES * Fix line too long * Remove leftover *_global_tags * Fix cmdlet name typo * Fix code to get installed version * Return value for win_powershell * Fix lint: long line * Fix "Set system-wide registry value" task * Task to get .NET instrumentation is not idempotent * Another idempotency skip * Skip idempotency test for "Set IIS registry value" * Fix multiline initialization * Workaround version returning version of OTel not Splunk
1 parent 15aaa9e commit e21ecbb

File tree

11 files changed

+160
-214
lines changed

11 files changed

+160
-214
lines changed

deployments/ansible/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## ansible-v0.31.0
4+
5+
### 🛑 Breaking changes 🛑
6+
7+
- Install the [Splunk Distribution of OpenTelemetry .NET](https://docs.splunk.com/observability/en/gdi/get-data-in/application/otel-dotnet/get-started.html#instrument-net-applications-for-splunk-observability-cloud-opentelemetry)
8+
instead of the [SignalFx Instrumentation for .NET](https://docs.splunk.com/observability/en/gdi/get-data-in/application/otel-dotnet/sfx/sfx-instrumentation.html#signalfx-instrumentation-for-net-deprecated)
9+
when setting `install_splunk_dotnet_auto_instrumentation` to `true`.
10+
Corresponding configuration options were renamed from `signalfx_dotnet_*` to `splunk_dotnet_*`.
11+
312
## ansible-v0.30.0
413

514
### 💡 Enhancements 💡

deployments/ansible/molecule/custom_vars/windows-converge.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
splunk_otel_collector_additional_env_vars:
2121
MY_CUSTOM_VAR1: value1
2222
MY_CUSTOM_VAR2: value2
23-
install_signalfx_dotnet_auto_instrumentation: true
24-
signalfx_dotnet_auto_instrumentation_version: 1.0.0
25-
signalfx_dotnet_auto_instrumentation_system_wide: true
26-
signalfx_dotnet_auto_instrumentation_environment: test-environment
27-
signalfx_dotnet_auto_instrumentation_service_name: test-service-name
28-
signalfx_dotnet_auto_instrumentation_enable_profiler: true
29-
signalfx_dotnet_auto_instrumentation_enable_profiler_memory: true
30-
signalfx_dotnet_auto_instrumentation_global_tags: dotnet-tag:dotnet-tag-value
31-
signalfx_dotnet_auto_instrumentation_additional_options:
32-
SIGNALFX_DOTNET_VAR1: dotnet-value1
33-
SIGNALFX_DOTNET_VAR2: dotnet-value2
23+
install_splunk_dotnet_auto_instrumentation: true
24+
splunk_dotnet_auto_instrumentation_version: 1.8.0
25+
splunk_dotnet_auto_instrumentation_system_wide: true
26+
splunk_dotnet_auto_instrumentation_environment: test-environment
27+
splunk_dotnet_auto_instrumentation_service_name: test-service-name
28+
splunk_dotnet_auto_instrumentation_enable_profiler: true
29+
splunk_dotnet_auto_instrumentation_enable_profiler_memory: true
30+
splunk_dotnet_auto_instrumentation_additional_options:
31+
SPLUNK_DOTNET_VAR1: dotnet-value1
32+
SPLUNK_DOTNET_VAR2: dotnet-value2
33+
splunk_otel_auto_instrumentation_resource_attributes: dotnet-tag=dotnet-tag-value
3434
tasks:
3535
- name: "Include signalfx.splunk_otel_collector.collector role"
3636
include_role:

deployments/ansible/molecule/custom_vars/windows-verify.yml

Lines changed: 9 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,16 @@
1616
MY_CUSTOM_VAR2: value2
1717
iis_reg_values:
1818
COR_ENABLE_PROFILING: "1"
19-
COR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}"
19+
COR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}"
2020
CORECLR_ENABLE_PROFILING: "1"
21-
CORECLR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}"
22-
SIGNALFX_ENV: test-environment
23-
SIGNALFX_SERVICE_NAME: test-service-name
24-
SIGNALFX_PROFILER_ENABLED: "true"
25-
SIGNALFX_PROFILER_MEMORY_ENABLED: "true"
26-
SIGNALFX_GLOBAL_TAGS: splunk.zc.method:signalfx-dotnet-tracing-1.0.0,dotnet-tag:dotnet-tag-value
27-
SIGNALFX_DOTNET_VAR1: dotnet-value1
28-
SIGNALFX_DOTNET_VAR2: dotnet-value2
29-
machine_reg_values:
30-
SIGNALFX_DOTNET_TRACER_HOME: '{{ ansible_env.ProgramFiles }}\SignalFx\.NET Tracing\'
21+
CORECLR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}"
22+
OTEL_RESOURCE_ATTRIBUTES: >-
23+
deployment.environment=test-environment,dotnet-tag=dotnet-tag-value,splunk.zc.method=splunk-otel-dotnet-1.9.0
24+
OTEL_SERVICE_NAME: "test-service-name"
25+
SPLUNK_PROFILER_ENABLED: "true"
26+
SPLUNK_PROFILER_MEMORY_ENABLED: "true"
27+
SPLUNK_DOTNET_VAR1: dotnet-value1
28+
SPLUNK_DOTNET_VAR2: dotnet-value2
3129
tasks:
3230
- name: Check splunk-otel-collector service
3331
ansible.windows.win_service:
@@ -93,24 +91,6 @@
9391
assert:
9492
that: custom_fluentd_config.stat.checksum == td_agent_config.stat.checksum
9593

96-
- name: Download signalfx-dotnet-tracing-1.0.0-x64.msi
97-
ansible.windows.win_get_url:
98-
url: "https://github.com/signalfx/signalfx-dotnet-tracing/releases/download/\
99-
v1.0.0/signalfx-dotnet-tracing-1.0.0-x64.msi"
100-
dest: "{{ansible_env.TEMP}}"
101-
register: dotnet_msi_package
102-
103-
- name: Install signalfx-dotnet-tracing-1.0.0-x64.msi
104-
ansible.windows.win_package:
105-
path: "{{dotnet_msi_package.dest}}"
106-
state: present
107-
check_mode: yes
108-
register: msi_installed
109-
110-
- name: Assert signalfx-dotnet-tracing-1.0.0-x64.msi is already installed
111-
assert:
112-
that: not msi_installed.changed
113-
11494
- name: Get IIS env vars
11595
ansible.windows.win_reg_stat:
11696
path: HKLM:\SYSTEM\CurrentControlSet\Services\W3SVC
@@ -132,11 +112,3 @@
132112
assert:
133113
that: (item.key + '=' + (item.value | string)) in collector_env.value
134114
loop: "{{ collector_reg_values | dict2items }}"
135-
136-
- name: Verify env vars
137-
include_tasks: ../shared/verify_registry_key.yml
138-
vars:
139-
path: HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
140-
name: "{{ item.key }}"
141-
value: "{{ item.value }}"
142-
loop: "{{ machine_reg_values | dict2items }}"

deployments/ansible/molecule/with_instrumentation/windows-converge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
splunk_access_token: fake-token
77
splunk_realm: fake-realm
88
install_fluentd: false
9-
install_signalfx_dotnet_auto_instrumentation: true
10-
signalfx_dotnet_auto_instrumentation_github_token: ${GITHUB_TOKEN}
9+
install_splunk_dotnet_auto_instrumentation: true
10+
splunk_dotnet_auto_instrumentation_github_token: ${GITHUB_TOKEN}
1111
tasks:
1212
- name: "Include signalfx.splunk_otel_collector.collector role"
1313
include_role:

deployments/ansible/molecule/with_instrumentation/windows-verify.yml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,11 @@
1414
SPLUNK_INGEST_URL: https://ingest.fake-realm.signalfx.com
1515
iis_reg_values:
1616
COR_ENABLE_PROFILING: "1"
17-
COR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}"
17+
COR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}"
1818
CORECLR_ENABLE_PROFILING: "1"
19-
CORECLR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}"
20-
SIGNALFX_ENV: ""
21-
SIGNALFX_SERVICE_NAME: ""
22-
SIGNALFX_PROFILER_ENABLED: "false"
23-
SIGNALFX_PROFILER_MEMORY_ENABLED: "false"
24-
machine_reg_values:
25-
SIGNALFX_DOTNET_TRACER_HOME: '{{ ansible_env.ProgramFiles }}\SignalFx\.NET Tracing\'
19+
CORECLR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}"
20+
SPLUNK_PROFILER_ENABLED: "false"
21+
SPLUNK_PROFILER_MEMORY_ENABLED: "false"
2622
tasks:
2723
- name: Check splunk-otel-collector service
2824
ansible.windows.win_service:
@@ -31,21 +27,6 @@
3127
check_mode: yes
3228
register: service_status
3329

34-
- name: Get installed signalfx-dotnet-tracing MSI version
35-
ansible.windows.win_shell: |
36-
$msi_version = ""
37-
$msi_name = "SignalFx .NET Tracing 64-bit"
38-
$regkey = "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall"
39-
$msi_version = (Get-ItemProperty ${regkey}\* | Where { $_.DisplayName -eq "$msi_name" }).DisplayVersion
40-
echo $msi_version
41-
register: msi_version
42-
43-
- name: Add SIGNALFX_GLOBAL_TAGS to iis_reg_values
44-
set_fact:
45-
iis_reg_values: |-
46-
{%- set tags = "splunk.zc.method:signalfx-dotnet-tracing-" + (msi_version.stdout | trim) -%}
47-
{{ iis_reg_values | combine({"SIGNALFX_GLOBAL_TAGS": tags}) }}
48-
4930
- name: Get IIS env vars
5031
ansible.windows.win_reg_stat:
5132
path: HKLM:\SYSTEM\CurrentControlSet\Services\W3SVC
@@ -75,11 +56,3 @@
7556
name: "{{ item.key }}"
7657
exists: false
7758
loop: "{{ iis_reg_values | dict2items }}"
78-
79-
- name: Verify .NET tracing MSI env vars were added to the system
80-
include_tasks: ../shared/verify_registry_key.yml
81-
vars:
82-
path: HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
83-
name: "{{ item.key }}"
84-
value: "{{ item.value }}"
85-
loop: "{{ machine_reg_values | dict2items }}"

deployments/ansible/roles/collector/README.md

Lines changed: 47 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ to take effect.
254254
**Note:** This role does not manage the installation/configuration of
255255
Node.js or `npm`.
256256

257-
- `splunk_otel_auto_instrumentation_resource_attributes` (Linux only):
257+
- `splunk_otel_auto_instrumentation_resource_attributes`:
258258
Configure the OpenTelemetry instrumentation resource attributes,
259259
e.g. `deployment.environment=prod,my.key=value` (comma-separated
260260
`key=value` pairs. (**default:** ``)
@@ -324,7 +324,7 @@ to take effect.
324324
`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC` registry key will
325325
be overwritten by the options specified below to enable/configure auto
326326
instrumentation for IIS. Use the
327-
`signalfx_dotnet_auto_instrumentation_additional_options` option (see below for
327+
`splunk_dotnet_auto_instrumentation_additional_options` option (see below for
328328
details) to include any other environment variables required for IIS.
329329

330330
**Note:** By default, IIS will be restarted with the `iisreset` command (if it
@@ -334,117 +334,101 @@ effect.
334334

335335
For proxy options, see the [Windows Proxy](#windows-proxy) section.
336336

337-
- `install_signalfx_dotnet_auto_instrumentation` (Windows only): Whether to
338-
install/manage [SignalFx Auto Instrumentation for .NET](
339-
https://docs.splunk.com/Observability/gdi/get-data-in/application/dotnet/get-started.html).
340-
When set to `true`, the `signalfx-dotnet-tracing` MSI package will be
341-
downloaded and installed, and the Windows registry will be updated based on
342-
the options below. (**default:** `false`)
337+
- `install_splunk_dotnet_auto_instrumentation` (Windows only): Whether to
338+
install/manage [Splunk Distribution of OpenTelemetry .NET](
339+
https://docs.splunk.com/observability/en/gdi/get-data-in/application/otel-dotnet/get-started.html). (**default:** `false`)
343340

344-
- `signalfx_dotnet_auto_instrumentation_version` (Windows only): Version of the
345-
`signalfx-dotnet-tracing` MSI package to download and install from
346-
[GitHub Releases](https://github.com/signalfx/signalfx-dotnet-tracing/releases).
341+
- `splunk_dotnet_auto_instrumentation_version` (Windows only): Version of the
342+
`splunk-otel-dotnet` project to download and install from
343+
[GitHub Releases](https://github.com/signalfx/splunk-otel-dotnet/releases).
347344
By default, a request will be made to
348-
`https://api.github.com/repos/signalfx/signalfx-dotnet-tracing/releases/latest`
345+
`https://api.github.com/repos/signalfx/splunk-otel-dotnet/releases/latest`
349346
to determine the latest release. If a version is specified, for example
350-
`1.0.0`, the API request will be skipped and the MSI package will be
347+
`1.0.0`, the API request will be skipped and files will be
351348
downloaded from
352-
`https://github.com/signalfx/signalfx-dotnet-tracing/releases/download/v{{ signalfx_dotnet_auto_instrumentation_version }}/signalfx-dotnet-tracing-{{ signalfx_dotnet_auto_instrumentation_version }}-x64.msi`.
349+
`https://github.com/signalfx/splunk-otel-dotnet/releases/download/v{{ splunk_dotnet_auto_instrumentation_version }}`.
353350
(**default:** `latest`)
354351

355-
- `signalfx_dotnet_auto_instrumentation_msi_url` (Windows only): Specify the
356-
URL to download the `signalfx-dotnet-tracing` MSI to skip the GitHub API
352+
- `splunk_dotnet_auto_instrumentation_url` (Windows only): Specify the
353+
URL to download the `splunk-otel-dotnet` files to skip the GitHub API
357354
request, for example
358-
`https://github.com/signalfx/signalfx-dotnet-tracing/releases/download/v1.0.0/signalfx-dotnet-tracing-1.0.0-x64.msi`,
359-
or to download the MSI from a custom host, for example
360-
`https://my.host/signalfx-dotnet-tracing-1.0.0-x64.msi`. If specified, the
361-
`signalfx_dotnet_auto_instrumentation_version` option is ignored.
355+
`https://github.com/signalfx/splunk-otel-dotnet/releases/download/v1.8.0`,
356+
or to download the files from a custom host, for example
357+
`https://my.host/`. If specified, the
358+
`splunk_dotnet_auto_instrumentation_version` option is ignored.
362359
(**default:** ``)
363360

364-
- `signalfx_dotnet_auto_instrumentation_github_token` (Windows only): Specify
361+
- `splunk_dotnet_auto_instrumentation_github_token` (Windows only): Specify
365362
a token to authenticate with the GitHub API when making requests to get the
366-
latest `signalfx-dotnet-tracing` release. A token is recommended when
367-
`signalfx_dotnet_auto_instrumentation_version` is `latest` or when not using
368-
`signalfx_dotnet_auto_instrumentation_msi_url` since unauthenticated requests
363+
latest `splunk-otel-dotnet` release. A token is recommended when
364+
`splunk_dotnet_auto_instrumentation_version` is `latest` or when not using
365+
`splunk_dotnet_auto_instrumentation_url` since unauthenticated requests
369366
are [rate-limited](https://docs.github.com/en/rest/rate-limit) by GitHub.
370367
(**default:** ``)
371368

372-
- `signalfx_dotnet_auto_instrumentation_iisreset` (Windows only): By default,
369+
- `splunk_dotnet_auto_instrumentation_iisreset` (Windows only): By default,
373370
the `iisreset.exe` command (if it exists) will be executed after
374371
installation/configuration in order for any changes to take effect for IIS
375372
applications. Set this option to `false` to skip this step if IIS is managed
376373
separately or is not applicable. (**default:** `true`)
377374

378-
- `signalfx_dotnet_auto_instrumentation_system_wide` (Windows only): By
375+
- `splunk_dotnet_auto_instrumentation_system_wide` (Windows only): By
379376
default, the `Environment` property in the
380377
`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC` registry key
381378
will be configured for the following environment variables and any from the
382-
`signalfx_dotnet_auto_instrumentation_additional_options` option to
379+
`splunk_dotnet_auto_instrumentation_additional_options` option to
383380
enable/configure auto instrumentation for ***only*** IIS applications:
384381
```yaml
385382
COR_ENABLE_PROFILING: "1" # Required
386-
COR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}" # Required
383+
COR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}" # Required
387384
CORECLR_ENABLE_PROFILING: "1" # Required
388-
CORECLR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874}" # Required
389-
SIGNALFX_ENV: "{{ signalfx_dotnet_auto_instrumentation_environment }}"
390-
SIGNALFX_GLOBAL_TAGS: "{{ signalfx_dotnet_auto_instrumentation_global_tags }}"
391-
SIGNALFX_PROFILER_ENABLED: "{{ signalfx_dotnet_auto_instrumentation_enable_profiler }}"
392-
SIGNALFX_PROFILER_MEMORY_ENABLED: "{{ signalfx_dotnet_auto_instrumentation_enable_profiler_memory }}"
393-
SIGNALFX_SERVICE_NAME: "{{ signalfx_dotnet_auto_instrumentation_service_name }}"
385+
CORECLR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318}" # Required
386+
OTEL_RESOURCE_ATTRIBUTES: "deployment.environment={{ splunk_dotnet_auto_instrumentation_environment }},{{ splunk_otel_auto_instrumentation_resource_attributes }},splunk.zc.method=splunk-otel-dotnet-1.8.0"
387+
OTEL_SERVICE_NAME: "{{ splunk_dotnet_auto_instrumentation_service_name }}"
388+
SPLUNK_PROFILER_ENABLED: "{{ splunk_dotnet_auto_instrumentation_enable_profiler }}"
389+
SPLUNK_PROFILER_MEMORY_ENABLED: "{{ splunk_dotnet_auto_instrumentation_enable_profiler_memory }}"
394390
```
395391
Set this option to `true` to also add these environment variables and any
396-
from the `signalfx_dotnet_auto_instrumentation_additional_options` option to
392+
from the `splunk_dotnet_auto_instrumentation_additional_options` option to
397393
the
398394
`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment`
399395
registry key to enable/configure auto instrumentation for ***all*** .NET
400396
applications on the node. (**default:** `false`)
401397

402-
- `signalfx_dotnet_auto_instrumentation_environment` (Windows only): Configure
398+
- `splunk_dotnet_auto_instrumentation_environment` (Windows only): Configure
403399
this option to set the "Environment" value to be reported to Splunk APM, for
404-
example `production`. The value is assigned to the `SIGNALFX_ENV` environment
400+
example `production`. The value is assigned to the `OTEL_RESOURCE_ATTRIBUTES` environment
405401
variable in the Windows registry (**default:** ``, i.e. the "Environment"
406402
will appear as `unknown` in Splunk APM for the instrumented
407-
service/application)
403+
service/application) using the `deployment.environment` attribute key.
408404

409-
- `signalfx_dotnet_auto_instrumentation_service_name` (Windows only): Configure
405+
- `splunk_dotnet_auto_instrumentation_service_name` (Windows only): Configure
410406
this variable to override the [auto-generated service name](
411-
https://docs.splunk.com/Observability/gdi/get-data-in/application/dotnet/configuration/advanced-dotnet-configuration.html#changing-the-default-service-name)
407+
https://docs.splunk.com/observability/en/gdi/get-data-in/application/otel-dotnet/configuration/advanced-dotnet-configuration.html#changing-the-default-service-name)
412408
for the instrumented service/application, for example `my-service-name`. The
413-
value is assigned to the `SIGNALFX_SERVICE_NAME` environment variable in the
409+
value is assigned to the `OTEL_SERVICE_NAME` environment variable in the
414410
Windows registry. (**default:** ``)
415411

416-
- `signalfx_dotnet_auto_instrumentation_enable_profiler` (Windows only): Set
412+
- `splunk_dotnet_auto_instrumentation_enable_profiler` (Windows only): Set
417413
this option to `true` to enable AlwaysOn Profiling. The value will be
418-
assigned to the `SIGNALFX_PROFILER_ENABLED` environment variable in the
414+
assigned to the `SPLUNK_PROFILER_ENABLED` environment variable in the
419415
Windows registry. (**default:** `false`)
420416

421-
- `signalfx_dotnet_auto_instrumentation_enable_profiler_memory` (Windows only):
417+
- `splunk_dotnet_auto_instrumentation_enable_profiler_memory` (Windows only):
422418
Set this option to `true` to enable AlwaysOn Memory Profiling. The value will
423-
be assigned to the `SIGNALFX_PROFILER_MEMORY_ENABLED` environment variable in
419+
be assigned to the `SPLUNK_PROFILER_MEMORY_ENABLED` environment variable in
424420
the Windows registry. (**default:** `false`)
425421

426-
- `signalfx_dotnet_auto_instrumentation_global_tags` (Windows only):
427-
Comma-separated list of `key:value` pairs that specify global tags added to
428-
all telemetry signals, for example `key1:val1,key2:val2`. The value will be
429-
assigned to the `SIGNALFX_GLOBAL_TAGS` environment variable in the Windows
430-
registry. (**default**: ``)
431-
432-
- `signalfx_dotnet_auto_instrumentation_additional_options` (Windows only):
422+
- `splunk_dotnet_auto_instrumentation_additional_options` (Windows only):
433423
Dictionary of environment variables to be added to the Windows registry
434424
***in addition*** to the options above. (**default:** `{}`)
435425

436426
For example:
437427
```yaml
438-
signalfx_dotnet_auto_instrumentation_additional_options:
439-
SIGNALFX_VERSION: "1.2.3"
440-
SIGNALFX_FILE_LOG_ENABLED: false
441-
# Hint: If the signalfx_dotnet_auto_instrumentation_system_wide option is
442-
# set to true, all .NET applications on the node will be instrumented. Use
443-
# the following options to include/exclude processes from auto
444-
# instrumentation.
445-
SIGNALFX_PROFILER_PROCESSES: MyApp.exe;dotnet.exe
446-
SIGNALFX_PROFILER_EXCLUDE_PROCESSES: ReservedProcess.exe;powershell.exe
428+
splunk_dotnet_auto_instrumentation_additional_options:
429+
SOME_ENV_VAR_00: "1.2.3"
430+
SOME_ENV_VAR_01: "false"
447431
```
448-
Check the [Advanced Configuration Guide](
449-
https://docs.splunk.com/Observability/gdi/get-data-in/application/dotnet/configuration/advanced-dotnet-configuration.html)
432+
Check the [configuration options](
433+
https://docs.splunk.com/observability/en/gdi/get-data-in/application/otel-dotnet/configuration/advanced-dotnet-configuration.html#configure-the-splunk-distribution-of-opentelemetry-net)
450434
for more details about the options above and other supported options.

0 commit comments

Comments
 (0)