nginx

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NginxPlus     bool          `toml:"nginx_plus"`
	SSLCACert     string        `toml:"ssl_ca_cert"`
	SSLClientCert string        `toml:"ssl_client_cert"`
	SSLClientKey  string        `toml:"ssl_client_key"`
	SSLVerify     bool          `toml:"ssl_verify"`
	Timeout       time.Duration `toml:"timeout"`
}

type Nginx

type Nginx struct {
}

func (*Nginx) ParseConfig

func (n *Nginx) ParseConfig(baseDir string, bs []byte) (any, error)

func (*Nginx) Scrape

func (n *Nginx) Scrape(ctx context.Context, target string, cfg any, ss *types.Samples) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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