exporter

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Namespace is the metrics namespace of the exporter
	Namespace string = "dependency_track"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	Client *dtrack.Client
	Logger log.Logger
}

Exporter exports metrics from a Dependency-Track server

func (*Exporter) HandlerFunc

func (e *Exporter) HandlerFunc() http.HandlerFunc

HandlerFunc handles requests to /metrics

Jump to

Keyboard shortcuts

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