Aliaksandr Valialkin
|
9a314106ca
|
app/vmselect/netstorage: remove Get prefix from netstorage functions
This makes these function names more consistent with the server side
|
2022-06-27 00:45:05 +03:00 |
|
Aliaksandr Valialkin
|
374beb350e
|
app/vmselect: optimize /api/v1/labels and /api/v1/label/.../values handlers when match[] query arg is passed to them
|
2022-06-12 04:32:13 +03:00 |
|
Aliaksandr Valialkin
|
89b778902b
|
app/vmselect: add optional limit query arg to /api/v1/labels and /api/v1/label_values endpoints
This arg allows limiting the number of sample values returned from these APIs
|
2022-06-10 09:50:33 +03:00 |
|
Aliaksandr Valialkin
|
a30333a79e
|
app/vmselect/graphite: remove additional redundant Request.ParseForm() calls after 38c785b851
|
2022-06-09 13:28:57 +03:00 |
|
Aliaksandr Valialkin
|
38c785b851
|
app/vmselect: remove redundant calls to Request.ParseForm()
Request.ParseForm() is implicitly called by the first call to Request.FormValue()
|
2022-06-09 13:11:26 +03:00 |
|
Aliaksandr Valialkin
|
41958ed5dd
|
all: add initial support for query tracing
See https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#query-tracing
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1403
|
2022-06-01 02:29:23 +03:00 |
|
Aliaksandr Valialkin
|
6e364e19ef
|
app/vmselect: add fine-grained limits for the number of returned/scanned time series for various APIs
|
2022-03-26 11:29:49 +02:00 |
|
Aliaksandr Valialkin
|
ff15a752c1
|
app/vmselect: accept optional extra_filters[] query args for all the supported Prometheus querying APIs
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1863
|
2021-12-06 17:07:09 +02:00 |
|
Aliaksandr Valialkin
|
e5ac9d8e57
|
all: consistently return application/json content-type without charset=utf-8
The `application/json` content-type has utf-8 encoding by default.
See https://stackoverflow.com/questions/9254891/what-does-content-type-application-json-charset-utf-8-really-mean
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/897
|
2021-11-09 18:04:44 +02:00 |
|
Aliaksandr Valialkin
|
331a6a2015
|
app/vmselect/graphite: accept and enforce extra_label in all the Graphite APIs
|
2021-03-23 15:29:16 +02:00 |
|
Aliaksandr Valialkin
|
b0c956a178
|
app/vmselect/graphite: follow-up after 529d7be26b
|
2021-03-18 16:30:20 +02:00 |
|
Nikolay
|
529d7be26b
|
changes metricsFind api (#1137)
it should be able mitigate crash if label value contains *,[ or { symbols
|
2021-03-18 16:12:02 +02:00 |
|
Aliaksandr Valialkin
|
d16f22f3a1
|
app/vmselect,lib/storage: properly parse Graphite selectors with inner wildcards
Example: foo{bar{x,yz},a[b-c],*de}
|
2021-02-03 20:14:22 +02:00 |
|
Aliaksandr Valialkin
|
157c02622b
|
app/vmselect: add ability to set Graphite-compatible filter via {__graphite__="foo.*.bar"} syntax
|
2021-02-03 01:21:54 +02:00 |
|
Aliaksandr Valialkin
|
011c5da785
|
app/vmselect/graphite: extract getCanonicalPath() function from loop body inside getCanonicalPaths()
|
2021-01-18 17:30:26 +02:00 |
|
Aliaksandr Valialkin
|
ba8ac08739
|
app/vmselect/graphite: properly handle wildcards and charsets inside curly braces
For example, `foo{bar*,[a-f]a*b}` should match `foobar`, `foobar123`, `foofab`, etc.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/952
|
2020-12-11 17:24:12 +02:00 |
|
Aliaksandr Valialkin
|
f0c207fae2
|
app/vmselect: add /tags/delSeries handler from Graphite Tags API
See https://graphite.readthedocs.io/en/stable/tags.html#removing-series-from-the-tagdb
|
2020-11-23 15:27:21 +02:00 |
|
Aliaksandr Valialkin
|
d3794eb994
|
app/{vminsert,vmselect}: move /tags/tagSeries and /tags/tagMultiSeries api from vminsert to vmselect
This is needed for consistency, since all the `/tags*` api handlers are located in vmselect.
|
2020-11-23 12:33:19 +02:00 |
|
Aliaksandr Valialkin
|
266788be14
|
app/vmselect: use storage.NewSearchQuery() instead of constructing storage.SearchQuery in-place
This should prevent from bugs when AccountID and ProjectID aren't set in storage.SearchQuery.
|
2020-11-16 18:24:00 +02:00 |
|
Aliaksandr Valialkin
|
2c67232565
|
app/vmselect/graphite: add /tags/autoComplete/values handler from Graphite Tags API
|
2020-11-16 15:29:35 +02:00 |
|
Aliaksandr Valialkin
|
86f99c6b55
|
app/vmselect/graphite: add /tags/autoComplete/tags handler from Graphite Tags API
See https://graphite.readthedocs.io/en/stable/tags.html#auto-complete-support
|
2020-11-16 14:50:05 +02:00 |
|
Aliaksandr Valialkin
|
465923b181
|
app/vmselect/graphite: add /tags/findSeries handler from Graphite Tags API
See https://graphite.readthedocs.io/en/stable/tags.html#exploring-tags
|
2020-11-16 12:53:13 +02:00 |
|
Aliaksandr Valialkin
|
414cd39659
|
app/vmselect/graphite: apply filter then limit
|
2020-11-16 04:09:14 +02:00 |
|
Aliaksandr Valialkin
|
d100341394
|
app/vmselect/graphite: add /tags/<tag_name> handler for Graphite Tags API
|
2020-11-16 03:42:25 +02:00 |
|
Aliaksandr Valialkin
|
6251762787
|
app/vmselect/graphite: add /tags handler from Graphite Tags API
See https://graphite.readthedocs.io/en/stable/tags.html#exploring-tags
|
2020-11-16 03:00:01 +02:00 |
|
Aliaksandr Valialkin
|
47a038401b
|
all: consistently return text-based HTTP responses with charset=utf-8
This is a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/897
|
2020-11-13 10:35:41 +02:00 |
|
Aliaksandr Valialkin
|
f7636b0342
|
app/vmselect/graphite: do not substitute path and path. with path.. in /metrics/find/?format=completer output
|
2020-09-29 18:03:26 +03:00 |
|
Aliaksandr Valialkin
|
6fdfc67620
|
app/vmselect/graphite: properly handle case when /metrics/find finds both leaf and node for the given query=prefix.*
In this case only node must be returned with stripped dot in the end of id as carbonapi does
|
2020-09-29 11:01:59 +03:00 |
|
Aliaksandr Valialkin
|
1b3efccb24
|
app/vmselect: stop /api/v1/export/* execution if client disconnects
|
2020-09-27 23:53:13 +03:00 |
|
Aliaksandr Valialkin
|
98d1cd0971
|
app/vmselect/graphite: return proper results /metrics/find?query=foo.*.bar according to Graphite Metrics API
|
2020-09-18 11:00:00 +03:00 |
|
Aliaksandr Valialkin
|
f0005c3007
|
app/vmselect: move Deadline from netstorage to searchutils
This removes dependency on netstorage from searchutils.
|
2020-09-11 13:27:13 +03:00 |
|
Aliaksandr Valialkin
|
8a8b5a73d3
|
app/vmselect/graphite: typo fix in label name for vm_request_duration_seconds metric
|
2020-09-11 01:58:28 +03:00 |
|
Aliaksandr Valialkin
|
f6bc608e86
|
app/vmselect: initial implementation of Graphite Metrics API
See https://graphite-api.readthedocs.io/en/latest/api.html#the-metrics-api
|
2020-09-11 00:30:01 +03:00 |
|