push

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(maxRecvMsgSize int, sourceIPs *middleware.SourceIPExtractor, push Func) http.Handler

Handler is a http.Handler which accepts WriteRequests.

func OTLPHandler added in v1.17.0

func OTLPHandler(sourceIPs *middleware.SourceIPExtractor, push Func) http.Handler

OTLPHandler is a http.Handler which accepts OTLP metrics.

Types

type Func added in v1.8.0

Func defines the type of the push. It is similar to http.HandlerFunc.

Jump to

Keyboard shortcuts

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