{"openapi":"3.1.0","info":{"title":"Altertable OTLP API","description":"OTLP/HTTP ingest: traces, logs and metrics. Requests may be `application/x-protobuf` or `application/json` (optionally gzip-compressed). The same handlers are also mounted at `/otel/v1/traces`, `/otel/v1/logs` and `/otel/v1/metrics`.","license":{"name":"MIT","url":"https://opensource.org/licenses/MIT"},"version":"0.1.0"},"paths":{"/v1/logs":{"post":{"tags":["OpenTelemetry"],"operationId":"export_logs","parameters":[{"name":"Content-Encoding","in":"header","description":"Set to `gzip` when the body is gzip-compressed","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"description":"OTLP `ExportLogsServiceRequest` protobuf or JSON. Also accepted at `/otel/v1/logs`.","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"required":true},"responses":{"200":{"description":"OTLP `ExportLogsServiceResponse` protobuf or JSON","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}}},"400":{"description":"Invalid OTLP protobuf, JSON, or gzip payload"},"401":{"description":"Authentication required"},"415":{"description":"Expected Content-Type: application/x-protobuf or application/json"}},"security":[{"basic_auth":[]}]}},"/v1/metrics":{"post":{"tags":["OpenTelemetry"],"operationId":"export_metrics","parameters":[{"name":"Content-Encoding","in":"header","description":"Set to `gzip` when the body is gzip-compressed","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"description":"OTLP `ExportMetricsServiceRequest` protobuf or JSON. Also accepted at `/otel/v1/metrics`.","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"required":true},"responses":{"200":{"description":"OTLP `ExportMetricsServiceResponse` protobuf or JSON","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}}},"400":{"description":"Invalid OTLP protobuf, JSON, or gzip payload"},"401":{"description":"Authentication required"},"415":{"description":"Expected Content-Type: application/x-protobuf or application/json"}},"security":[{"basic_auth":[]}]}},"/v1/traces":{"post":{"tags":["OpenTelemetry"],"operationId":"export_traces","parameters":[{"name":"Content-Encoding","in":"header","description":"Set to `gzip` when the body is gzip-compressed","required":false,"schema":{"type":["string","null"]}}],"requestBody":{"description":"OTLP `ExportTraceServiceRequest` protobuf or JSON. Also accepted at `/otel/v1/traces`.","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"required":true},"responses":{"200":{"description":"OTLP `ExportTraceServiceResponse` protobuf or JSON","content":{"application/x-protobuf":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}}},"400":{"description":"Invalid OTLP protobuf, JSON, or gzip payload"},"401":{"description":"Authentication required"},"415":{"description":"Expected Content-Type: application/x-protobuf or application/json"}},"security":[{"basic_auth":[]}]}}},"components":{"securitySchemes":{"basic_auth":{"type":"http","scheme":"basic","description":"Your Altertable username and password to ingest OTLP traces and logs"}}},"tags":[{"name":"OpenTelemetry","description":"OTLP/HTTP traces and logs ingest"}]}