Commit Graph

1548 Commits

Author SHA1 Message Date
Cijo Thomas 2aa816314c
Modify aspnetcore example to allow otlp log exporter (#2801) 2022-01-20 07:44:03 -08:00
Cijo Thomas 90146f84f2
Updated logging benchmarks to include source generation (#2800) 2022-01-19 13:42:57 -08:00
Cijo Thomas 110b5c267f
fix package versions in benchmarks (#2799) 2022-01-19 11:33:37 -08:00
Cijo Thomas 5587855a53
Add new docs project to solution (#2798) 2022-01-19 09:45:49 -08:00
Utkarsh Umesan Pillai d4cf69301d
Add unit test to check that metric dimensions are order insensitive (#2788) 2022-01-18 16:27:10 -08:00
Reiley Yang fcb6b40bfa
Add an example for LoggerMessageAttribute (#2792) 2022-01-18 14:39:46 -08:00
Cijo Thomas 8138e5ebc5
Fail-fast when using AddView with guaranteed conflict (#2785) 2022-01-13 16:50:20 -08:00
Yun-Ting Lin 26ac74d658
Added sanity check for the setter of PrometheusExporter's HTTP listeners. (#2771) 2022-01-13 07:40:25 -08:00
Michael Maxwell 18d73c59f0
Make Guard method names more explicit (#2762)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-01-12 08:02:13 -08:00
Michael Maxwell fc35311e6d
Event logging type in format string (#2779) 2022-01-12 07:33:04 -08:00
Mikel Blanchard cf3b119edd
Metrics: MetricPointValueStorage explicit layout struct part2 (#2718) 2022-01-11 17:59:27 -08:00
Kia Panahi Rad 4bf8ed40aa
refactor Resource::SanitizeValue method to be more readable (#2761) 2022-01-10 19:26:58 -08:00
Aaron Stannard 66ad39d422
added `ParentId` to `TelemetrySpan` (#2740) 2022-01-10 11:55:31 -08:00
Michael Maxwell 1ff1155852
Metrics Multithreaded Tests - Histogram (#2367) 2022-01-10 11:33:57 -08:00
ndrwrbgs 8c1c1495d9
Convert StateValues (when present) to Attributes. (#2554) 2022-01-07 09:35:06 -08:00
Yun-Ting Lin 74b01fdf80
fix typo (#2770) 2022-01-06 17:40:48 -08:00
Utkarsh Umesan Pillai 392f2a323a
Update CHANGELOG for MetricPoint changes (#2768) 2022-01-06 09:57:17 -08:00
Tom Kerkhove 1191a2a3da
feat: Fail fast when insecure channel is not configured for .NET Core 3.1 with gRPC (#2691)
* feat: Fail fast when unsecure channel is not configured for .NET Core 3.1

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update changelog

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* NotSupportedException -> InvalidOperationException

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Code quality

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Use static class, instead of base class

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Revert change

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Add missing file header

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Change build directive

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Code linting

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove redundant check

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update changelog

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Fix build errors after rebase

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Use previous build directives

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update changelog with latest RC

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Check for version, instead of build directive

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Align tests

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Change error message

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>

* Change comment

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>

* Change test name

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>

* Change test name

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>

* fix: Build integration test image with SDK of specified .NET version

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* revert: Build in 6.0 due to language version

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Use version check instead of build directive

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Fix formatting

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Fix check on version

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Remove flaky test

* Incorporate @pellared's feedback

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Change code style

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Code review remarks

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-12-16 16:57:05 -08:00
Mikel Blanchard fd2aa0b263
Code review feedback. (#2749)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-12-14 13:13:07 -08:00
Utkarsh Umesan Pillai 87f66d3845
Remove unnecessary using statements (#2727) 2021-12-14 12:56:18 -08:00
Mikel Blanchard c470e3761a
Tweaked the Zipkin README documentation for MaxPayloadSizeInBytes. (#2748)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-12-14 11:55:18 -08:00
Mikel Blanchard 1feb2defbd
Fix the PR link in the http instrumentation changelog. (#2750) 2021-12-14 10:46:35 -08:00
Utkarsh Umesan Pillai 33f3596b4b
Make MetricPoint access from MetricPointAccessor readonly (#2736) 2021-12-14 07:48:57 -08:00
Michael Maxwell 1e45e092cb
Update CONTRIBUTING.md with Visual Studio 2022 (#2745)
https://github.com/open-telemetry/opentelemetry-dotnet/issues/2729#issuecomment-988139167
2021-12-13 11:19:10 -08:00
Michael Maxwell 83fa9fde68
General code improvements (#2744) 2021-12-13 09:42:28 -08:00
Michael Maxwell f3eaf4a6f9
Use HashSet constructor (#2742) 2021-12-13 06:48:42 -08:00
Utkarsh Umesan Pillai 5d9083b973
Update docs for Metrics (#2726) 2021-12-07 09:39:03 -08:00
Mikel Blanchard fd223474ec
Http Instrumentation: Fix gRPC causing issues retrieving request & response objects (#2698)
* Chain PropertyFetchers to support DiagnosticListener-based instrumentation being sent different payloads.

* CHANGELOG update.

* Unit test.
2021-12-02 10:28:15 -08:00
ktmitton 76d944130f
Reworded documentation based on recommendation from another PR (#2689)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-30 14:34:01 -08:00
Cijo Thomas c573a8f42b
Minor metric doc fixes (#2715) 2021-11-30 14:25:29 -08:00
Cijo Thomas 7fff1cb44a
More error logging in Metric SDK (#2714) 2021-11-30 12:42:46 -08:00
Cijo Thomas 0f64c9a72b
More Metrics internal logging (#2712) 2021-11-30 08:27:04 -08:00
Cijo Thomas 08cb1cda29
Cleanup unused events in internal EventSource (#2711) 2021-11-30 07:44:11 -08:00
Cijo Thomas 9e135dd7c6
Add logs when exception occurs in critical paths (#2710) 2021-11-30 07:20:57 -08:00
Cijo Thomas dfcaea3c7f
Changelog update in preparation for 1.2.0-rc1 (#2708) 2021-11-29 20:51:54 -08:00
Cijo Thomas 1cb9da5e41
MetricPoint start and end time as Properties (#2703) 2021-11-29 20:41:27 -08:00
Utkarsh Umesan Pillai a828aa71cb
Revert "Allow future addition of Histogram MinMax via View (#2705)" (#2706)
This reverts commit 0c2552ebf6.
2021-11-29 17:28:33 -08:00
Robert Pająk f5b0ea3826
Add HTTP protocol test case to OTLP exporter integration tests (#2692) 2021-11-29 16:02:22 -08:00
Mikel Blanchard 2c9501fcd5
OtlpExporter: HttpClientFactory option (#2696) 2021-11-29 15:34:27 -08:00
Vishwesh Bankwar 381e0b8713
Update TraceProviderSdkTest for legacy activities (#2704) 2021-11-29 15:21:07 -08:00
Cijo Thomas 0c2552ebf6
Allow future addition of Histogram MinMax via View (#2705) 2021-11-29 14:40:59 -08:00
Cijo Thomas a5ab670e0b
Rename GetCounterSum to GetSum (#2702) 2021-11-29 11:47:22 -08:00
Tom Kerkhove 5f5238dd7b
feat: Include endpoint URI in connection failure events (#2686) 2021-11-29 09:54:11 -08:00
Cijo Thomas f153cb1000
MetricType modification to allow future additions to histogram (#2693) 2021-11-29 09:15:57 -08:00
Mikel Blanchard 284885b070
Metrics: Reduced the public api surface of the MetricPointsAccessor struct (#2695) 2021-11-28 14:17:06 -08:00
Mikel Blanchard 494af25b19
Added explicit layout struct MetricPointValueStorage to store values for MetricPoint. (#2694) 2021-11-28 11:50:51 -08:00
ktmitton 580a2a5cc0
Removed explicit setting of default guest user (#2682)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-11-26 12:15:36 -08:00
Tom Kerkhove 3fea4e82fa
chore: Update reference to changelog in PR template (#2685) 2021-11-26 12:02:03 -08:00
Reiley Yang 4da595faf9
Hide MetricReader.ProcessMetrics for now (#2683) 2021-11-26 11:34:19 -08:00
Vishwesh Bankwar 71a6969c1c
Avoid accessing Id on activity start (#2659) 2021-11-24 14:25:28 -08:00