> **Experimental**
>
> `@aws-cdk/aws-applicationsignals-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# DotnetInstrumentation

.NET-specific OpenTelemetry instrumentation configurations. Contains constants for .NET runtime settings, profiler configurations, and paths for both Linux and Windows environments.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/enablement/constants.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-applicationsignals-alpha/lib/enablement/constants.ts#L130)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationsignals_alpha from '@aws-cdk/aws-applicationsignals-alpha';
const dotnetInstrumentation = new applicationsignals_alpha.DotnetInstrumentation();
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_applicationsignals_alpha as applicationsignals_alpha

dotnet_instrumentation = applicationsignals_alpha.DotnetInstrumentation()
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.alpha.*;

DotnetInstrumentation dotnetInstrumentation = new DotnetInstrumentation();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.ApplicationSignals.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals.Alpha;

var dotnetInstrumentation = new DotnetInstrumentation();
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import applicationsignals_alpha "github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha"

dotnetInstrumentation := applicationsignals_alpha.NewDotnetInstrumentation()
```

## Initializer

TypeScript:

```ts
new DotnetInstrumentation()
```

Python:

```python
DotnetInstrumentation()
```

Java:

```java
new DotnetInstrumentation()
```

C# / .NET:

```csharp
new DotnetInstrumentation()
```

Golang:

```go
NewDotnetInstrumentation()
```

## Properties

- `CORECLR_ENABLE_PROFILING`: string (static) — CoreCLR profiling enable flag.

- `CORECLR_ENABLE_PROFILING_DISABLED`: string (static) — Disable CoreCLR profiling.

- `CORECLR_ENABLE_PROFILING_ENABLED`: string (static) — Enable CoreCLR profiling.

- `CORECLR_PROFILER`: string (static) — CoreCLR profiler GUID.

- `CORECLR_PROFILER_OTEL`: string (static) — OpenTelemetry CoreCLR profiler ID.

- `CORECLR_PROFILER_PATH`: string (static) — Path to CoreCLR profiler.

- `DOTNET_ADDITIONAL_DEPS`: string (static) — Additional .NET dependencies configuration.

- `DOTNET_SHARED_STORE`: string (static) — .NET shared store configuration.

- `DOTNET_STARTUP_HOOKS`: string (static) — .NET startup hooks configuration.

- `OTEL_DOTNET_AUTO_HOME`: string (static) — .NET auto-instrumentation home directory.

- `OTEL_DOTNET_AUTO_PLUGINS`: string (static) — .NET auto-instrumentation plugins configuration.

- `OTEL_DOTNET_AUTO_PLUGINS_ADOT`: string (static) — ADOT auto-instrumentation plugin for .NET.

- `OTEL_DOTNET_CONFIGURATOR`: string (static) — .NET OpenTelemetry configurator setting.

- `OTEL_DOTNET_CONFIGURATOR_AWS_CONFIGURATOR`: string (static) — AWS configurator for .NET OpenTelemetry.

- `OTEL_DOTNET_DISTRO`: string (static) — .NET OpenTelemetry distribution configuration.

- `OTEL_DOTNET_DISTRO_AWS_DISTRO`: string (static) — AWS distribution for .NET OpenTelemetry.
