prometheus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "prometheus-server"

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	config.CommonFields
	Address  string `mapstructure:"address"`  // The prometheus server address.
	Endpoint string `mapstructure:"endpoint"` // The prometheus server metrics endpoint.
	// contains filtered or unexported fields
}

func (*Server) Close

func (s *Server) Close() error

func (*Server) DefaultConfig

func (s *Server) DefaultConfig() string

func (*Server) Description

func (s *Server) Description() string

func (*Server) GetServer

func (s *Server) GetServer() interface{}

func (*Server) Name

func (s *Server) Name() string

func (*Server) Prepare

func (s *Server) Prepare() error

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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