Skip to content
v2.278.0

Experimental

@aws-cdk/aws-applicationsignals-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

PythonInstrumentation Class ​

Python-specific OpenTelemetry instrumentation configurations.

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

Example ​

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
# 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
// 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();
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();
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 ​

ts
new PythonInstrumentation()
python
PythonInstrumentation()
java
new PythonInstrumentation()
csharp
new PythonInstrumentation()
go
NewPythonInstrumentation()

Properties ​

OTEL_PYTHON_CONFIGURATORstringOTEL_PYTHON_CONFIGURATORstrOTEL_PYTHON_CONFIGURATORStringOTEL_PYTHON_CONFIGURATORstringOTEL_PYTHON_CONFIGURATOR*string static #
Python OpenTelemetry configurator setting.
OTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATORstringOTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATORstrOTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATORStringOTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATORstringOTEL_PYTHON_CONFIGURATOR_AWS_CONFIGURATOR*string static #
AWS configurator for Python OpenTelemetry.
OTEL_PYTHON_DISTROstringOTEL_PYTHON_DISTROstrOTEL_PYTHON_DISTROStringOTEL_PYTHON_DISTROstringOTEL_PYTHON_DISTRO*string static #
Python OpenTelemetry distribution configuration.
OTEL_PYTHON_DISTRO_AWS_DISTROstringOTEL_PYTHON_DISTRO_AWS_DISTROstrOTEL_PYTHON_DISTRO_AWS_DISTROStringOTEL_PYTHON_DISTRO_AWS_DISTROstringOTEL_PYTHON_DISTRO_AWS_DISTRO*string static #
AWS distribution for Python OpenTelemetry.
PYTHONPATHstringPYTHONPATHstrPYTHONPATHStringPYTHONPATHstringPYTHONPATH*string static #
Python path environment variable.