Skip to content
Start here

Destinations

Get Destinations
GET/accounts/{account_id}/workers/observability/destinations
Create Destination
POST/accounts/{account_id}/workers/observability/destinations
Update Destination
PATCH/accounts/{account_id}/workers/observability/destinations/{slug}
Delete Destination
DELETE/accounts/{account_id}/workers/observability/destinations/{slug}
ModelsExpand Collapse
DestinationListResponse object { configuration, enabled, name, 2 more }
configuration: object { destination_conf, headers, jobStatus, 3 more }
destination_conf: string
headers: map[string]
jobStatus: object { error_message, last_complete, last_error }
error_message: string
last_complete: string
last_error: string
logpushDataset: "opentelemetry-traces" or "opentelemetry-logs" or "opentelemetry-metrics"
One of the following:
"opentelemetry-traces"
"opentelemetry-logs"
"opentelemetry-metrics"
type: "logpush"
url: string
enabled: boolean
name: string
scripts: array of string
slug: string
DestinationCreateResponse object { configuration, enabled, name, 2 more }
configuration: object { destination_conf, logpushDataset, logpushJob, 2 more }
destination_conf: string
logpushDataset: "opentelemetry-traces" or "opentelemetry-logs" or "opentelemetry-metrics"
One of the following:
"opentelemetry-traces"
"opentelemetry-logs"
"opentelemetry-metrics"
logpushJob: number
type: "logpush"
url: string
enabled: boolean
name: string
scripts: array of string
slug: string
DestinationUpdateResponse object { configuration, enabled, name, 2 more }
configuration: object { destination_conf, logpushDataset, logpushJob, 2 more }
destination_conf: string
logpushDataset: "opentelemetry-traces" or "opentelemetry-logs" or "opentelemetry-metrics"
One of the following:
"opentelemetry-traces"
"opentelemetry-logs"
"opentelemetry-metrics"
logpushJob: number
type: "logpush"
url: string
enabled: boolean
name: string
scripts: array of string
slug: string
DestinationDeleteResponse object { configuration, enabled, name, 2 more }
configuration: object { destination_conf, logpushDataset, logpushJob, 2 more }
destination_conf: string
logpushDataset: "opentelemetry-traces" or "opentelemetry-logs" or "opentelemetry-metrics"
One of the following:
"opentelemetry-traces"
"opentelemetry-logs"
"opentelemetry-metrics"
logpushJob: number
type: "logpush"
url: string
enabled: boolean
name: string
scripts: array of string
slug: string