mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
07855de142
* app/vmselect: adds milliseconds to the csv export response for rfc3339 * milliseconds is a standard prescion for VictoriaMetrics query request responses https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5837 * app/victoria-metrics: adds tests for csv export/import follow-up after 3541a8d0cf96dd4f8563624c4aab6816615d0756 --------- Signed-off-by: hagen1778 <roman@victoriametrics.com> Co-authored-by: hagen1778 <roman@victoriametrics.com>
14 lines
419 B
JSON
14 lines
419 B
JSON
{
|
|
"name": "csv export",
|
|
"data": [
|
|
"rfc3339,4,{TIME_MS}",
|
|
"rfc3339milli,6,{TIME_MS}",
|
|
"ts,8,{TIME_MS}",
|
|
"tsms,10,{TIME_MS},"
|
|
],
|
|
"insert_query": "?format=1:label:tfmt,2:metric:test_csv,3:time:unix_ms",
|
|
"query": [
|
|
"/api/v1/export/csv?format=__name__,tfmt,__value__,__timestamp__:rfc3339&match[]={__name__=\"test_csv\"}&step=30s&start={TIME_MS-180s}"
|
|
],
|
|
"expected_result_lines_count": 4
|
|
}
|