pushinbr/pam-native-observability

Vendor-neutral traces, metrics, logs and crash context for PAM Native.

Maintainers

Package info

github.com/push-in/pam-native-observability

pkg:composer/pushinbr/pam-native-observability

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-08-01 04:09 UTC

This package is auto-updated.

Last update: 2026-08-01 06:05:08 UTC


README

Vendor-neutral, dependency-light spans, structured logs, counters, gauges, crash context, deterministic sampling, bounded batching, and pluggable export for PAM Native apps. The default HTTPS transport works with a collector or ingestion gateway; implement TelemetryTransport for Sentry, Datadog, Honeycomb, New Relic, or an offline spool.

composer require pushinbr/pam-native-observability
$telemetry = new Observability($config, new CurlTelemetryTransport());
$span = $telemetry->span('feed.load');
try { loadFeed(); $span->status(SpanStatus::Ok); }
catch (Throwable $e) { $span->exception($e); throw $e; }
finally { $span->end(); $telemetry->flush(); }

The queue is bounded and drops the oldest signals under backpressure. Failed exports are restored to the front of the queue. Secrets and personal data are never collected automatically; applications explicitly choose context and attributes.