1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
opentelemetry-go/sdk/metric
Krzesimir Nowak 927d9155ae
Increase the visibility of the api/key package (#650)
* Point to the convenience functions in api/key package

This is to increase the visibility of the api/key package through the
api/core package, otherwise developers often tend to miss the api/key
package altogether and write `core.Key(name).TYPE(value)` and complain
at the verbosity of such a construction. The api/key package would
allow them to write `key.TYPE(name, value)`.

* Use the api/key package where applicable

This transforms all the uses of `core.Key(name).TYPE(value)` to
`key.TYPE(name, value)`. This also should help increasing the
visibility of the api/key package for developers reading the otel-go
code.

Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-04-21 20:26:51 -07:00
..
aggregator Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
batcher Remove WithKeys() option, defaultkeys batcher (#639) 2020-04-14 16:07:11 -07:00
controller/push Increase the visibility of the api/key package (#650) 2020-04-21 20:26:51 -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 Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -07:00
benchmark_test.go Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -07:00
config_test.go Increase the visibility of the api/key package (#650) 2020-04-21 20:26:51 -07:00
config.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
correct_test.go Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -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
list.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
minmaxsumcount_stress_test.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -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 Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -07:00
stress_test.go Remove Labelset (#595) 2020-03-27 14:06:48 -07:00