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:
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Starlette-OpenTracing-0.1.0.tar.gz | 8.3 kB | Without provenance | Details for Starlette-OpenTracing-0.1.0.tar.gz |
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
|
Security for Starlette-OpenTracing 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.