apache

package
v1.4.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 5 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

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

Arguments controls the apache exporter.

func (*Arguments) Convert

func (a *Arguments) Convert() *apache_http.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