cadvisor: github.com/google/cadvisor/cmd/internal/http Index | Files | Directories

package http

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

Index

Package Files

handlers.go

func RegisterHandlers Uses

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

func RegisterPrometheusHandler Uses

func RegisterPrometheusHandler(mux httpmux.Mux, resourceManager 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.

Directories

PathSynopsis
mux

Package http imports 16 packages (graph) and is imported by 3 packages. Updated 2020-07-15. Refresh now. Tools for package owners.