InfoQ Homepage   	  		  			  			                  News                 		  		OpenTelemetry Moves Python and Swift Tracing API/SDKs to 1.0

OpenTelemetry Moves Python and Swift Tracing API/SDKs to 1.0

submited by
Style Pass
2021-05-23 02:00:05

InfoQ Homepage News OpenTelemetry Moves Python and Swift Tracing API/SDKs to 1.0

OpenTelemetry released version 1.0 of the Python and Swift distributed tracing API and SDK. They both include OpenTelemetry API support, SDKs, exporters to common telemetry formats, and getting started materials. The Python release is considered stable whereas the Swift release is still in beta.

The APIs within each release include Tracing API, Baggage API, Context API, and Propagators API. A trace represents a set of events, generated from a single operation (such as clicking a button on a website), aggregated across the various components within the application. Within OpenTelemetry, a baggage represents a name/value pair. It is intended for indexing events in one service with details provided by a prior service in the same transaction. For example, a provider could include context about the API user that is responsible for the request.

A context is an immutable mechanism to propagate values across API boundaries. Processes that cut across boundaries are to access their data in-process using the same shared context object. State is sent to the next process using a propagator. These are objects that make use of the context to read and write data for each cross process concern, such as traces and baggage.

Leave a Comment