Commit Graph

2021 Commits

Author SHA1 Message Date
Mikel Blanchard a93f7138b1
Run workflows for any branch starting with "main". (#3708) 2022-09-29 12:04:43 -07:00
Mikel Blanchard 7fd3783371
[Logs] Revert logging API additions (#3702)
* Revert logging API additions.

* Cleanup.

* Cleanup.

* CHANGELOG update.

* Bug fix.
2022-09-28 17:18:38 -07:00
Alan West 4938c35e16
Trigger pack and publish when release is created (#3638) 2022-09-28 16:58:37 -07:00
Vishwesh Bankwar d10f1f945d
Unit test to validate spans in http redirect (#3699) 2022-09-27 17:51:41 -04:00
Vishwesh Bankwar 86ee906dcd
Update Diagnostic Source to rc version (#3698) 2022-09-27 10:34:30 -07:00
Vishwesh Bankwar 8800b2ffdb
Move all diagnostic source events to a single callback method `OnEventWritten` (#3691) 2022-09-26 15:22:41 -04:00
dependabot[bot] ed0450ef0e
Bump actions/stale from 5 to 6 (#3692)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 13:50:15 -07:00
Vishwesh Bankwar 84762870dd
Update aspnetcore benchmark results (#3688) 2022-09-22 13:16:06 -04:00
Piotr Kiełkowicz 3158d38bbd
[Exporter.Prometheus] Execute all tests in all supported frameworks (#3680) 2022-09-22 11:40:04 -04:00
Vishwesh Bankwar 74412f0b19
[ASP.NET Core] Enable diagnostic source events using explicit names (#3519) 2022-09-21 11:54:34 -07:00
Piotr Kiełkowicz 988a27be05
exportor -> exporter (#3678) 2022-09-20 00:40:58 -07:00
dependabot[bot] a6bdf63be7
Bump codecov/codecov-action from 3.1.0 to 3.1.1 (#3676)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-09-19 18:09:30 -07:00
Omar Boukli-Hacene f45206ba0e
Fix ConsoleActivityExporter output alignment (#3674) 2022-09-19 15:08:15 -04:00
Alan West 3d03426694
HttpClient instrumentation: Clarify drop of support for .NET 5 and prior (#3675) 2022-09-19 14:22:35 -04:00
Timothy Mothra 78e38423d7
improve eventsource tests - part 1 (#3586) 2022-09-16 19:22:22 -04:00
Mikel Blanchard d72a94f3ba
[Traces] Support named options in HttpWebRequest instrumentation (#3667)
* Added support for named options in the HttpWebRequest builder extensions.

* CHANGELOG update.
2022-09-15 11:54:35 -07:00
Mikel Blanchard 215f58bad5
[Traces] Support named options in HttpClient instrumentation (#3664)
* Enabled named options in httpclient instrumentation.

* Tests.

* CHANGELOG update.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-09-15 10:56:13 -07:00
Mikel Blanchard 960908cb69
[Traces] Support named options in gRPC instrumentation (#3665)
* Support named options in grpc instrumentation.

* CHANGELOG update.
2022-09-14 17:40:53 -07:00
Mikel Blanchard 928d77056c
Use IOptionsMonitor instead of IOptionsSnapshot. (#3662) 2022-09-14 14:25:37 -07:00
Mikel Blanchard 97e5021c73
[Traces] Support named options in AspNetCore instrumentation (#3661)
* Support named options in aspnetcore instrumentation.

* CHANGELOG update.
2022-09-14 13:14:33 -07:00
Mikel Blanchard ef46e827a7
Support named options in the logger provider builder AddExporter API. (#3660) 2022-09-14 11:02:13 -07:00
Vishwesh Bankwar faf5bb5dfb
Update aspnetcore instrumentation benchmarks (#3642) 2022-09-14 13:42:10 -04:00
Reiley Yang e68abc8136
Output EOF following the OpenMetrics exposition recommendation (#3654)
* Output EOF following the OpenMetrics exposition recommendation

* update test case

* changelog
2022-09-14 10:08:42 -07:00
Mikel Blanchard 3a8f139e8e
Support named options in the tracer provider builder AddExporter API. (#3659) 2022-09-14 09:35:49 -07:00
blouflashdb d99307da34
Improve internal logging of LoggerProvider configuration (#3647) 2022-09-13 17:19:36 -07:00
Mikel Blanchard bc82fdc732
XML comment cleanup for in-memory exporter extensions. (#3658) 2022-09-13 16:00:04 -07:00
Mikel Blanchard 11c804ac68
[Logs + Traces] Add named options support to ConsoleExporter builder extensions (#3657)
* Add named options support to console exporter tracer & logger provider builder extensions.

* CHANGELOG update.
2022-09-13 15:19:22 -07:00
Mikel Blanchard cb2eeb5621
[Traces] Add named options support to JaegerExporter builder extensions (#3656)
* Add named options support to jaeger provider builder extensions.

* CHANGELOG update.

* Code review.
2022-09-13 14:51:58 -07:00
Mikel Blanchard a87f8f7373
[Traces] Add named options support to ZipkinExporter builder extensions (#3655)
* Add named options support to zipkin provider builder extensions.

* CHANGELOG update.
2022-09-13 14:22:04 -07:00
Mikel Blanchard b4ade26eae
[Traces] Add named options support to OtlpTraceExporter builder extensions (#3653)
* Add named options support to otlp trace provider builder extensions.

* CHANGELOG update.
2022-09-13 13:22:05 -07:00
Reiley Yang 6ea078ea2d
Support Prometheus UNIT metadata (#3651)
* support Prometheus UNIT metadata

* changelog
2022-09-13 11:25:24 -07:00
Mikel Blanchard de98eb7725
[Logs] Add named options support to OtlpLogExporter builder extensions. (#3652)
* Add named options support to otlp log provider builder extensions.

* CHANGELOG update.
2022-09-13 10:19:15 -07:00
Mikel Blanchard 79d8714cb3
[Metrics] Clean up repo exporters to use new DI patterns (#3648)
* Clean up metric exporters to use new DI patterns.

* Support named options with in-memory exporter build-up.

* Support named options in ConsoleExporter metrics extensions.

* Support named options in OtlpExporter metrics extensions.

* Support named options in PrometheusExporter AspNetCore metrics extensions.

* Support named options in PrometheusExporter HttpListener metrics extensions.

* CHANGELOG updates.

* Unit tests.
2022-09-12 17:41:51 -07:00
Mikel Blanchard 6ff512cf60
[Metrics] Improve dependency injection support in meter provider build-up using SDK (#3646)
* Mirror TracerProviderBuilder dependency injection API onto MeterProviderBuilder.

* Nullable annotations.

* Warning cleanup.

* Warning cleanup.

* Public API updates.

* Warning cleanup.

* Public API updates.

* CHANGELOG updates.

* Warning cleanup.

* Fixes.

* Tests.
2022-09-12 13:22:51 -07:00
Dawid Szmigielski cea14d3d36
Change StatusCode to 200 when no metrics are collected (#3643) 2022-09-11 00:56:29 -04:00
Mikel Blanchard 872a52f529
Instrumentation cleanup. (#3641) 2022-09-08 13:00:40 -07:00
Mikel Blanchard fb6463d25c
[Traces + Logs] Clean up repo exporters to use new DI patterns (#3640)
* Clean up trace & log exporters to use new DI patterns.

* Doc updates.

* Updates.

* Updates.
2022-09-08 12:08:25 -07:00
Mikel Blanchard 5208ec0586
[Logs] Sync up logger provider build-up scenarios with tracer provider (#3596)
* Since up logger provider build-up scenarios with tracer provider.

* CHANGELOG update.

* Code review.
2022-09-07 14:22:37 -07:00
Michael Maxwell 9c3d1b11f8
Binary search for large bucket count histograms (#3252)
* Binary search for large bucket count histograms

* Update CHANGELOG.md

* netcoreapp3.1 was complaining

* ci rerun

* ci rerun

* Update MetricTestData.cs

* use 400 buckets

* Update ExplicitBucketHistogramConfiguration.cs

Binary search for large bucket count histograms

Update CHANGELOG.md

netcoreapp3.1 was complaining

ci rerun

ci rerun

Update MetricTestData.cs

use 400 buckets

* separate nan part

* Address PR comments

- Remove conversion to float from `FindHistogramBucketIndexBinary`
- Make `DefaultHistogramCountForBinarySearch` a `const` instead of a `static readonly`

* update to 140

* remove double.nan from invalid hist bounds

* Refactor and perf to histogram bucket index find

Thanks to @CodeBlanch !!

* fine tune bound limit to switch to binary search

* included benchmark results in comment

* new bench result

* histogram stress test update

* fix changelog

* spacing fix

* sealed bucket class

* ci

* double.negative infinity

* update order of operations

when testing with large MaxValue this would end up having same value bounds

* remove stress test change

* ci

* Add histogram binary mode tests

* ci

* pr review changes

* allocated column - hist benchmark

* CI

Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-09-02 11:02:00 -07:00
Jacky Shang db0918e9b6
Fix: Logs could be exported via ConsoleExporter after LoggerFactory is disposed #1848 (#3578) 2022-09-02 12:15:45 -04:00
Cijo Thomas 0447871d48
Minor fixes to metrics, prometheus examples (#3623) 2022-09-01 21:41:09 -07:00
Alan West c2f5e80b0d
Support UpDownCounter and ObservableUpDownCounter (#3606) 2022-09-01 21:17:37 -04:00
Utkarsh Umesan Pillai a37198c6d0
Update releasing doc (#3621) 2022-08-30 20:52:56 -04:00
Alan West 46e6c8a06d
Move common Prometheus exporter tests to their own project (#3618)
* Move common Prometheus exporter tests to their own project

* Skip test for net462

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-08-30 15:35:38 -07:00
Timothy Mothra 65b57df841
ignore config for live unit testing (#3587) 2022-08-30 14:51:40 -07:00
Vishwesh Bankwar c98a5a8fb9
[ASP.NET Core] Remove reflection for diagnostic source event payload (#3604) 2022-08-30 14:29:01 -07:00
Vishwesh Bankwar 098f2e0253
[ASP.NET Core] Add unit test for validating diagnostic source event subscription (#3597)
* add unit test for validating event subscription
2022-08-30 14:13:07 -07:00
Cijo Thomas f4b27df779
Improve Sampler tests to validate initial tags and links are passed (#3615) 2022-08-30 16:59:57 -04:00
Cijo Thomas b082922cc8
Benchmarks for sampler accessing and modifying tracestate (#3613) 2022-08-30 11:56:50 -04:00
Cijo Thomas b54cc80b67
Add support for samplers to modify Tracestate (#3610) 2022-08-29 19:28:18 -04:00