prometheus

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const PluginType = "prometheus"

PluginType is the type which must be used for the Prometheus plugin.

Variables

This section is empty.

Functions

func Mount

func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error)

Mount mounts the Prometheus plugin routes in the plugins router of a kobs satellite instance.

Types

type Router

type Router struct {
	*chi.Mux
	// contains filtered or unexported fields
}

Router implements the router for the Prometheus plugin, which can be registered in the router for our rest api.

Jump to

Keyboard shortcuts

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