collector

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package collector is a simple collector for

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expvar

type Expvar struct {
	// contains filtered or unexported fields
}

Expvar provides the ability to receive metrics from internal services using expvar.

func New

func New(host string) (*Expvar, error)

New creates a Expvar for collection metrics.

func (*Expvar) Collect

func (exp *Expvar) Collect() (map[string]interface{}, error)

Collect captures metrics on the host configure to this endpoint.

Jump to

Keyboard shortcuts

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