api

package
v0.0.0-...-10febd9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2017 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: 0

README

prometheus-conf-api

Contains the structure definitions used by Prometheus-conf in its ETCD interface.

Documentation

Index

Constants

View Source
const (
	DefaultMetricsPath = "/metrics"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsServiceRecord

type MetricsServiceRecord struct {
	ServiceName string `json:"service,omitempty"`
	ServicePort int    `json:"port,omitempty"`
	MetricsPath string `json:"path,omitempty"`
	RulesPath   string `json:"rules_path,omitempty"`
}

Jump to

Keyboard shortcuts

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