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
Joshua MacDonald 0e2fdfc682
Support cumulative, delta, and pass-through exporters (#840)
* Update Process()

* Checkpoint

* Add subtractor; fix test

* Fix all simple integrator tests

* Build the rest (checkpoint)

* Pass all but Prometheus tests

* Precommit pass

* Add aggregation.Kind argument to ExportKindFor

* Remove Subtractor support

* Remove dead test code

* Restore the Subtractor code

* Fix the tests

* Comments

* Add tests for MetricKind

* Add ChangeSign test

* Test ExportKind

* New file

* Rename ChangeSign

* Remove a TODO, add a TODO

* Remove Stateful remnants

* Typo

* Typo

* Test an invalid export kind

* Comments

* Lint

* Apply suggestions from code review

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-06-22 22:59:51 -07:00
..
aggregator Support cumulative, delta, and pass-through exporters (#840) 2020-06-22 22:59:51 -07:00
controller Support cumulative, delta, and pass-through exporters (#840) 2020-06-22 22:59:51 -07:00
integrator Support cumulative, delta, and pass-through exporters (#840) 2020-06-22 22:59:51 -07:00
selector/simple Single-state Aggregator and test refactor (#812) 2020-06-13 00:55:01 -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 Add export timestamps; distinguish Accumulation vs. Record (#835) 2020-06-18 10:16:33 -07:00
config.go Update metric SDK to use oterror.Handler 2020-06-02 12:26:25 -07:00
correct_test.go Add export timestamps; distinguish Accumulation vs. Record (#835) 2020-06-18 10:16:33 -07:00
doc.go Replace Measure instrument by ValueRecorder instrument (#732) 2020-05-15 22:11:12 -07:00
example_test.go Metrics instrumentation version (#811) 2020-06-12 09:11:17 -07:00
histogram_stress_test.go Single-state Aggregator and test refactor (#812) 2020-06-13 00:55:01 -07:00
minmaxsumcount_stress_test.go Single-state Aggregator and test refactor (#812) 2020-06-13 00:55:01 -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 Add export timestamps; distinguish Accumulation vs. Record (#835) 2020-06-18 10:16:33 -07:00
stress_test.go Add export timestamps; distinguish Accumulation vs. Record (#835) 2020-06-18 10:16:33 -07:00