1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/metric
ET bd16ce0cfa
Switch MinMaxSumCount to a mutex lock instead of StateLocker (#667)
* Switch MinMaxSumCount to a mutex lock instead of StateLocker

With multiple values being modified for each Update(), a single mutex
lock and non-atomic operations ends up being faster than making each
value update into an atomic operation.

* Remove StateLocker implementation and comparison benchmarks

* Remove field offset tests. No longer required with no atomics.

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-28 18:27:13 -07:00
..
aggregator Switch MinMaxSumCount to a mutex lock instead of StateLocker (#667) 2020-04-28 18:27:13 -07:00
batcher Use the label.Set.Equivalent value instead of an encoding in the batcher (#658) 2020-04-24 09:32:49 -07:00
controller/push Pass Resources through the metrics export pipeline (#659) 2020-04-24 09:44:21 -07:00
selector/simple prometheus: add histogram support to exporter (#601) 2020-04-01 14:36:37 -07:00
alignment_test.go Remove Labelset (#595) 2020-03-27 14:06:48 -07:00
atomicfields.go New api/label package, common label set impl (#651) 2020-04-23 12:10:58 -07:00
benchmark_test.go New api/label package, common label set impl (#651) 2020-04-23 12:10:58 -07:00
config_test.go Pass Resources through the metrics export pipeline (#659) 2020-04-24 09:44:21 -07:00
config.go Pass Resources through the metrics export pipeline (#659) 2020-04-24 09:44:21 -07:00
correct_test.go New api/label package, common label set impl (#651) 2020-04-23 12:10:58 -07:00
doc.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
example_test.go Remove WithKeys() option, defaultkeys batcher (#639) 2020-04-14 16:07:11 -07:00
histogram_stress_test.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
minmaxsumcount_stress_test.go Switch MinMaxSumCount to a mutex lock instead of StateLocker (#667) 2020-04-28 18:27:13 -07:00
refcount_mapped.go Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -07:00
sdk.go Pass Resources through the metrics export pipeline (#659) 2020-04-24 09:44:21 -07:00
stress_test.go New api/label package, common label set impl (#651) 2020-04-23 12:10:58 -07:00