Register an OTel attribute key as a facet.
Changed onAssigns the key to the lowest available slot column (1..=20) and inserts the mapping into Postgres with status: pending. Returns immediately — the historical backfill (populating the slot column for spans already ingested before this call) runs entirely in the background, advanced by a periodic poller; poll GET /otel/facets and check the returned status (pending -> running -> completed/failed) to track progress. New spans start getting the attribute written into the slot column right away, independent of backfill progress.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Response
Facet registered
Example response
{
"created_at": "2025-10-12T12:15:47.609192Z"
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
2 more changes in this revision
- breaking