otlp

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOtelToGoogle

func ConvertOtelToGoogle(src *otelProfile.Profile) map[string]*googleProfile.Profile

ConvertOtelToGoogle converts an OpenTelemetry profile to a Google profile.

Types

type Handler

type Handler interface {
	http.Handler
	pprofileotlp.ProfilesServiceServer
}

func NewOTLPIngestHandler

func NewOTLPIngestHandler(svc PushService, l log.Logger, me bool) Handler

type PushService

type PushService interface {
	PushParsed(ctx context.Context, req *distirbutormodel.PushRequest) (*connect.Response[pushv1.PushResponse], error)
}

Jump to

Keyboard shortcuts

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