package http

import "github.com/google/cadvisor/http"

Index

Functions

func RegisterHandlers

func RegisterHandlers(mux httpmux.Mux, containerManager manager.Manager, httpAuthFile, httpAuthRealm, httpDigestFile, httpDigestRealm string) error

func RegisterPrometheusHandler

func RegisterPrometheusHandler(mux httpmux.Mux, containerManager manager.Manager, prometheusEndpoint string,
	f metrics.ContainerLabelsFunc, includedMetrics container.MetricSet)

RegisterPrometheusHandler creates a new PrometheusCollector and configures the provided HTTP mux to handle the given Prometheus endpoint.

Source Files

handlers.go

Directories

PathSynopsis
http/mux
Version
v0.31.0
Published
Sep 7, 2018
Platform
darwin/amd64
Imports
16 packages
Last checked
1 minute ago

Tools for package owners.