mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
Merge branch 'master' into remove-spanId-from-sampling-params
This commit is contained in:
commit
52a0bad9e2
@ -105,6 +105,7 @@ func (e *Exporter) ExportSpans(ctx context.Context, batch []*export.SpanData) {
|
||||
e.logf("failed to create request to %s: %v", e.url, err)
|
||||
return
|
||||
}
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
resp, err := e.client.Do(req)
|
||||
if err != nil {
|
||||
e.logf("request to %s failed: %v", e.url, err)
|
||||
|
Loading…
Reference in New Issue
Block a user