Back to godoc.org

Package consumerdata

v0.10.0
Latest Go to latest

The latest major version is .

Published: 4 days ago | 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.

Package Files

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

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier