catchpoint

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultArguments = Arguments{
	VerboseLogging: false,
	WebhookPath:    "/catchpoint-webhook",
	Port:           "9090",
}

DefaultArguments holds the default settings for the catchpoint exporter

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	VerboseLogging bool   `alloy:"verbose_logging,attr,optional"`
	WebhookPath    string `alloy:"webhook_path,attr,optional"`
	Port           string `alloy:"port,attr,optional"`
}

Arguments controls the catchpoint exporter.

func (*Arguments) Convert

func (a *Arguments) Convert() *catchpoint_exporter.Config

func (*Arguments) SetToDefault

func (a *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

Jump to

Keyboard shortcuts

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