Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Span ¶
type Span struct { TraceID TraceID `json:"trace_id"` SpanID SpanID `json:"span_id"` ParentID SpanID `json:"parent_id"` Start FloatTime `json:"start"` End FloatTime `json:"end"` Duration time.Duration `json:"duration"` Type string `json:"type"` Service string `json:"service"` Name string `json:"name"` Resource string `json:"resource"` ResourceHash string `json:"resource_hash"` HostID int64 `json:"host_id"` HostName string `json:"hostname"` Env string `json:"env"` HostGroups []string `json:"host_groups"` Meta map[string]string `json:"meta"` Metrics map[string]float64 `json:"metrics"` IngestionReason string `json:"ingestion_reason"` Metadata any `json:"metadata"` // Unsure how to type this ChildIDs []SpanID `json:"children_ids"` }
type Trace ¶
Trace describes the response format for the datadog REST API: https://app.datadoghq.com/api/v1/trace/<id>
It's _just_ different enough, and with a different-enough purpose, to dogproto to merit duplication.
Click to show internal directories.
Click to hide internal directories.