Skip to main content

Aman Telemetry Core

Zero-dependency microsecond execution timer and metric accumulator for Python services.

+-------------------------------------------------------+
|               Telemetry Registry                      |
|                                                       |
|  [ ExecutionTimer ] ---> time.perf_counter()          |
|          |                                            |
|          v                                            |
|  [ MetricRegistry ]                                   |
|     +-- Counters: requests, errors, cache_hits        |
|     +-- Latencies: p50, p95, avg ms tracking          |
+-------------------------------------------------------+

Installation

pip install aman-telemetry-core

Usage Example

from aman_telemetry_core import ExecutionTimer, MetricRegistry

registry = MetricRegistry()

with ExecutionTimer("data_pipeline") as timer:
    # Service execution logic here
    pass

registry.increment("pipeline_runs")
registry.record_latency("data_pipeline", timer.duration_ms)

Maintained by Aman Kumar (@aman179102):

License

MIT License.

Metadata

Release files for aman-telemetry-core 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 aman-telemetry-core 0.1.0
File Size Uploaded Provenance Actions
aman_telemetry_core-0.1.0.tar.gz 2.1 kB Without provenance Details for aman_telemetry_core-0.1.0.tar.gz

Release files / aman_telemetry_core-0.1.0.tar.gz

Download URL aman_telemetry_core-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5e04fbc31e840d4bb80f07ed428f57cfdb3361c0e7f849a76d4a3bbdadbece77
BLAKE2b-256 checksum
How to use checksums
dc5338dbcdec795e9c85f95a659a8c01fc8157ab6cb7b482ab2d3cd627864f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for aman-telemetry-core 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No 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