Skip to main content
POST
Create collector collector

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
trace_id
string
required
spans
object[]
required
status
Available options:
error
metadata
null | object
environment
Available options:
production
content_hash
string
duration_ms
null | number
source
Available options:
api
user_feedback
object
repo_sha
string

Response

Successful response

trace_id
string
required
trace_db_id
number
required
span_count
number
required
spans_written
number
required
spans_existing
number
required
feedback_recorded
boolean
required
queued_for_analysis
boolean
required
sampling_reason
required
Available options:
skipped