Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@cgdt cgdt released this 13 Dec 12:20

This is Version 1.1 of the OneAgent SDK for Python, bundled with the OneAgent SDK for C/C++ v1.3.1 thus requiring the Dynatrace OneAgent version 1.151 or newer.

The Dynatrace OneAgent SDK for Python is currently in beta status. The features are fully supported by Dynatrace.

Changelog

Added Features

Breaking Changes

The SDK initialization has changed. Until now you had the possibility to initialize the SDK using
two methods:

  • oneagent.try_init()
  • oneagent.sdk.SDK.get()

The latter method implicitly initialized the SDK. This was changed in 1.1.0. Both methods were removed.
Now it's mandatory to call oneagent.initialize() to initialize the SDK and oneagent.shutdown() to shut the SDK down. For each initialize call there must be a corresponding shutdown call.

The oneagent.sdk.SDK.get() method was replaced by a new oneagent.get_sdk() method which does not implicitly initialize the SDK anymore. If this new method is called without previously initializing the SDK then a dummy (non-functional) SDK instance will be returned. This instance won't do anything if it is used later.