json

package
v1.85.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Key   string      `json:"key"`
	Value ValueString `json:"value"`
}

type Batch

type Batch struct {
	Resource   Resource    `json:"resource"`
	ScopeSpans []ScopeSpan `json:"scopeSpans"`
}

type Data

type Data struct {
	Batches []Batch `json:"batches"`
}

type Event

type Event struct {
	TimeUnixNano string `json:"timeUnixNano"`
	Name         string `json:"name"`
}

type Resource

type Resource struct {
	Attributes []Attribute `json:"attributes"`
}

type ScopeSpan

type ScopeSpan struct {
	Scope struct{} `json:"scope"`
	Spans []Span   `json:"spans"`
}

type Span

type Span struct {
	TraceID           string      `json:"traceId"`
	SpanID            string      `json:"spanId"`
	Name              string      `json:"name"`
	Kind              string      `json:"kind"`
	StartTimeUnixNano string      `json:"startTimeUnixNano"`
	EndTimeUnixNano   string      `json:"endTimeUnixNano"`
	Attributes        []Attribute `json:"attributes"`
	Events            []Event     `json:"events"`
	Status            Status      `json:"status"`
	ParentSpanId      string      `json:"parentSpanId"`
}

type Status

type Status struct {
	Code string `json:"code"`
}

type ValueString

type ValueString struct {
	StringValue string `json:"stringValue"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL