prometheus/storage/remote
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683)
* storage: Replace usage of sync/atomic with uber-go/atomic

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* tsdb: Replace usage of sync/atomic with uber-go/atomic

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* web: Replace usage of sync/atomic with uber-go/atomic

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* notifier: Replace usage of sync/atomic with uber-go/atomic

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* cmd: Replace usage of sync/atomic with uber-go/atomic

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* scripts: Verify that we are not using restricted packages

It checks that we are not directly importing 'sync/atomic'.

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* Reorganise imports in blocks

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* notifier/test: Apply PR suggestions

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* storage/remote: avoid storing references on newEntry

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* Revert "scripts: Verify that we are not using restricted packages"

This reverts commit 278d32748e.

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>

* web: Group imports accordingly

Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>
2020-07-30 13:15:42 +05:30
..
chunked.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
chunked_test.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
client.go Exports recoverable error (#7689) 2020-07-29 11:08:25 -06:00
client_test.go Exports recoverable error (#7689) 2020-07-29 11:08:25 -06:00
codec.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
codec_test.go Add a unit test for MergeLabels in storage/remote/codec.go. (#7499) 2020-07-04 22:17:19 -06:00
ewma.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
intern.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
intern_test.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
max_gauge.go
queue_manager.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
queue_manager_test.go Replace sync/atomic with uber-go/atomic (#7683) 2020-07-30 13:15:42 +05:30
read.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
read_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
storage.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
storage_test.go storage/remote: add tests for config changes 2020-04-13 22:32:37 +00:00
write.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
write_test.go add os.RemoveAll err verification (#7540) 2020-07-17 11:47:32 +05:30