Documentation ¶
Index ¶
- func FunctionDetailsHandler(funcName string, w http.ResponseWriter, r *http.Request) error
- func FunctionsHandler(w http.ResponseWriter, r *http.Request) error
- func MetricsExpandHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func MetricsExpandResponseByQuery(isPartial bool, m map[string][]string, jsonp string) string
- func MetricsExpandResponseFlat(isPartial bool, paths []string, jsonp string) string
- func MetricsFindHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func MetricsFindResponse(isPartial bool, paths []string, delimiter, format string, addWildcards bool, ...) string
- func MetricsIndexHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func MetricsIndexResponse(isPartial bool, metricNames []string, jsonp string) string
- func RenderHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func RenderJSONResponse(nextSeries nextSeriesFunc, jsonp string) string
- func StreamMetricsExpandResponseByQuery(qw422016 *qt422016.Writer, isPartial bool, m map[string][]string, jsonp string)
- func StreamMetricsExpandResponseFlat(qw422016 *qt422016.Writer, isPartial bool, paths []string, jsonp string)
- func StreamMetricsFindResponse(qw422016 *qt422016.Writer, isPartial bool, paths []string, ...)
- func StreamMetricsIndexResponse(qw422016 *qt422016.Writer, isPartial bool, metricNames []string, jsonp string)
- func StreamRenderJSONResponse(qw422016 *qt422016.Writer, nextSeries nextSeriesFunc, jsonp string)
- func StreamTagValuesResponse(qw422016 *qt422016.Writer, isPartial bool, tagName string, tagValues []string)
- func StreamTagsAutoCompleteResponse(qw422016 *qt422016.Writer, isPartial bool, ss []string, jsonp string)
- func StreamTagsFindSeriesResponse(qw422016 *qt422016.Writer, isPartial bool, paths []string)
- func StreamTagsResponse(qw422016 *qt422016.Writer, isPartial bool, tags []string)
- func StreamTagsTagMultiSeriesResponse(qw422016 *qt422016.Writer, canonicalPaths []string, isJSONResponse bool)
- func TagValuesHandler(startTime time.Time, at *auth.Token, tagName string, w http.ResponseWriter, ...) error
- func TagValuesResponse(isPartial bool, tagName string, tagValues []string) string
- func TagsAutoCompleteResponse(isPartial bool, ss []string, jsonp string) string
- func TagsAutoCompleteTagsHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsAutoCompleteValuesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsDelSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsFindSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsFindSeriesResponse(isPartial bool, paths []string) string
- func TagsHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsResponse(isPartial bool, tags []string) string
- func TagsTagMultiSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func TagsTagMultiSeriesResponse(canonicalPaths []string, isJSONResponse bool) string
- func TagsTagSeriesHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r *http.Request) error
- func WriteMetricsExpandResponseByQuery(qq422016 qtio422016.Writer, isPartial bool, m map[string][]string, ...)
- func WriteMetricsExpandResponseFlat(qq422016 qtio422016.Writer, isPartial bool, paths []string, jsonp string)
- func WriteMetricsFindResponse(qq422016 qtio422016.Writer, isPartial bool, paths []string, ...)
- func WriteMetricsIndexResponse(qq422016 qtio422016.Writer, isPartial bool, metricNames []string, jsonp string)
- func WriteRenderJSONResponse(qq422016 qtio422016.Writer, nextSeries nextSeriesFunc, jsonp string)
- func WriteTagValuesResponse(qq422016 qtio422016.Writer, isPartial bool, tagName string, tagValues []string)
- func WriteTagsAutoCompleteResponse(qq422016 qtio422016.Writer, isPartial bool, ss []string, jsonp string)
- func WriteTagsFindSeriesResponse(qq422016 qtio422016.Writer, isPartial bool, paths []string)
- func WriteTagsResponse(qq422016 qtio422016.Writer, isPartial bool, tags []string)
- func WriteTagsTagMultiSeriesResponse(qq422016 qtio422016.Writer, canonicalPaths []string, isJSONResponse bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionDetailsHandler ¶ added in v1.90.0
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 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 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 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 StreamRenderJSONResponse ¶ added in v1.90.0
func StreamTagValuesResponse ¶ added in v1.47.0
func StreamTagsAutoCompleteResponse ¶ added in v1.47.0
func StreamTagsFindSeriesResponse ¶ added in v1.47.0
func StreamTagsResponse ¶ added in v1.47.0
func StreamTagsTagMultiSeriesResponse ¶ added in v1.48.0
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 TagsAutoCompleteResponse ¶ added in v1.47.0
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 TagsHandler ¶ added in v1.47.0
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 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 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 WriteMetricsExpandResponseFlat ¶
func WriteMetricsExpandResponseFlat(qq422016 qtio422016.Writer, isPartial bool, paths []string, 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.
Source Files ¶
- aggr.go
- aggr_state.go
- app/vmselect/graphite/metrics_expand_response.qtpl
- app/vmselect/graphite/metrics_find_response.qtpl
- app/vmselect/graphite/metrics_index_response.qtpl
- app/vmselect/graphite/render_response.qtpl
- app/vmselect/graphite/tag_values_response.qtpl
- app/vmselect/graphite/tags_autocomplete_response.qtpl
- app/vmselect/graphite/tags_find_series_response.qtpl
- app/vmselect/graphite/tags_response.qtpl
- app/vmselect/graphite/tags_tag_multi_series_response.qtpl
- eval.go
- functions_api.go
- metrics_api.go
- natural_compare.go
- render_api.go
- tags_api.go
- transform.go