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 and configures the provided HTTP mux to handle the given Prometheus endpoint.

Source Files

handlers.go

Directories

PathSynopsis
http/mux
Version
v0.27.3
Published
Nov 22, 2017
Platform
darwin/amd64
Imports
15 packages
Last checked
6 minutes ago

Tools for package owners.