Reiley Yang
df756ee50d
Upgrade stylecop to 1.2.0-beta.354 ( #2602 )
2021-11-12 11:20:41 -08:00
Reiley Yang
4929bfd1ac
enable C# 10 ( #2599 )
2021-11-11 20:27:22 -08:00
yunl
4c22707a98
Update metrics benchmarks using net6.0 ( #2591 )
2021-11-10 16:06:28 -08:00
Cijo Thomas
9fed161c3a
Handle instrument disposal ( #2585 )
2021-11-10 09:43:13 -08:00
Reiley Yang
f0311751d5
Do not export metrics description if it is empty ( #2583 )
2021-11-09 19:22:45 -08:00
Cijo Thomas
9ad2cfbec9
Metric description and unit to be treated as empty string when not provided ( #2580 )
2021-11-09 17:41:46 -08:00
Vishwesh Bankwar
4f697ee6c0
update rc versions to stable ( #2581 )
2021-11-09 17:00:44 -08:00
Reiley Yang
0ed4ed64f0
consolidate/cleanup SA1000 ( #2577 )
2021-11-09 14:10:01 -08:00
Reiley Yang
11654f19e2
Solve PrometheusExporter race condition (step 1) ( #2553 )
...
* prom prototype
* minor refactor
* improve mem
* skeleton of the PrometheusSerializer
* a working server
* clear up test
* specialize netframework
* clean up
* update test
* fix unit test
* minor improvement
* comment
* escape metric names
* handle inf/nan
* minor name change
* nit
* more assertion
* patch for old frameworks
* add comment explaining why we use empty string if the label value is null
* Updated PrometheusExporterMiddleware for new PrometheusSerializer API.
* Added some exception handling.
* Test fix.
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2021-11-09 13:30:28 -08:00
Michael Maxwell
05990ae783
Throw on invalid histogram bounds ( #2573 )
2021-11-08 21:47:56 -08:00
Cijo Thomas
8029751d92
Metrics hotpath benchmark updates ( #2571 )
2021-11-08 09:54:43 -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
Reiley Yang
b1fc7616b1
Minor improvements to the Metrics SDK ( #2515 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-26 07:42:12 -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
Mikel Blanchard
d119447e07
Write directly to output stream in OtlpHttpTraceExportClient. ( #2490 )
2021-10-15 18:37:00 -07:00
Mikel Blanchard
32760fd47d
Prometheus: Benchmarks + Performance Improvements ( #2471 )
...
* Added PrometheusExporterMiddleware benchmark.
* Tweak.
* Clean up nits.
* Made the benchmarks more interesting.
* Prometheus exporter performance tweaks.
* Cleanup.
* Use the pool buffer to write to so we only call stream.WriteAsync once per line.
* Code review.
* Improved version of PrometheusMetricsFormatHelper.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-14 10:30:18 -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
Mikel Blanchard
1a9ec3d92d
Added integration test for PrometheusExporterMetricsHttpServer. ( #2465 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-07 13:31:52 -07:00
Cijo Thomas
dd6b11bafa
Handle exception from observable instruments ( #2457 )
2021-10-06 13:06:35 -07:00
Mikel Blanchard
3d16cd8d39
Added integration test for PrometheusExporterMiddleware. ( #2456 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-10-06 12:35:26 -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
Oleksiy Dubinin
1aa4da2098
Issue/2292 otlp http binary protobuf trace exporter ( #2316 )
2021-10-05 11:35:54 -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
Cijo Thomas
2cb0aa8dd8
Benchmark and stress test improvements ( #2447 )
2021-10-04 23:22:14 -07:00
Mikel Blanchard
a4b25f117d
Prometheus: Unit tests part 2 ( #2445 )
2021-10-04 14:07:22 -07:00
Blake
9591cb95e9
Add basic wildcard support for listening to legacy activities. ( #2444 )
2021-10-04 13:42:49 -07:00
Mikel Blanchard
2c2515b774
Prometheus: Create unit test project ( #2440 )
2021-10-01 11:30:22 -07:00
Tom Tan
66329878f3
Replace '\n' with a call to Console.Write() ( #2437 )
2021-10-01 10:11:13 -07:00
Cijo Thomas
1e4094e131
Allow description override using View ( #2438 )
2021-10-01 10:00:12 -07:00
Alan West
8a8dd9716b
Remove InternalsVisibleTo for OTLP exporter project ( #2434 )
2021-09-30 16:32:25 -07:00
Tom Tan
c0af496fd8
Add warning when running stress test with DEBUG build ( #2436 )
...
* Add warning when running stress test with DEBUG build
* Revert unexpected change
2021-09-30 16:20:10 -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
Reiley Yang
9ed51e1060
Clean up stress test ( #2422 )
2021-09-28 15:38:15 -07:00
Reiley Yang
f47ea55a20
Add reusable stress test class ( #2419 )
2021-09-28 11:29:58 -07:00
Utkarsh Umesan Pillai
7b26a647a3
Update Metrics Benchmarks ( #2418 )
...
* Add benchmarks for TagList
* Update the benchmark results in the comments
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-09-28 11:19:38 -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