linkerd2/controller/telemetry
Andrew Seigner 50f4aa57e5
Require timestamp on all telemetry requests (#342)
PR #298 moved summary (non-timeseries) requests to Prometheus' Query
endpoint, with no timestamp provided. This Query endpoint returns a
single data point with whatever timestamp was provided in the request.
In the absense of a timestamp, it uses current server time. This causes
the Public API to return discreet data points with slightly different
timestamps, which is unexpected behavior.

Modify the Public API -> Telemetry -> Prometheus request path to always
require a timestamp for single data point requests.

Fixes #340

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2018-02-13 13:52:21 -08:00
..
client.go Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
server.go Require timestamp on all telemetry requests (#342) 2018-02-13 13:52:21 -08:00
server_test.go Require timestamp on all telemetry requests (#342) 2018-02-13 13:52:21 -08:00