otlp

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package otlp provides the HTTP handlers for receiving OTLP telemetry signals.

Index

Constants

View Source
const (
	// HeaderSessionID is the name of the HTTP header where a BindPlane Session ID can be found. This will be used by
	// Relayer to match up the request with an eventual response via OTLP HTTP POST.
	HeaderSessionID = "X-Bindplane-Session-ID"
)

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(router gin.IRouter, bindplane exposedserver.BindPlane)

AddRoutes adds endpoints for receiving OTLP formatted (compressed grpc) telemetry signals.

func Logs

func Logs(c *gin.Context, bindplane exposedserver.BindPlane)

Logs handles OTLP formatted log data.

func Metrics

func Metrics(c *gin.Context, bindplane exposedserver.BindPlane)

Metrics handles OTLP formatted metric data.

func Traces

func Traces(c *gin.Context, bindplane exposedserver.BindPlane)

Traces handles OTLP formatted trace data.

Types

This section is empty.

Directories

Path Synopsis
Package record provides functions for converting pdata to BindPlane records
Package record provides functions for converting pdata to BindPlane records

Jump to

Keyboard shortcuts

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