Commit Graph

30 Commits

Author SHA1 Message Date
Cijo Thomas a5ab670e0b
Rename GetCounterSum to GetSum (#2702) 2021-11-29 11:47:22 -08:00
Utkarsh Umesan Pillai 9e83587a55
Update Metric Point for Counter and Gauge (#2667) 2021-11-24 11:46:06 -08:00
Reiley Yang fb161af939
Refactor temporality to align with the spec (#2666) 2021-11-23 13:49:29 -08:00
Mikel Blanchard 71f5fb00a8
Metrics: Use ReadOnlyTagCollection to encapsulate key/values on MetricPoint (#2642) 2021-11-20 13:59:22 -08:00
Cijo Thomas 5dcf29f770
Allow ability to override max Metric streams and MetricPoints per stream (#2635) 2021-11-19 10:50:16 -08:00
Utkarsh Umesan Pillai ca291422ff
Add support for multiple readers (#2596) 2021-11-19 07:49:47 -08:00
Alan West 61cb92a18e
Allow duplicate metric name when meter is different (#2634) 2021-11-17 17:16:51 -08:00
Cijo Thomas ac98506ed4
Delta exporters will Export only those points which received new update (#2629) 2021-11-17 11:04:14 -08:00
Reiley Yang f09f62b026
Test improvements (#2612) 2021-11-15 18:28:58 -08:00
Cijo Thomas 9fed161c3a
Handle instrument disposal (#2585) 2021-11-10 09:43:13 -08:00
Reiley Yang 0ed4ed64f0
consolidate/cleanup SA1000 (#2577) 2021-11-09 14:10:01 -08:00
Michael Maxwell 7d6a22fe35
Unique test meter names (#2549) 2021-11-06 18:32:30 -07:00
Michael Maxwell c085504462
Replace use of TestExporter with InMemoryExporter (#2562) 2021-11-05 09:35:49 -07:00
Joao Grassi 1d16b0abc7
Add validation to instrument and view name (#2470) 2021-11-02 09:59:12 -07:00
yunl 4bc68a74da
Changes around MeterProviderSdk, resolving pending comments. (#2474) 2021-10-11 15:55:07 -07:00
yunl c79ad989fd
Added wildcard support for meter sources. (#2459) 2021-10-09 10:23:16 -07:00
Cijo Thomas dd6b11bafa
Handle exception from observable instruments (#2457) 2021-10-06 13:06:35 -07:00
Cijo Thomas 5c7feb0931
Rename AddSource to AddMeter to better reflect intent (#2454) 2021-10-06 09:56:15 -07:00
Mikel Blanchard 38ee521b24
Hosting: Support metrics registration via IServiceCollection & deferred configuration (#2412)
* Add metrics support to hosting lib.

* Bug fixes and some public api additions.

* Added missing zipkin publicapi files.

* Unit tests.

* CHANGELOG updates

* Fixes

* Code review.

* Update src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* Code review.

* Warning fixup.

Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-09-27 10:30:10 -07:00
Cijo Thomas 7bd3de95a5
Unit test for metric stream duplication (#2408) 2021-09-23 12:26:18 -07:00
Michael Maxwell 256fc2d2fe
Use `Stopwatch.StartNew()` (#2403) 2021-09-22 14:35:15 -07:00
Cijo Thomas a538016593
Disallow multiple metric streams of same name. (#2392) 2021-09-20 21:52:11 -07:00
Cijo Thomas 36e8915a21
AggregatorStore to use concurentdictionary (#2339) 2021-09-17 11:22:23 -07:00
Reiley Yang 886b39f0fa
Refactor MetricExporter AggregationTemporality (#2347) 2021-09-13 21:35:53 -07:00
Reiley Yang bec00a9a92
Refactor MetricReader AggregationTemporality (#2342) 2021-09-13 11:05:37 -07:00
Cijo Thomas 16b3188496
Metrics -> Main (#2332)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Michael Maxwell <micmax@microsoft.com>
2021-09-10 15:34:54 -07:00
Cijo Thomas f88f3fe3ad
Support async counter for long (#2279) 2021-08-24 09:45:50 -07:00
Cijo Thomas bd69bd6d29
Refactor Aggregator and Export data structure (#2214) 2021-08-02 09:15:18 -07:00
Cijo Thomas 175154e195
Add a basic metric test for multi-thread update (#2205)
* Add a basic metric test for multi-thread update

* nulklable
2021-07-28 17:35:33 -07:00
Cijo Thomas 7c611c8537
Metrics to Main (#2174) 2021-07-22 07:35:38 -07:00