otlp

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertOtelToGoogle

func ConvertOtelToGoogle(src *otelProfile.Profile, dictionary *otelProfile.ProfilesDictionary) (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(cfg server.Config, svc PushService, l log.Logger, limits Limits) Handler

type Limits added in v1.18.0

type Limits interface {
	IngestionBodyLimitBytes(tenantID string) int64
}

type PushService

type PushService interface {
	PushBatch(ctx context.Context, req *distributormodel.PushRequest) error
}

Jump to

Keyboard shortcuts

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