diff --git a/app/vmagent/remotewrite/client.go b/app/vmagent/remotewrite/client.go index 71f353e38a..0305b042d1 100644 --- a/app/vmagent/remotewrite/client.go +++ b/app/vmagent/remotewrite/client.go @@ -214,6 +214,7 @@ func (c *client) sendBlock(block []byte) { req.Header.SetMethod("POST") req.Header.Add("Content-Type", "application/x-protobuf") req.Header.Add("Content-Encoding", "snappy") + req.Header.Add("X-Prometheus-Remote-Write-Version", "0.1.0") if c.authHeader != "" { req.Header.Set("Authorization", c.authHeader) }