mirror of https://github.com/prometheus/prometheus
Browse Source
JSON marshaling is only needed for the HTTP API. Since Point is such a frequently marshaled type, it gets an optimized treatment directly in web/api/v1/api.go. The MarshalJSON method still provided in the promql package is therefore unused and its existence is confusing. Signed-off-by: beorn7 <beorn@grafana.com>pull/9864/head
Björn Rabenstein
3 years ago
committed by
GitHub
1 changed files with 3 additions and 6 deletions
Loading…
Reference in new issue