api.md

Created about 13 hours ago

attributes
source_pathreferences/observability/api.md
source_sha256168510bf1bc1d0cb8a4e16d7bfdec76f8ca02c3379ebe9cd1167e2043268874b
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/observability/api.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Observability APIs

Fetch the applicable reference for current signatures, field locations, units, authentication, and query syntax. Do not infer the Tail event schema from an OpenTelemetry span or a Logpush record.

Task Maintained documentation
Emit console messages and check supported methods Console API
Filter, group, and aggregate stored Workers Logs Query Builder
Query built-in Workers metrics with GraphQL Querying Workers metrics
Define Analytics Engine fields and call writeDataPoint() Write data points
Authenticate and query Analytics Engine datasets SQL API
Calculate counts, sums, and averages on sampled events Analytics Engine sampling
Implement a Tail consumer and inspect event properties Tail handler API
Create and manage Logpush jobs Logpush API configuration
Select exported Workers event fields Workers Trace Events dataset
Export OTLP logs and traces OpenTelemetry export

Keep dataset field meanings and units consistent between writers and queries. Follow the SQL reference linked from the SQL API for supported date bucketing and aggregate functions; do not assume another SQL dialect's syntax works here. Account for sampling in averages as well as counts and sums.

See configuration.md for setup and patterns.md for application-level decisions.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.