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)

RegisterPrometheusHandler creates a new PrometheusCollector, registers it on the global registry and configures the provided HTTP mux to handle the given Prometheus endpoint.

Source Files

handlers.go

Directories

PathSynopsis
http/mux
Version
v0.24.0
Published
Sep 19, 2016
Platform
darwin/amd64
Imports
13 packages
Last checked
1 hour ago

Tools for package owners.