prometheusremotewritereceiver

package module
v0.0.0-...-719ad8f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PromWriteURL is the url for the prom write handler
	PromWriteURL = "/prom/remote/write"

	// PromWriteHTTPMethod is the HTTP method used with this resource.
	PromWriteHTTPMethod = http.MethodPost
)

Variables

This section is empty.

Functions

func New

New creates the StatsD receiver with the given parameters.

func NewFactory

func NewFactory() component.ReceiverFactory

NewFactory creates a factory for the StatsD receiver.

Types

type Config

type Config struct {
	config.ReceiverSettings `mapstructure:",squash"`
	Endpoint                string `mapstructure:"endpoint"`
	WriteURL                string `mapstructure:"write_url"`
}

Config defines configuration for StatsD receiver.

Jump to

Keyboard shortcuts

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