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.30.0
Published
Jun 5, 2018
Platform
darwin/amd64
Imports
15 packages
Last checked
5 minutes ago

Tools for package owners.