grafana/pkg/tsdb/elasticsearch
Kristin Laemmert 8f6877e12a
chore: remove all remaining uses of golang.org/x/net/context (#47564)
* chore: remove all remaining uses of  golang.org/x/net/context

This PR finishes the work started in #47532, replacing all calls to that package with the stdlib context and using http.NewRequestWithContext to include the context where necessary.

Bonus: small formatting fixes to goimports in these files.

closes #44178

* tweak: use context.Background in favor of TODO for tests
2022-04-11 14:20:10 -04:00
..
client chore: remove all remaining uses of golang.org/x/net/context (#47564) 2022-04-11 14:20:10 -04:00
elasticsearch_test.go Plugins: Migrate Elasticsearch to backend plugin SDK (#36132) 2021-07-15 16:45:59 +02:00
elasticsearch.go bugfix: fix proper type of setting maxConcurrentShardRequests (#47120) 2022-04-11 10:29:49 +02:00
models.go IntervalV2: Use maxDataPoints to calculate correct interval (#39036) 2021-09-13 14:58:32 +02:00
response_parser_test.go Elasticsearch: Fix metric names for alert queries (#38546) 2021-08-26 09:20:38 +02:00
response_parser.go Chore: Refactor usage of legacy data contracts (#41218) 2021-11-10 11:52:16 +01:00
time_series_query_test.go Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00
time_series_query.go Elastic: Allow using long/int as date field for alerts (#44027) 2022-01-17 15:45:09 +01:00