Documentation ¶
Index ¶
- func APIRedirect(w http.ResponseWriter, req *http.Request)
- func Action(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Alerts(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Config(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
- func ConfigTest(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
- func Expr(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func ExprGraph(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func GetMetadata(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Graph(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func HealthCheck(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Host(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Index(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
- func JSON(...) http.Handler
- func Listen(listenAddr, webDirectory string, tsdbHost *url.URL) error
- func MetadataMetrics(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func MetricsByTagPair(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func PutMetadata(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Relay(dest *url.URL) http.Handler
- func Rule(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Run(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func SilenceClear(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func SilenceGet(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func SilenceSet(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Status(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func TagKeysByMetric(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func TagValuesByMetricTagKey(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func TagValuesByTagKey(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func Templates(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- func UniqueMetrics(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
- type Health
- type MultiError
- type Res
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIRedirect ¶
func APIRedirect(w http.ResponseWriter, req *http.Request)
func Action ¶
func Action(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Alerts ¶
func Alerts(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Config ¶
func Config(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
func ConfigTest ¶
func ConfigTest(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
func Expr ¶
func Expr(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func ExprGraph ¶
func ExprGraph(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func GetMetadata ¶
func GetMetadata(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Graph ¶
func Graph(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
Graph takes an OpenTSDB request data structure and queries OpenTSDB. Use the json parameter to pass JSON. Use the b64 parameter to pass base64-encoded JSON.
func HealthCheck ¶
func HealthCheck(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Host ¶
func Host(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Index ¶
func Index(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request)
func JSON ¶
func JSON(h func(miniprofiler.Timer, http.ResponseWriter, *http.Request) (interface{}, error)) http.Handler
func MetadataMetrics ¶
func MetadataMetrics(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func MetricsByTagPair ¶
func MetricsByTagPair(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func PutMetadata ¶
func PutMetadata(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Rule ¶
func Rule(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Run ¶
func Run(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func SilenceClear ¶
func SilenceClear(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func SilenceGet ¶
func SilenceGet(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func SilenceSet ¶
func SilenceSet(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Status ¶
func Status(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func TagKeysByMetric ¶
func TagKeysByMetric(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func TagValuesByMetricTagKey ¶
func TagValuesByMetricTagKey(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func TagValuesByTagKey ¶
func TagValuesByTagKey(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func Templates ¶
func Templates(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
func UniqueMetrics ¶
func UniqueMetrics(t miniprofiler.Timer, w http.ResponseWriter, r *http.Request) (interface{}, error)
A Sorted List of Available Metrics
Types ¶
type Health ¶
type Health struct { // RuleCheck is true if last check happened within the check frequency window. RuleCheck bool }
type MultiError ¶
func (MultiError) Error ¶
func (m MultiError) Error() string
Click to show internal directories.
Click to hide internal directories.