Remove explicit user agent definition (#63019)

pull/63216/head
ismail simsek 2 years ago committed by GitHub
parent b5ef9628e8
commit 8684fa75c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/tsdb/influxdb/influxdb.go

@ -179,8 +179,6 @@ func (s *Service) createRequest(ctx context.Context, logger log.Logger, dsInfo *
return nil, ErrInvalidHttpMode
}
req.Header.Set("User-Agent", "Grafana")
params := req.URL.Query()
params.Set("db", dsInfo.DbName)
params.Set("epoch", "ms")

Loading…
Cancel
Save