Skip to main content

Build info PyPi info PyPI pyversions Maintenance yes Coverage status

OpenTracing support for Starlette and FastApi. Inspired by: Flask-OpenTracing OpenTracing implementations exist for major distributed tracing systems and can be bound or swapped with a one-line configuration change. This package uses the OpenTracing API for Python to implement it’s functionality.

The package will implement: Starlette middleware that can be used to add Opentracing support to all incoming requests. It also supports the usage of a customer root span by looking at extra headers for incoming request:

Screenshot

This work was funded by SURFnet.

Installation

Run the following command:

$ pip install Starlette-Opentracing

Usage

See the examples for FastAPI and Starlette in examples/

Deploy

Increase version in VERSION

git commit -a -m "bumped version to 0.0.3"
git tag -a v0.0.3 -m "version 0.0.3"
git push --follow-tags

License info

Copyright 2020 R. Dohmen <acidjunk@gmail.com>

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for Starlette-OpenTracing 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Starlette-OpenTracing 0.1.0
File Size Uploaded
Starlette-OpenTracing-0.1.0.tar.gz 8.3 kB Details

Release files / Starlette-OpenTracing-0.1.0.tar.gz

Download URL Starlette-OpenTracing-0.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8e031d301a492888e74affc4daf1afb7ec8a2cabb53372f5dd72c93faa3d4c26
BLAKE2b-256 checksum
How to use checksums
703e7fcc9632049fc4f87e363264432a45feeb602011ccf845d2e2293a290367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.9

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page