Convenience wrapper for OpenTelemetry
Project description
barium-meal
Python Wrapper for OpenTelemetry written to scratch the itch of needing to use the same / similar code across several Google Cloud Functions and wanting to abstract away from tracing / logging so I can mix and match the two.
Some of these cloud functions are invoked via HTTP, others from Pub/Sub messages.
For Pub/Sub I have jury-rigged persisting the state of a Span to propagate between processes. To ensure that a trace that goes from function to function via pub/sub remains contiguous.
I'm sure there is a better way of doing this but this is good enough for my purposes and by putting my solution out in the wild I'm hoping to get feedback to help improve it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for barium_meal-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104a8ae8e0965540a7a694a84bbfbf521f66c40d2ad9a0e669c0a0f331ffd288 |
|
MD5 | 57d11061480e1e8e3a4b0e77ed8b4517 |
|
BLAKE2b-256 | b34356ce4a47e2cc9ad91bb18206772cf602d14bbfc3354b1b5616ceb3894520 |