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 *dependencytrack.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
Click to show internal directories.
Click to hide internal directories.