Back to godoc.org
go.opentelemetry.io/collector/consumer/consumerdata

package consumerdata

v0.4.0
Latest Go to latest
Published: Jun 16, 2020 | License: Apache-2.0 | Module: go.opentelemetry.io/collector

Overview

Package consumerdata contains data structures that holds proto metrics/spans, node and resource.

Index

type MetricsData

type MetricsData struct {
	Node     *commonpb.Node
	Resource *resourcepb.Resource
	Metrics  []*metricspb.Metric
}

MetricsData is a struct that groups proto metrics with a unique node and a resource.

type TraceData

type TraceData struct {
	Node         *commonpb.Node
	Resource     *resourcepb.Resource
	Spans        []*tracepb.Span
	SourceFormat string
}

TraceData is a struct that groups proto spans with a unique node and a resource.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier