Documentation ¶
Overview ¶
Package internaltelemetry full description in README.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ServiceName string `json:"service_name"` ServiceVersion string `json:"service_version"` LanguageName string `json:"language_name"` LanguageVersion string `json:"language_version"` TracerVersion string `json:"tracer_version"` }
Application defines the application object
type Event ¶
type Event struct { APIVersion string `json:"api_version"` RequestType RequestType `json:"request_type"` TracerTime int64 `json:"tracer_time"` // unix timestamp (in seconds) RuntimeID string `json:"runtime_id"` SequenceID uint64 `json:"seq_id"` DebugFlag bool `json:"debug"` Origin string `json:"origin"` Host Host `json:"host"` Application Application `json:"application"` Payload interface{} `json:"payload"` }
Event defines the event object
type Host ¶
type Host struct { Hostname string `json:"hostname"` OS string `json:"os"` Arch string `json:"architecture"` KernelName string `json:"kernel_name"` KernelRelease string `json:"kernel_release"` KernelVersion string `json:"kernel_version"` }
Host defines the host object
type LogMessage ¶
LogMessage defines the log message object
type LogPayload ¶
type LogPayload struct {
Logs []LogMessage `json:"logs"`
}
LogPayload defines the log payload object
type RequestType ¶
type RequestType string
RequestType defines the request type
const ( // RequestTypeLogs defines the logs request type RequestTypeLogs RequestType = "logs" // RequestTypeTraces defines the traces request type RequestTypeTraces RequestType = "traces" )
type TracePayload ¶
TracePayload defines the trace payload object
Click to show internal directories.
Click to hide internal directories.