graphite

package
v1.93.4-cluster Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionDetailsHandler added in v1.90.0

func FunctionDetailsHandler(funcName string, w http.ResponseWriter, r *http.Request) error

FunctionDetailsHandler implements /functions/<func_name> handler.

See https://graphite.readthedocs.io/en/latest/functions.html#function-api

func FunctionsHandler added in v1.90.0

func FunctionsHandler(w http.ResponseWriter, r *http.Request) error

FunctionsHandler implements /functions handler.

See https://graphite.readthedocs.io/en/latest/functions.html#function-api

func MetricsExpandHandler

func MetricsExpandHandler(startTime time.Time, at *auth.Token, 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(isPartial bool, m map[string][]string, jsonp string) string

func MetricsExpandResponseFlat

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

func MetricsFindHandler

func MetricsFindHandler(startTime time.Time, at *auth.Token, 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(isPartial bool, paths []string, delimiter, format string, addWildcards bool, jsonp string) string

func MetricsIndexHandler

func MetricsIndexHandler(startTime time.Time, at *auth.Token, 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(isPartial bool, metricNames []string, jsonp string) string

func RenderHandler added in v1.90.0

func RenderHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

RenderHandler implements /render endpoint from Graphite Render API.

See https://graphite.readthedocs.io/en/stable/render_api.html

func RenderJSONResponse added in v1.90.0

func RenderJSONResponse(nextSeries nextSeriesFunc, jsonp string) string

func StreamMetricsExpandResponseByQuery

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

func StreamMetricsExpandResponseFlat

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

func StreamMetricsFindResponse

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

func StreamMetricsIndexResponse

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

func StreamRenderJSONResponse added in v1.90.0

func StreamRenderJSONResponse(qw422016 *qt422016.Writer, nextSeries nextSeriesFunc, jsonp string)

func StreamTagValuesResponse added in v1.47.0

func StreamTagValuesResponse(qw422016 *qt422016.Writer, isPartial bool, tagName string, tagValues []string)

func StreamTagsAutoCompleteResponse added in v1.47.0

func StreamTagsAutoCompleteResponse(qw422016 *qt422016.Writer, isPartial bool, ss []string, jsonp string)

func StreamTagsFindSeriesResponse added in v1.47.0

func StreamTagsFindSeriesResponse(qw422016 *qt422016.Writer, isPartial bool, paths []string)

func StreamTagsResponse added in v1.47.0

func StreamTagsResponse(qw422016 *qt422016.Writer, isPartial bool, tags []string)

func StreamTagsTagMultiSeriesResponse added in v1.48.0

func StreamTagsTagMultiSeriesResponse(qw422016 *qt422016.Writer, canonicalPaths []string, isJSONResponse bool)

func TagValuesHandler added in v1.47.0

func TagValuesHandler(startTime time.Time, at *auth.Token, tagName string, w http.ResponseWriter, r *http.Request) error

TagValuesHandler implements /tags/<tag_name> endpoint from Graphite Tags API.

See https://graphite.readthedocs.io/en/stable/tags.html#exploring-tags

func TagValuesResponse added in v1.47.0

func TagValuesResponse(isPartial bool, tagName string, tagValues []string) string

func TagsAutoCompleteResponse added in v1.47.0

func TagsAutoCompleteResponse(isPartial bool, ss []string, jsonp string) string

func TagsAutoCompleteTagsHandler added in v1.47.0

func TagsAutoCompleteTagsHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsAutoCompleteTagsHandler implements /tags/autoComplete/tags endpoint from Graphite Tags API.

See https://graphite.readthedocs.io/en/stable/tags.html#auto-complete-support

func TagsAutoCompleteValuesHandler added in v1.47.0

func TagsAutoCompleteValuesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsAutoCompleteValuesHandler implements /tags/autoComplete/values endpoint from Graphite Tags API.

See https://graphite.readthedocs.io/en/stable/tags.html#auto-complete-support

func TagsDelSeriesHandler added in v1.48.0

func TagsDelSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsDelSeriesHandler implements /tags/delSeries handler.

See https://graphite.readthedocs.io/en/stable/tags.html#removing-series-from-the-tagdb

func TagsFindSeriesHandler added in v1.47.0

func TagsFindSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsFindSeriesHandler implements /tags/findSeries endpoint from Graphite Tags API.

See https://graphite.readthedocs.io/en/stable/tags.html#exploring-tags

func TagsFindSeriesResponse added in v1.47.0

func TagsFindSeriesResponse(isPartial bool, paths []string) string

func TagsHandler added in v1.47.0

func TagsHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsHandler implements /tags endpoint from Graphite Tags API.

See https://graphite.readthedocs.io/en/stable/tags.html#exploring-tags

func TagsResponse added in v1.47.0

func TagsResponse(isPartial bool, tags []string) string

func TagsTagMultiSeriesHandler added in v1.48.0

func TagsTagMultiSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsTagMultiSeriesHandler implements /tags/tagMultiSeries handler.

See https://graphite.readthedocs.io/en/stable/tags.html#adding-series-to-the-tagdb

func TagsTagMultiSeriesResponse added in v1.48.0

func TagsTagMultiSeriesResponse(canonicalPaths []string, isJSONResponse bool) string

func TagsTagSeriesHandler added in v1.48.0

func TagsTagSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error

TagsTagSeriesHandler implements /tags/tagSeries handler.

See https://graphite.readthedocs.io/en/stable/tags.html#adding-series-to-the-tagdb

func WriteMetricsExpandResponseByQuery

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

func WriteMetricsExpandResponseFlat

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

func WriteMetricsFindResponse

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

func WriteMetricsIndexResponse

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

func WriteRenderJSONResponse added in v1.90.0

func WriteRenderJSONResponse(qq422016 qtio422016.Writer, nextSeries nextSeriesFunc, jsonp string)

func WriteTagValuesResponse added in v1.47.0

func WriteTagValuesResponse(qq422016 qtio422016.Writer, isPartial bool, tagName string, tagValues []string)

func WriteTagsAutoCompleteResponse added in v1.47.0

func WriteTagsAutoCompleteResponse(qq422016 qtio422016.Writer, isPartial bool, ss []string, jsonp string)

func WriteTagsFindSeriesResponse added in v1.47.0

func WriteTagsFindSeriesResponse(qq422016 qtio422016.Writer, isPartial bool, paths []string)

func WriteTagsResponse added in v1.47.0

func WriteTagsResponse(qq422016 qtio422016.Writer, isPartial bool, tags []string)

func WriteTagsTagMultiSeriesResponse added in v1.48.0

func WriteTagsTagMultiSeriesResponse(qq422016 qtio422016.Writer, canonicalPaths []string, isJSONResponse bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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