VictoriaMetrics/app/vmselect/prometheus/series_count_response.qtpl

11 lines
289 B
Text
Raw Normal View History

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