apache

package
v0.33.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultArguments = Arguments{
	ApacheAddr:         "http://localhost/server-status?auto",
	ApacheHostOverride: "",
	ApacheInsecure:     false,
}

DefaultArguments holds the default settings for the apache exporter

Functions

This section is empty.

Types

type Arguments added in v0.33.0

type Arguments struct {
	ApacheAddr         string `river:"scrape_uri,attr,optional"`
	ApacheHostOverride string `river:"host_override,attr,optional"`
	ApacheInsecure     bool   `river:"insecure,attr,optional"`
}

Arguments controls the apache exporter.

func (*Arguments) Convert added in v0.33.0

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

func (*Arguments) UnmarshalRiver added in v0.33.0

func (a *Arguments) UnmarshalRiver(f func(interface{}) error) error

UnmarshalRiver implements River unmarshalling for Arguments.

Jump to

Keyboard shortcuts

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