Reiley Yang
6ba9245f34
Remove the deprecated/unused dotnet-xunit dependency ( #4574 )
2023-06-12 19:00:53 -07:00
Utkarsh Umesan Pillai
ccfbcc62d1
Mark Exemplars internal ( #4533 )
...
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-05-31 20:32:43 -07:00
Mikel Blanchard
0ddbdb4e53
[di] Expose a detached LoggerProviderBuilder extension on IServiceCollection which may modify services ( #4531 )
...
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-05-31 19:46:39 -07:00
Alan West
2f77b31d9c
Analysis of the imprecision of MapToIndex ( #4509 )
2023-05-31 18:10:01 -07:00
Mikel Blanchard
ba8fd47238
[di] Expose a detached MeterProviderBuilder extension on IServiceCollection which may modify services ( #4517 )
2023-05-31 12:52:55 -07:00
Mikel Blanchard
0b816319ac
[Sdk] TracerProviderBuilderBase chained/fluent call fix ( #4529 )
...
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
2023-05-31 10:54:02 -07:00
Mikel Blanchard
107dd264c2
[di] Expose a detached TracerProviderBuilder extension on IServiceCollection which may modify services. ( #4508 )
2023-05-25 10:31:27 -07:00
Alan West
30ad91af37
Make exponential histogram negative buckets internal ( #4494 )
2023-05-16 14:45:33 -07:00
Alan West
d5129b215d
Exponential histogram LowerBoundary implementation ( #4465 )
...
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2023-05-15 17:17:17 -07:00
Mikel Blanchard
60ed9aa9a6
[sdk-logs] Add LoggerProvider extensions ( #4480 )
2023-05-11 17:04:00 -07:00
Mikel Blanchard
660d5b55cf
[sdk-logs] Update ILogger integration to use LoggerProvider ( #4473 )
2023-05-10 11:54:13 -07:00
Luiz Lelis
fea6793a55
Clean up package version definitions using Directory.Packages.props ( #4298 )
...
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-05-09 09:35:05 -07:00
Mikel Blanchard
085df7a6a0
[sdk-logs] Tests and bug fixes for logging builder & provider ( #4467 )
2023-05-08 11:00:35 -07:00
Mikel Blanchard
4376564d8e
[di-tracing] Fix the TracerProviderBuilder.AddInstrumentation factory pattern extension ( #4468 )
2023-05-08 10:18:05 -07:00
Mikel Blanchard
8f4d83a58e
[sdk-logs] LogRecord LogLevel/Severity conversion test ( #4462 )
2023-05-04 14:53:54 -07:00
xiang17
6c9c48f23f
Fix flaky unit tests of SelfDiagnosticsConfigRefresher ( #4448 )
2023-04-27 12:47:56 -07:00
Mikel Blanchard
4ebbccfe7b
[sdk-logs] Add BatchExportLogRecordProcessorOptions to SDK ( #4446 )
2023-04-26 15:51:57 -07:00
Mikel Blanchard
6a64dd2bc5
[api-logs] Add internal artifacts for OTel spec log bridge API ( #4422 )
2023-04-25 10:20:17 -07:00
Mikel Blanchard
acbf10aa57
[sdk.logging] More consistent handling of StateValues/Attributes ( #4334 )
2023-04-20 10:23:58 -07:00
Yun-Ting Lin
30b7b79e9c
added a test for Histogram `Update` and `TakeSnapshot` methods ( #4340 )
2023-04-14 13:06:00 -07:00
Timothy Mothra
807f703e1b
move tests from OpenTelemetry.Tests project to OpenTelemetry.Api.Tests ( #4368 )
2023-04-05 21:41:30 -07:00
Alan West
b449fa1d15
Add telemetry.sdk.* attributes to default resource ( #4369 )
2023-04-05 17:29:59 -07:00
Vishwesh Bankwar
691886607e
Set Activity.Status when adding SetErrorStatusOnException ( #4336 )
2023-03-31 13:46:32 -04:00
Andre Hofmeister
533513f65b
feat: Enable SuccessfulCommandTest by leveraging Testcontainers ( #4198 )
...
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-03-29 16:16:00 -07:00
Alan West
094124e9ee
Add exponential histogram MaxScale configuration ( #4327 )
2023-03-23 19:31:33 -07:00
Alan West
3d1c489998
Fix exp histogram snapshot when exemplars are enabled ( #4325 )
2023-03-22 17:29:27 -07:00
Piotr Kiełkowicz
811d0eb12d
[Exporter.OTLP] Nullability for compiled in files - part 1 ( #4282 )
2023-03-20 17:08:39 -07:00
Alan West
d924663dc3
Fix min/max snapshot for explicit bounds histogram ( #4306 )
2023-03-16 13:51:34 -07:00
Alan West
30e405431b
Add exponential histogram tests and in-memory exporter support ( #4303 )
2023-03-15 13:20:40 -07:00
Mikel Blanchard
5aad3e0486
[sdk] SuppressInstrumentationScope perf tweaks ( #4304 )
2023-03-15 11:28:58 -07:00
Alan West
ac55f0e9a6
Add MetricType.ExponentialHistogram ( #4295 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-03-14 09:58:48 -07:00
Alan West
9395b9e944
Expose exponential histogram data ( #4290 )
2023-03-10 15:16:33 -08:00
Alan West
e4554f2cd3
Implement Update and Snapshot for exponential histogram buckets ( #4267 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-03-09 10:34:33 -08:00
Cijo Thomas
f3dab75ef3
Add unit tests for Exemplars ( #4275 )
2023-03-06 21:05:08 -05:00
Mikel Blanchard
a318130617
[sdk] Make ResourceBuilder.AddDetector factory pattern public (attempt 2) ( #4261 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-03-06 11:42:55 -05:00
Alan West
3a89cb38b0
Aggregate count, sum, min, and max for exponential histograms ( #4060 )
2023-03-02 21:51:47 -05:00
Cijo Thomas
c9ec50314e
Remove unused eventsource methods ( #4221 )
...
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2023-03-01 21:08:59 -05:00
Cijo Thomas
814206dd21
Improve log message written by selfdiagnostics to file. ( #4219 )
2023-02-23 00:48:15 -05:00
Mikel Blanchard
74212a2402
[sdk+hosting] Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package ( #4174 )
...
* Move AddOpenTelemetry & OpenTelemetryBuilder into Hosting package.
* Added Azure Functions warning.
* Test fixes.
* Test fixes.
* Patch CHANGELOGs.
* Hosting README updates.
* Comment tweak.
* Clean up.
* Test cleanup.
* MD lint.
* Test fixes.
2023-02-10 12:11:26 -08:00
Mikel Blanchard
94f67d8a8c
Revert "[sdk] Use reflection and dynamic types to start providers ( #4151 )" ( #4173 )
...
This reverts commit b549e12148 .
2023-02-09 10:14:12 -08:00
Mikel Blanchard
b549e12148
[sdk] Use reflection and dynamic types to start providers ( #4151 )
...
* Remove StartWithHost extension and using reflection to do the work in SDK.
* Warning cleanup.
* Fix up.
* Improved logging.
* Remove OpenTelemetry.Extensions.Hosting dependency from examples & docs.
* Test fixes.
* Fixes and test updates.
* Bug fix.
* Patch CHANGELOGs.
* Clean up.
* Support Azure Functions TelemetryHostedService dependency inspection logic.
* Code review.
* Code review.
* Code review.
---------
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-02-08 15:20:02 -08:00
Mikel Blanchard
1f096cb6b8
[DI] Remove ConfigureBuilder and add implementation factory helpers ( #4103 )
...
* Hide ConfigureBuilder and add common helpers.
* Remove ConfigureBuilder.
* Test fixes.
* Test fixes.
* Tests for new factory methods.
* CHANGELOG patch.
2023-01-31 09:46:36 -08:00
Timothy Mothra
ff6efe784b
cleanup tests and docs ( #4099 )
2023-01-24 22:14:57 -05:00
Mikel Blanchard
84b377878a
[SDK] Add a test covering exception thrown in custom sampler ( #4072 )
2023-01-23 17:41:17 -05:00
Timothy Mothra
9e00b8f0cd
fix: change Environment Var parsing to not throw FormatException (part1) ( #4095 )
2023-01-21 10:21:28 -05:00
Reiley Yang
ea5a25caac
Rename to Base2ExponentialBucketHistogram to align with the latest spec ( #4079 )
2023-01-13 17:06:05 -05:00
Utkarsh Umesan Pillai
1a026839d2
Metrics Perf Improvement- Use KeyValuePair<string, object>[] to store dimensions ( #4059 )
2023-01-06 16:20:53 -08:00
Mikel Blanchard
c96356bebe
[repo] Update the guard class with nullable decorations ( #4033 )
...
* Update the guard class with nullable decorations.
* Test fix.
2022-12-22 20:45:51 -08:00
Utkarsh Umesan Pillai
8013a3a539
Refactor unit tests ( #4039 )
2022-12-22 15:25:20 -08:00
Timothy Mothra
55556af592
fix analysis issues: CA2000 ( #4038 )
2022-12-22 13:59:59 -08:00