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)
}
Click to show internal directories.
Click to hide internal directories.