Commit Graph

1522 Commits

Author SHA1 Message Date
Mikel Blanchard 0604ecf346
[Traces] Made ctor on BatchExportActivityProcessorOptions accepting IConfiguration internal (#3902) 2022-11-15 15:29:30 -05:00
Vishwesh Bankwar 2e7b7a9308
[HttpClient] Add `net.peer.name` and `net.peer.port` on metric dimensions (#3907)
* Add net.peer.name and net.peer.port on metric

* changelog

* rmv todo
2022-11-15 14:57:32 -05:00
Mikel Blanchard f770047d97
[Sql Instrumentation] Unify exposed public API (#3900)
* Unify public api exposed in sql instrumentation package.

* CHANGELOG patch.

* Code review.

* README updates.

* README tweaks.
2022-11-14 14:33:55 -08:00
Mikel Blanchard ddcff7de3c
[Logs] Support dependency injection in ResourceBuilder and load envvars from IConfiguration (#3889)
* Fixed logging resource builder not being attached to IServiceProvider.

* CHANGELOG patch.

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2022-11-11 11:49:44 -08:00
Vishwesh Bankwar 2fce583b9c
[HttpClient] Remove `http.host` and add `net.peer.name` & `net.peer.port` to match spec (#3832) 2022-11-11 12:49:30 -05:00
Cijo Thomas a5e5ed8705
Minor doc fixes across all components (#3879) 2022-11-09 13:05:52 -05:00
Cijo Thomas 85da882bbd
Upgrade DS to 7.0 stable (#3875) 2022-11-08 12:13:54 -05:00
Mikel Blanchard 51f6cb7675
Tweak AddExporter to work better with Options API. (#3870)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-08 11:46:53 -05:00
Utkarsh Umesan Pillai 273c20580a
Update CHANGELOG for 1.4.0-beta.4 (#3868) 2022-11-07 12:04:04 -08:00
Cijo Thomas be78372696
Minor perf tweaks in Metrics (#3867) 2022-11-04 12:40:24 -04:00
Cijo Thomas 91607e7d77
More performance improvement when views are used (#3864) 2022-11-04 09:40:07 -04:00
Cijo Thomas 91a9b7c549
Minor perf improvement for metric (#3862) 2022-11-03 14:51:10 -04:00
Mikel Blanchard 399fbcfaab
[Http Instrumentation] Unify exposed public API (#3793)
* Expose the same Http API for all targets.

* CHANGELOG stub.

* Merge updates.

* CHANGELOG updates.

* CHANGELOG cleanup.

* Working on tests.

* Test fix.

* Cleanup.

* HttpClient tests passing.

* Tests passing.

* Tests passing.

* README updates.

* Cleanup.

* Lint

Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-11-02 11:48:23 -07:00
Mikel Blanchard 180a8f928d
[Repo] Remove duplicate content from SDK README (#3853) 2022-11-01 19:49:32 -04:00
Cijo Thomas d4cca852bf
OTLP Logs - remove depth from scope fields (#3843) 2022-10-31 19:30:27 -04:00
Cijo Thomas c7dff42dbc
Minor fixes to logging scope examples (#3837) 2022-10-28 14:53:11 -04:00
Mikel Blanchard 8add3db43a
[Http] Fix propagation issues (#3828)
* Fix propagation issues with http client instrumentation.

* More comments and asserts.

* Fixes.

* Improve tests.

* Test cleanup.

* Simplify things.

* CHANGELOG update.

* Code review.

* Lint.

* Code review.

* Code review.

Co-authored-by: Vishwesh Bankwar <vishweshbankwar@users.noreply.github.com>
2022-10-28 10:48:24 -07:00
Michael Maxwell 1a65aec968
Limit character set according to spec (#3821) 2022-10-27 20:55:05 -07:00
Cijo Thomas 3bd798b18b
Metric Perf improvement when out of MetricPoints (#3826) 2022-10-26 17:10:35 -04:00
Cijo Thomas 110b7f6d0c
Add missing changelog (#3825) 2022-10-26 13:37:31 -04:00
Cijo Thomas 88c1864cb7
Histogram MinMax API fixes (#3822) 2022-10-26 12:35:07 -04:00
Cijo Thomas 004c3f6a1f
Rename AggregationType to better reflect intent (#3820) 2022-10-25 18:43:01 -04:00
Vishwesh Bankwar e381c0cdce
nit fix (#3819) 2022-10-25 14:26:52 -07:00
Vishwesh Bankwar 2fa5b3f9ad
Enable specific events for metrics (#3818) 2022-10-25 17:02:19 -04:00
Alan West a3867bde73
Validate OTLP exporter continues to export after RpcException (#3788) 2022-10-25 15:46:06 -04:00
Mikel Blanchard 6ce883b7f4
Port refactor from main-logs branch. (#3808)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-24 12:56:36 -04:00
Vishwesh Bankwar 732f199676
Update grpc client enrich callbacks (#3804) 2022-10-24 12:41:54 -04:00
benhall_io 78f8bf8549
Add missing end of code block backticks (#3807) 2022-10-22 06:53:33 -07:00
Mikel Blanchard 0804334de7
Fix circular reference issue building up meter provider. (#3806)
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-10-21 14:34:04 -07:00
Pavel Steinl 3c245efb5c
Guard.Range now uses invariant culture for error message (#3778)
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-10-21 17:04:33 -04:00
Mikel Blanchard d4cbc0c213
[SDK] Add some missing nullable annotations (#3796)
* Added some missing nullable annotations in SDK.

* Handle null span names in SamplingParameters.

* Warning cleanup.

* Warning cleanup.

* Added link to issue in comment.

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2022-10-21 13:33:04 -07:00
Mikel Blanchard 9b8702e3dc
Fix circular reference issue building up tracer provider. (#3803) 2022-10-21 13:10:46 -07:00
Mikel Blanchard 32650555d4
[SDK] Support dependency injection in the GetDefaultResource API (#3798)
* Support dependency injection in the GetDefaultResource API.

* CHANGELOG patch.

* Test tweaks.

Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-21 12:33:38 -07:00
Vishwesh Bankwar d21e609f00
[Http] Update enrich callbacks for http (#3792) 2022-10-21 11:34:17 -07:00
Vishwesh Bankwar 0c31fb9702
[ASP.NET Core] Update enrich callbacks to use specific type. (#3749) 2022-10-21 13:26:41 -04:00
Cijo Thomas f94ccb789a
Move more docs to docs folder (#3801) 2022-10-21 13:16:31 -04:00
Utkarsh Umesan Pillai 82a3353b97
Mark private and internal classes as sealed (#3799)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-21 12:34:23 -04:00
Cijo Thomas 16e0758c14
Add MinMax to console and doc additions (#3795) 2022-10-20 19:13:36 -04:00
Jonathan Wilhelm f963f9dcf6
[Logs] UnitTest: LogRecord attribute limits (#3758)
* Unittest for LogRecord attribute limits

* Remove maxValueLength from LogRecordExtensions.AddIntAttribute.

Change requested from https://github.com/open-telemetry/opentelemetry-dotnet/pull/3684#discussion_r995164277

* Pr commits addressed

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-10-20 10:36:11 -07:00
Mikel Blanchard 6fae370b26
[Prometheus AspNetCore] Support named options in pipeline extensions (#3780)
* Support named options in Prometheus AspNetCore pipeline extensions.

* Patch CHANGELOG.

Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-20 10:11:35 -07:00
Mikel Blanchard cedda83469
[SDK] Support dependency injection in ResourceBuilder and load envvars from IConfiguration (#3782) 2022-10-19 15:14:07 -04:00
Joao Grassi 2377d00c9d
Auto-generated Semantic Conventions (#2069) 2022-10-19 14:34:35 -04:00
Reiley Yang 6d6222f52a
Bump System.Text.Json version due to CVE-2021-26701 (#3789) 2022-10-19 01:10:46 -04:00
Vishwesh Bankwar 5f962a1eb8
[HttpClient] Add back netstandard2.0 target (#3787)
* Add back netstandard2.0 target

* changelog

* public api files
2022-10-18 21:45:26 -04:00
Vishwesh Bankwar c2473fd5fe
[ASP.NET Core] Add back netstandard2.0 and 2.1 targets (#3755) 2022-10-18 19:08:55 -04:00
Cijo Thomas f71b404693
ConsoleLogExporter to output full exception (#3784) 2022-10-18 15:25:11 -07:00
Cijo Thomas 5b12f08c53
Update DS to rc2 (#3781) 2022-10-18 16:51:38 -04:00
aristotelos 49d1779af4
Link to .NET docs about different ports (#3704) 2022-10-18 14:33:05 -04:00
Mikel Blanchard 423999223a
[SDK, Jaeger, Zipkin, & Otlp] Support loading envvars for BatchExportActivityProcessorOptions from IConfiguration (#3776)
* Support loading envvars for ExportActivityProcessorOptions & BatchExportActivityProcessorOptions from IConfiguration.

* Update src/OpenTelemetry/CHANGELOG.md

Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>

* Patch CHANGELOG.

* Unit test.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
2022-10-18 10:27:06 -07:00
Pavel Steinl 3f53be6369
[SqlClient] Add support for Filter expression (#3743) 2022-10-18 09:56:57 -04:00