Skip to main content

3tears-observe

Structured logging, tracing, and OpenTelemetry setup for 3tears applications.

Modules

  • threetears.observe.logging -- Structured logging with context correlation and automatic call-site capture.
  • threetears.observe.tracing -- @traced decorator (zero-cost without OpenTelemetry).
  • threetears.observe.metrics -- counter/histogram/gauge get-or-create accessors plus the @metered decorator built on them, records prometheus metrics (zero-cost without prometheus_client).
  • threetears.observe.setup -- OpenTelemetry SDK bootstrap (TracerProvider, LoggerProvider, OTLP exporters).

Installation

pip install 3tears-observe

# With OpenTelemetry SDK support, traces over OTLP/gRPC:
pip install 3tears-observe[otel]

# The same over OTLP/HTTP, with no gRPC installed (about 10 MB against about 49):
pip install 3tears-observe[otel-http]

With otel-http, set TelemetryConfig(protocol="http/protobuf", endpoint="http://collector:4318"); spans go to <endpoint>/v1/traces. protocol defaults to "grpc", which needs the otel extra. Log export is OTLP/HTTP under either extra.

Metadata

Release files for 3tears-observe 0.89.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 3tears-observe 0.89.0
File Size Uploaded Provenance Actions
3tears_observe-0.89.0.tar.gz 100.6 kB With provenance Details for 3tears_observe-0.89.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 3tears-observe 0.89.0
File Interpreter ABI Platform Actions
3tears_observe-0.89.0-py3-none-any.whl Python 3 none any Details for 3tears_observe-0.89.0-py3-none-any.whl

Total release size: 165.8 kB

Release files / 3tears_observe-0.89.0.tar.gz

Download URL 3tears_observe-0.89.0.tar.gz
Size 100.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e74af4ec1a7bb5148842d5c0486eab65a4e4e9e989c474024ce8bdceee252925
BLAKE2b-256 checksum
How to use checksums
0b2bb6e0f6b16b3dc383a51f7ec88f2a958aba2e66446a894a08625a215ae5c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / 3tears_observe-0.89.0-py3-none-any.whl

Download URL 3tears_observe-0.89.0-py3-none-any.whl
Size 65.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f345a30798589535aaf5860d450fde3e21b9d789d8633962e3a4a54e8d67c1a
BLAKE2b-256 checksum
How to use checksums
e4b6005b2ba318f339d347e4150f2da9224e2d52883b7f52abdfc866ddd3d9e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for 3tears-observe 0.89.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for 3tears_observe-0.89.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.89.0 This release

2 release files Full provenance

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