> **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.
# PythonInstrumentation

Python-specific OpenTelemetry instrumentation configurations.

Contains constants for Python distribution, configurator, and path settings.

- 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#L111)

## 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 pythonInstrumentation = new applicationsignals_alpha.PythonInstrumentation();
```

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

python_instrumentation = applicationsignals_alpha.PythonInstrumentation()
```

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.*;

PythonInstrumentation pythonInstrumentation = new PythonInstrumentation();
```

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 pythonInstrumentation = new PythonInstrumentation();
```

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"

pythonInstrumentation := applicationsignals_alpha.NewPythonInstrumentation()
```

## Initializer

TypeScript:

```ts
new PythonInstrumentation()
```

Python:

```python
PythonInstrumentation()
```

Java:

```java
new PythonInstrumentation()
```

C# / .NET:

```csharp
new PythonInstrumentation()
```

Golang:

```go
NewPythonInstrumentation()
```

## Properties

- `OTEL_PYTHON_CONFIGURATOR`: string (static) — Python OpenTelemetry configurator setting.

- `OTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATOR`: string (static) — AWS configurator for Python OpenTelemetry.

- `OTEL_PYTHON_DISTRO`: string (static) — Python OpenTelemetry distribution configuration.

- `OTEL_PYTHON_DISTRO_AWS_DISTRO`: string (static) — AWS distribution for Python OpenTelemetry.

- `PYTHONPATH`: string (static) — Python path environment variable.
