Documentation forSolarWinds Observability SaaS

Upgrade the Python Library

The library is distributed as a standard module on PyPI. Upgrade using the same method used for other Python packages.

pip install --upgrade solarwinds-apm

Check the installed Python Library version

To determine the current version of the installed Python Library, use the following command: pip show solarwinds-apm.

Install Python Library

Follow the installation steps.

The most recent Python Library version and release date is   .

See the Python Library release notes for details of the recent changes to the library.

solarwinds_apm version 5.0.0

Run the install command from the installation steps.

Note the following key changes from earlier versions.

Instrumentation SDK

The integer_response argument for solarwinds_ready is no longer accepted. Please remove the argument or unhandled exception will be thrown.

Configuration

Support for the following configuration options have changed. They should be updated or removed from the application's environment variable or Python Library configuration file:

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.

  • OTEL_PROPAGATORS default is changed to solarwinds_propagator,baggage. If customized, it should no longer include tracecontext.

  • Legacy solarwinds_exporter is completely removed. The default OTEL_TRACES_EXPORTER is changed to otlp_proto_http.

  • SW_APM_EXPORT_LOGS_ENABLED and config file key exportLogsEnabled are no longer supported. Use OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED instead to export OTLP logs telemetry.

solarwinds_apm version 4.0.0

Run the install command from the installation steps.

Note the following key changes from earlier versions.

Data Transmission

Exporting to AppOptics is no longer supported. All telemetry is exported via OTLP to SolarWinds Observability.

Configuration

The following configuration options are no longer supported, they should be removed from the application's environment variable or Python Library configuration file:

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.

  • SW_APM_HOSTNAME_ALIAS and config file key hostnameAlias

  • SW_APM_TRUSTEDPATH and config file key trustedpath

  • SW_APM_EC2_METADATA_TIMEOUT and config file key ec2MetadataTimeout