graphite

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsExpandHandler

func MetricsExpandHandler(startTime time.Time, w http.ResponseWriter, r *http.Request) error

MetricsExpandHandler implements /metrics/expand handler.

See https://graphite-api.readthedocs.io/en/latest/api.html#metrics-expand

func MetricsExpandResponseByQuery

func MetricsExpandResponseByQuery(m map[string][]string, jsonp string) string

func MetricsExpandResponseFlat

func MetricsExpandResponseFlat(paths []string, jsonp string) string

func MetricsFindHandler

func MetricsFindHandler(startTime time.Time, w http.ResponseWriter, r *http.Request) error

MetricsFindHandler implements /metrics/find handler.

See https://graphite-api.readthedocs.io/en/latest/api.html#metrics-find

func MetricsFindResponse

func MetricsFindResponse(paths []string, delimiter, format string, addWildcards bool, jsonp string) string

func MetricsIndexHandler

func MetricsIndexHandler(startTime time.Time, w http.ResponseWriter, r *http.Request) error

MetricsIndexHandler implements /metrics/index.json handler.

See https://graphite-api.readthedocs.io/en/latest/api.html#metrics-index-json

func MetricsIndexResponse

func MetricsIndexResponse(metricNames []string, jsonp string) string

func StreamMetricsExpandResponseByQuery

func StreamMetricsExpandResponseByQuery(qw422016 *qt422016.Writer, m map[string][]string, jsonp string)

func StreamMetricsExpandResponseFlat

func StreamMetricsExpandResponseFlat(qw422016 *qt422016.Writer, paths []string, jsonp string)

func StreamMetricsFindResponse

func StreamMetricsFindResponse(qw422016 *qt422016.Writer, paths []string, delimiter, format string, addWildcards bool, jsonp string)

func StreamMetricsIndexResponse

func StreamMetricsIndexResponse(qw422016 *qt422016.Writer, metricNames []string, jsonp string)

func WriteMetricsExpandResponseByQuery

func WriteMetricsExpandResponseByQuery(qq422016 qtio422016.Writer, m map[string][]string, jsonp string)

func WriteMetricsExpandResponseFlat

func WriteMetricsExpandResponseFlat(qq422016 qtio422016.Writer, paths []string, jsonp string)

func WriteMetricsFindResponse

func WriteMetricsFindResponse(qq422016 qtio422016.Writer, paths []string, delimiter, format string, addWildcards bool, jsonp string)

func WriteMetricsIndexResponse

func WriteMetricsIndexResponse(qq422016 qtio422016.Writer, metricNames []string, jsonp string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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