Expand description
Query-back from telemetry providers (PostHog, Datadog). OTLP has no pull in v1.
Structs§
- Pull
Page - One page of remote rows; cursor is opaque to Kaizen.
- Pull
Window - Trailing time window for a pull (coarse; provider maps to its API).
Traits§
- Telemetry
Query Provider - Abstraction for PostHog / Datadog query APIs. OTLP is export-only, not a query authority.
Functions§
- from_
config - Build a
TelemetryQueryProviderfor the configured query authority, orNonewhen pull is off. Resolves credentials from the matching[[telemetry.exporters]]row first, then env. This waykaizen telemetry configure --type=datadogis enough to drivepull— users do not have to alsoexport DD_API_KEYin their shell. - import_
pull_ page_ to_ remote - Parse each
page.itemsentry as anOutboundEvent; on success, upsert intoremote_events. Malformed or non-event JSON rows are skipped. Returns the number of rows written.