Commit Graph

1941 Commits

Author SHA1 Message Date
Mikel Blanchard bfabe9bc26
[Logs] OpenTelemetry.Extensions.EventSource extensions project (#3454)
* Add OpenTelemetryEventSourceLogEmitter.

* Project rename.

* Started tests.

* Added behavior comment in example.

* Add  --prerelease in READMEs.

* Example tweaks.

* Test improvements.

* Added activity_id/related_activity_id test.

* Warning cleanup.
2022-07-22 15:40:39 -07:00
Vishwesh Bankwar 1cd84d806a
remove sethttpflavor (#3474) 2022-07-22 12:03:01 -07:00
Reiley Yang 795aedc7de
Exponential Bucket Histogram - part 3 (#3473) 2022-07-22 11:24:50 -07:00
Cijo Thomas 7de3f001bd
Update instrumentation.runtime version (#3471) 2022-07-21 22:56:28 -07:00
Mikel Blanchard bef48ac620
Fix ExceptionProcessor test failing on x86. (#3467) 2022-07-21 17:19:25 -07:00
Reiley Yang cf3dfc51f5
Exponential Bucket Histogram - part 2 (#3468) 2022-07-21 13:35:01 -07:00
Vishwesh Bankwar 54e83a9c9b
Add http.scheme tag to HttpClient instrumentation (#3464)
* add http.scheme tag
2022-07-20 13:59:07 -07:00
Reiley Yang 95419ed309
Exponential Bucket Histogram - part 1 (#3462) 2022-07-20 12:16:32 -07:00
Vishwesh Bankwar f58d9094b9
fix changelog typo (#3465) 2022-07-20 11:30:26 -07:00
Alan West 3d6be9cb57
Start ZPages HttpListener sooner (#3463) 2022-07-20 10:20:17 -07:00
Piotr Kiełkowicz d93606ea71 typo fixes (#3459) 2022-07-20 07:31:43 -07:00
Alan West 5c9a5c6781
Add RecordException overload accepting additional tags (#3433)
* Add RecordException overload accepting additional tags

* Update changelog

* Update public api

* Use TagList

* Update public API

* Update public API

* Check if activity is null

* -?

Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-07-19 14:57:18 -07:00
Robert Pająk 2ebea481f2
docs: auto-instrumentation vs instrumentation state (#3452) 2022-07-18 16:36:22 -07:00
Mikel Blanchard ab10e119ba
[Logs] Serilog extensions project (#3438)
* Add Serilog extensions project.

* Improve provider disposal when using serilog.

* Warning fixes.

* Fix README.

* Code review.

* Move Serilog version to props.

* Rename LogEmitter.Log -> Emit.

* Added unit tests.

* Warning cleanup.

* Code review.

* Standard README jazz.

* Removed ApiCompat block.
2022-07-18 09:38:02 -07:00
Robert Pająk a19d106e0c
Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT (#3424) 2022-07-15 07:46:03 -07:00
Gabriel Lucaci bc4f788383
Fix exact match in wildcard (#3446)
* Add support for exact match
2022-07-14 23:17:26 -07:00
Sami Musallam f471a9f197
feat(enhance-tracertest): removed unused tracerProvider (#3437) 2022-07-11 16:40:48 -07:00
Gérald Barré 1c6bb182c7
Replace StringComparison.InvariantCultureIgnoreCase with OrdinalIgnoreCase (#3436) 2022-07-11 16:20:08 -07:00
Utkarsh Umesan Pillai be6ab712b5
Update SqlInstrumentation ActivitySource name (#3435)
* Update SqlInstrumentation ActivitySource
2022-07-11 13:51:08 -07:00
Mikel Blanchard be588bdcd3
Logs: Add LogEmitter API (#3423)
* Add LogEmitter API.

* Added LogEmitter tests.

* Updated to NOT push ILogger scopes onto LogRecords created through LogEmitter.

* Timestamp tests.

* LogRecordAttributeList tests + bug fix.

* Warning cleanup.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-07-11 08:59:44 -07:00
Alan West 85ba904b48
Add Utkarsh as maintainer (#3432) 2022-07-07 16:58:19 -07:00
Utkarsh Umesan Pillai 624fa210c2
Update Newtonsoft.Json package version (#3431) 2022-07-07 07:28:48 -07:00
Cijo Thomas 5842a0a434
update minverto latest (#3427) 2022-07-05 13:24:23 -07:00
Mikel Blanchard 9858e3ace3
Logs: Add log record pooling (#3385)
* Add log record pooling.

* Tweak.

* Update CHANGELOG.

* Code review.

* Code review.

* Code review.

* Code review.

* Nit.

* Improvement.

* Code review.

* Make resize internal.

* Add more details to comments about write race.

* State buffering tests.

* Comments about buffering.

* Added code comments.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-06-30 09:33:09 -07:00
Cijo Thomas 09ef47dbc1
Update Instrumentation.RunTime version (#3419) 2022-06-29 22:07:37 -07:00
Cijo Thomas f4dddbe7da
Add runtime metrics to example aspnet core app (#3408) 2022-06-28 06:08:46 -07:00
Cijo Thomas dae9f7dac2
Use RunTimeMetrics for stress (#3403) 2022-06-27 21:31:06 -07:00
Cijo Thomas ee7ffd37dc
checkout with fetch all commits (#3413) 2022-06-27 19:51:18 -07:00
Alan West 1bb36fbd48
Use fetch-depth 0 to make minver work properly (#3412) 2022-06-27 19:29:29 -07:00
Christian Neumüller 34efdbf448
Add & use ConfigureResource API. (#3307) 2022-06-27 08:59:59 -07:00
Alan West 98b4fde1ca
HttpClient: Invoke Enrich when SocketException = HostNotFound (#3407) 2022-06-24 14:03:54 -07:00
Alan West b7a3a834d0
Handle possible exception when initializing the default service name (#3405) 2022-06-24 13:12:11 -07:00
Utkarsh Umesan Pillai 1f4d97e3e0
Remove AspNet and AspNet.TelemetryHttpModule instrumentation projects (#3397) 2022-06-23 21:15:17 -07:00
Reiley Yang 2e334df8ae
Dedupe IsPackable (#3398) 2022-06-22 19:05:47 -07:00
Vishwesh Bankwar 0f0a96d31f
add net7.0 for httpclient tests (#3389)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-06-22 12:10:42 -07:00
Cijo Thomas 9bb7aaf727
Try asp.net core tests with inproc server (#3394) 2022-06-22 10:26:21 -07:00
Cijo Thomas cc5083e37b
Asp.Net Core trace instrumentation to populate http schema tag (#3392) 2022-06-20 12:29:23 -07:00
Vishwesh Bankwar 6c9dc8e2b3
[.NET7.0] Add net7.0 target to w3c trace contexts (#3390)
* Add net7.0 target for w3ctracecontext tests

* net70 dependency

* fix typo
2022-06-20 11:29:00 -07:00
Cijo Thomas d74ac9ea4a
Remove SetHttpFlavor from Http instrumentations (#3381) 2022-06-18 10:36:27 -07:00
Mikel Blanchard 274dc440e0
Logs: Add LogRecordData (#3378)
* Add LogRecordData and hook up to LogRecord.

* CHANGELOG update.

* Code review.
2022-06-17 21:30:56 -07:00
Cijo Thomas 3c38200f96
Fix AspNetCore metrics to use correct value for http.flavor (#3379)
* Fix AspNetCore metrics to use correct value for http.flavor

* word better
2022-06-17 14:29:17 -07:00
Timothy Mothra 6053c03b8f
improve test coverage: InMemoryExporter SnapshotMetric (#3344) 2022-06-17 11:43:10 -07:00
Cijo Thomas fd24811e75
ASPNETCore instrumentation to populate httpflavor tag (#3372) 2022-06-17 11:20:28 -07:00
Mikel Blanchard ee11de90a3
SDK: Nullable annotations for base classes & batch + shims to enable compiler features (#3374)
* Nullable annotations and shims for SDK base classes & batch.

* Target updates.

* Remove System.Collections.Immutable ref.

* ApiCompat attribute exclusions.
2022-06-17 10:46:11 -07:00
Vishwesh Bankwar 5d5f1f2964
Add net7.0 target for aspnetcore (#3366) 2022-06-17 10:27:18 -07:00
Mikel Blanchard 17e6d76087
Logs: Add helper ctors & forceflush on OpenTelemetryLoggerProvider (#3364)
* Add helper ctors & forceflush on OpenTelemetryLoggerProvider.

* CHANGELOG update.

* Unit tests.

* Code review.

* Code review.

* Tweak.
2022-06-16 15:50:17 -07:00
Mikel Blanchard 870eb92e5c
Examples: Fix ParentProvider not being set on MyFilteringProcessor (#3370)
* Fix ParentProvider not being set on MyFilteringProcessor example.

* Added XML comments.

* Tweak.

* Typo.
2022-06-16 15:32:29 -07:00
Mikel Blanchard a58c7a3f62
SDK: Forward SetParentProvider to children of CompositeProcessor (#3368) 2022-06-16 07:23:45 -07:00
Mikel Blanchard b680ec624c
In-memory Exporter: Buffer log scopes (#3360)
* Buffer log scopes when using in-memory exporter.

* CHANGELOG update.

* Code review.

* Tests.

* CHANGELOG tweak.
2022-06-15 10:01:58 -07:00
Mikel Blanchard 8b1521fe2c
Fix event name logic + support null categoryname. (#3359) 2022-06-13 13:54:48 -07:00