prom

package
v0.0.0-...-55f5b86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2017 License: AGPL-3.0 Imports: 35 Imported by: 0

Documentation

Overview

The main package for the Prometheus server executable.

Index

Constants

This section is empty.

Variables

View Source
var LocalStorage local.Storage

Functions

func ConfigFile

func ConfigFile(path string)

func Main

func Main(localStorage local.Storage) int

Main manages the startup and shutdown lifecycle of the entire Prometheus server.

func Parse

func Parse(args []string) int

func Start

func Start(dataDir string) error

Types

type Reloadable

type Reloadable interface {
	ApplyConfig(*config.Config) error
}

Reloadable things can change their internal state to match a new config and handle failure gracefully.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL