otlp

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOtelToGoogle

func ConvertOtelToGoogle(src *otelProfile.Profile) *googleProfile.Profile

ConvertOtelToGoogle converts an OpenTelemetry profile to a Google profile.

func OprofToPprof

func OprofToPprof(p *otelProfile.Profile) ([]byte, error)

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 {
	Push(ctx context.Context, req *connect.Request[pushv1.PushRequest]) (*connect.Response[pushv1.PushResponse], error)
}

Jump to

Keyboard shortcuts

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