Commit Graph

402 Commits

Author SHA1 Message Date
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
Cijo Thomas 66d2621170
Rename histogram configuration bucketbounds to boundaries (#2638) 2021-11-17 20:26:03 -08:00
Alan West 61cb92a18e
Allow duplicate metric name when meter is different (#2634) 2021-11-17 17:16:51 -08:00
Cijo Thomas a6ead4c1db
Rename SnapShot to Snapshot (#2631) 2021-11-17 11:36:59 -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
Reiley Yang df756ee50d
Upgrade stylecop to 1.2.0-beta.354 (#2602) 2021-11-12 11:20:41 -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 05990ae783
Throw on invalid histogram bounds (#2573) 2021-11-08 21:47:56 -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
Vishwesh Bankwar 4f930d5074
Enable .net6.0 build and add net6.0 target (#2559) 2021-11-04 08:33:35 -07:00
Joao Grassi 1d16b0abc7
Add validation to instrument and view name (#2470) 2021-11-02 09:59:12 -07:00
Mikel Blanchard d9b2ea416e
Batch<T> public api additions to unblock users (#2542)
* Added a public ctor to Batch<T> to unblock user scenarios.

* Bug fixes and improvements.

* Unit test.

* CHANGELOG update

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-29 16:44:57 -07:00
Reiley Yang 87601de2da
Update exporter efficiency test to cover both delta and cumulative (#2541) 2021-10-28 10:18:12 -07:00
Reiley Yang 0c93744d4b
Add a simple memory efficient test for metrics SDK (#2530) 2021-10-27 10:31:01 -07:00
Robert Pająk 3aab1244f8
Consolidate environment variable parsing (#2500) 2021-10-26 14:54:02 -07:00
Michael Maxwell 433b7c8ad1
Guard.cs - Follow-up changes (#2501) 2021-10-26 07:57:34 -07:00
Michael Maxwell 6e6afdbc36
Identified all exception throws in code base (#2416) 2021-10-18 10:29:54 -07:00
Reiley Yang 84bdf38fe1
Simplify code (#2491) 2021-10-18 10:12:08 -07:00
Robert Pająk ed814d1d6d
Throw an exception when parsing an OTEL_BSP_* env var fails (#2395) 2021-10-12 09:59:19 -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
Cijo Thomas f70dfd378a
View - support for dropping instrument (#2449) 2021-10-05 16:07:23 -07:00
Cijo Thomas 2512aa1709
View Part 3 - Support for configuring tagkeys to be used for aggregation (#2442) 2021-10-05 10:18:21 -07:00
Blake 9591cb95e9
Add basic wildcard support for listening to legacy activities. (#2444) 2021-10-04 13:42:49 -07:00
Cijo Thomas 1e4094e131
Allow description override using View (#2438) 2021-10-01 10:00:12 -07:00
Cijo Thomas 90d93fb637
Support View Part2 - specify custom buckets for Histogram (#2432) 2021-09-30 13:49:52 -07:00
Cijo Thomas a6e1e98ec2
Support View part1 - rename an instrument (#2421) 2021-09-29 13:03:32 -07:00
Mikel Blanchard 52559befa8
Attempting to stabilize TestHttpServer tests. (#2415) 2021-09-27 15:42:51 -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
Michael Maxwell c60dc3697c
Delete unused `using` statements (#2411) 2021-09-27 10:07:46 -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
Reiley Yang 15981dfd7f
Improve Metrics pull export mode (#2389) 2021-09-22 10:14:58 -07:00
Cijo Thomas a538016593
Disallow multiple metric streams of same name. (#2392) 2021-09-20 21:52:11 -07:00
Reiley Yang 47e1c5e22f
Update ForceFlush behavior to meet with the latest spec requirements (#2388) 2021-09-20 14:08:09 -07:00
Utkarsh Umesan Pillai 67e4e071a4
Add a failing unit test for InMemoryExporter (#2387) 2021-09-19 17:54:04 -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 aa7509e056
removed unused files (#2345) 2021-09-13 14:25:42 -07:00
Reiley Yang bec00a9a92
Refactor MetricReader AggregationTemporality (#2342) 2021-09-13 11:05:37 -07:00
Cijo Thomas 3e0c45182d
Cleanup Metric aggregators and unused code (#2337) 2021-09-10 16:29:42 -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
Mikel Blanchard 22b1ff5a1a
Baggage API: Thread-safety (#2298)
* Implement thread-safety in Baggage API.

* Code review.

* Fixed broken test.

* Code review.

* Fix misspell.

* Code review.

* CHANGELOG update.

* Code review.
2021-09-04 11:19:20 -07:00