@@ -254,7 +254,7 @@ to take effect.
254
254
**Note:** This role does not manage the installation/configuration of
255
255
Node.js or `npm`.
256
256
257
- - `splunk_otel_auto_instrumentation_resource_attributes` (Linux only) :
257
+ - `splunk_otel_auto_instrumentation_resource_attributes` :
258
258
Configure the OpenTelemetry instrumentation resource attributes,
259
259
e.g. `deployment.environment=prod,my.key=value` (comma-separated
260
260
` key=value` pairs. (**default:** ``)
@@ -324,7 +324,7 @@ to take effect.
324
324
` HKEY_LOCAL_MACHINE\S YSTEM\C urrentControlSet\S ervices\W 3SVC` registry key will
325
325
be overwritten by the options specified below to enable/configure auto
326
326
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
328
328
details) to include any other environment variables required for IIS.
329
329
330
330
**Note:** By default, IIS will be restarted with the `iisreset` command (if it
@@ -334,117 +334,101 @@ effect.
334
334
335
335
For proxy options, see the [Windows Proxy](#windows-proxy) section.
336
336
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`)
343
340
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).
347
344
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`
349
346
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
351
348
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 }}` .
353
350
(**default:** `latest`)
354
351
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
357
354
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.
362
359
(**default:** ``)
363
360
364
- - `signalfx_dotnet_auto_instrumentation_github_token ` (Windows only) : Specify
361
+ - `splunk_dotnet_auto_instrumentation_github_token ` (Windows only) : Specify
365
362
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
369
366
are [rate-limited](https://docs.github.com/en/rest/rate-limit) by GitHub.
370
367
(**default:** ``)
371
368
372
- - `signalfx_dotnet_auto_instrumentation_iisreset ` (Windows only) : By default,
369
+ - `splunk_dotnet_auto_instrumentation_iisreset ` (Windows only) : By default,
373
370
the `iisreset.exe` command (if it exists) will be executed after
374
371
installation/configuration in order for any changes to take effect for IIS
375
372
applications. Set this option to `false` to skip this step if IIS is managed
376
373
separately or is not applicable. (**default:** `true`)
377
374
378
- - `signalfx_dotnet_auto_instrumentation_system_wide ` (Windows only) : By
375
+ - `splunk_dotnet_auto_instrumentation_system_wide ` (Windows only) : By
379
376
default, the `Environment` property in the
380
377
` HKEY_LOCAL_MACHINE\S YSTEM\C urrentControlSet\S ervices\W 3SVC` registry key
381
378
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
383
380
enable/configure auto instrumentation for ***only*** IIS applications :
384
381
` ` ` yaml
385
382
COR_ENABLE_PROFILING: "1" # Required
386
- COR_PROFILER: "{B4C89B0F-9908-4F73-9F59-0D77C5A06874 }" # Required
383
+ COR_PROFILER: "{918728DD-259F-4A6A-AC2B-B85E1B658318 }" # Required
387
384
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 }}"
394
390
` ` `
395
391
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
397
393
the
398
394
` HKEY_LOCAL_MACHINE\S YSTEM\C urrentControlSet\C ontrol\S ession Manager\E nvironment`
399
395
registry key to enable/configure auto instrumentation for ***all*** .NET
400
396
applications on the node. (**default:** `false`)
401
397
402
- - `signalfx_dotnet_auto_instrumentation_environment ` (Windows only) : Configure
398
+ - `splunk_dotnet_auto_instrumentation_environment ` (Windows only) : Configure
403
399
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
405
401
variable in the Windows registry (**default:** ``, i.e. the "Environment"
406
402
will appear as `unknown` in Splunk APM for the instrumented
407
- service/application)
403
+ service/application) using the `deployment.environment` attribute key.
408
404
409
- - `signalfx_dotnet_auto_instrumentation_service_name ` (Windows only) : Configure
405
+ - `splunk_dotnet_auto_instrumentation_service_name ` (Windows only) : Configure
410
406
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)
412
408
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
414
410
Windows registry. (**default:** ``)
415
411
416
- - `signalfx_dotnet_auto_instrumentation_enable_profiler ` (Windows only) : Set
412
+ - `splunk_dotnet_auto_instrumentation_enable_profiler ` (Windows only) : Set
417
413
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
419
415
Windows registry. (**default:** `false`)
420
416
421
- - `signalfx_dotnet_auto_instrumentation_enable_profiler_memory ` (Windows only) :
417
+ - `splunk_dotnet_auto_instrumentation_enable_profiler_memory ` (Windows only) :
422
418
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
424
420
the Windows registry. (**default:** `false`)
425
421
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) :
433
423
Dictionary of environment variables to be added to the Windows registry
434
424
***in addition*** to the options above. (**default:** `{}`)
435
425
436
426
For example :
437
427
` ` ` 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"
447
431
` ` `
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 )
450
434
for more details about the options above and other supported options.
0 commit comments