Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Timestamp time.Time `json:"timestamp"` Body interface{} `json:"body"` Severity string `json:"severity"` Attributes map[string]interface{} `json:"attributes"` Resource map[string]interface{} `json:"resource"` }
Log is a log record sent to bindplane
type Metric ¶
type Metric struct { Name string `json:"name"` Timestamp time.Time `json:"timestamp"` Value interface{} `json:"value"` Unit string `json:"unit"` Type string `json:"type"` Attributes map[string]interface{} `json:"attributes"` Resource map[string]interface{} `json:"resource"` }
Metric is a metric record sent to bindplane
func ConvertMetrics ¶
ConvertMetrics gets metric records from pmetrics
type Trace ¶
type Trace struct { Name string `json:"name"` TraceID string `json:"trace_id"` SpanID string `json:"span_id"` ParentSpanID string `json:"parent_span_id"` Start time.Time `json:"start"` End time.Time `json:"end"` Attributes map[string]interface{} `json:"attributes"` Resource map[string]interface{} `json:"resource"` }
Trace is a trace record sent to bindplane
func ConvertTraces ¶
ConvertTraces gets trace records from ptraces
Click to show internal directories.
Click to hide internal directories.