VictoriaMetrics/app/vmselect/prometheus/series_count_response.qtpl

11 lines
289 B
Plaintext
Raw Normal View History

2019-05-22 23:16:55 +02:00
{% stripspace %}
SeriesCountResponse generates response for /api/v1/series/count .
{% func SeriesCountResponse(isPartial bool, n uint64) %}
2019-05-22 23:16:55 +02:00
{
"status":"success",
"isPartial":{% if isPartial %}true{% else %}false{% endif %},
"data":[{%dl int64(n) %}]
2019-05-22 23:16:55 +02:00
}
{% endfunc %}
{% endstripspace %}