otlp

package
v0.0.102-dev Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: AGPL-3.0 Imports: 22 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]convertedProfile, error)

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