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*stringstatic#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*stringstatic#AWS configurator for Python OpenTelemetry.
OTEL_PYTHON_DISTROstringotel_python_distrostrOTEL_PYTHON_DISTROStringOTEL_PYTHON_DISTROstringOTEL_PYTHON_DISTRO*stringstatic#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*stringstatic#AWS distribution for Python OpenTelemetry.
Python path environment variable.