Mikel Blanchard
d57e6f8688
[sdk-logs] Expose logging SDK implementation as public ( #4568 )
2023-06-09 15:44:45 -07:00
Vishwesh Bankwar
5ca8e98f1f
[otlp log exporter] Move logs extension methods to main otlp package ( #4556 )
2023-06-08 09:13:40 -07:00
mfogliatto
e85bd93673
Add ToOtlpLog unit tests for scopes ( #4523 )
2023-05-31 13:19:01 -04:00
Alan West
30ad91af37
Make exponential histogram negative buckets internal ( #4494 )
2023-05-16 14:45:33 -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
Alan West
39314f890d
OTLP exporter: Set observed timestamp ( #4444 )
2023-04-26 16:11:01 -04:00
Mikel Blanchard
acbf10aa57
[sdk.logging] More consistent handling of StateValues/Attributes ( #4334 )
2023-04-20 10:23:58 -07:00
Alan West
63de7298b8
OLTP exporter: Fix exponential histogram zero count ( #4343 )
2023-03-29 13:11:57 -07:00
Alan West
410532ae49
OTLP support for exporting exponential histograms ( #4337 )
2023-03-27 21:23:24 -07:00
Yun-Ting Lin
27560f6267
set `TraceState` field in OTLP Exporter ( #4331 )
2023-03-27 16:25:57 -07:00
mfogliatto
3d6656feec
Add OtlpLogExporter.Export method tests ( #4296 )
...
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-03-15 19:05:12 -04:00
Mikel Blanchard
7139c7a656
[Otlp] Make sure Otlp trace and metric exporters have dedicated options instances ( #4200 )
...
* Make sure Otlp trace and metric exporters have dedicated options instances.
* CHANGELOG patch.
2023-02-16 14:04:45 -08:00
Alan West
c0f927f9a3
OTLP exporter add User-Agent header ( #4120 )
...
* OTLP exporter add User-Agent header
* Fix tests
* Update changelog
* Update changelog
* Handle exceptions retrieving assembly version
---------
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-01-31 20:38:54 -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
Timothy Mothra
9e00b8f0cd
fix: change Environment Var parsing to not throw FormatException (part1) ( #4095 )
2023-01-21 10:21:28 -05:00
Mikel Blanchard
a5941d53f1
[OtlpExporter] Registration extension configuration delegate fix ( #4058 )
...
* Fix tracing and metric otlp exporter extensions mutating the same options instance when named options are not used.
* Log tweaks.
* Clean up.
* Issue links.
* Tweaks.
* Code review.
2023-01-06 13:59:07 -08:00
Utkarsh Umesan Pillai
39c7c60a8a
Remove unnecessary usings from exporters, extensions, and shim tests ( #4027 )
2022-12-20 19:12:40 -08:00
Timothy Mothra
64f1d74561
fix analysis issues: CA2007 (part2) ( #4018 )
...
* fix analysis issues: CA2007
* remove duplicate
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-15 16:31:49 -08:00
Mikel Blanchard
5b9cba7cbd
[repo] CI updates ( #4016 )
...
* Port some CI tweaks from contrib.
* Logging in integration tests.
* Test tweaks.
* Warning cleanup.
* Fix format.
* Comments.
2022-12-15 16:08:30 -08:00
Mikel Blanchard
9836d3addb
[DependencyInjection] Introduce new package and refactor SDK ( #3923 )
2022-12-08 15:24:44 -08:00
Piotr Kiełkowicz
f0f5158ba1
SdkOptionLimits - fix defaults ( #3978 )
2022-12-08 14:50:54 -08:00
Timothy Mothra
804c448d2e
add nullable enable to Common.props and disable in projects. ( #3964 )
2022-12-05 15:33:57 -08:00
Cijo Thomas
85da882bbd
Upgrade DS to 7.0 stable ( #3875 )
2022-11-08 12:13:54 -05:00
Alan West
f1992d9363
Refactor OTLP mock collector test ( #3849 )
2022-11-04 18:20:55 -04:00
Vishwesh Bankwar
131b350d95
add net7.0 to test and docs project ( #3842 )
2022-10-28 16:58:56 -04:00
Alan West
a3867bde73
Validate OTLP exporter continues to export after RpcException ( #3788 )
2022-10-25 15:46:06 -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
1a2103ddc1
[SDK + Otlp] Support loading envvars from IConfiguration ( #3760 )
...
* Updated Otlp Trace & Metrics exporters to load envvars from IConfiguration.
* Patch CHANGELOGs.
* Fix up otlp log exporter for SdkOptions changes.
* Revert SdkOptions public api.
* Restore tests.
* Fix benchmarks.
* SdkLimitOptions IConfiguration test.
* OtlpExporterOptions IConfiguration test.
* MetricReaderOptions IConfiguration test.
* Bug fix.
* Nit.
2022-10-17 16:12:34 -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
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
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
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
Alan West
c2f5e80b0d
Support UpDownCounter and ObservableUpDownCounter ( #3606 )
2022-09-01 21:17:37 -04:00
Cijo Thomas
8700d5dd9b
Update test and other tools versions ( #3611 )
2022-08-28 13:09:24 -04:00
Mikel Blanchard
409b61d5f0
[Trace Exporters] Remove enumeration helper and use new net7 enumeration APIs ( #3580 )
...
* Remove enumeration helper and use new net7 enumeration APIs.
* Bug fixes.
* Add note.
* Don't use list pools in OTLP exporter. Implement drop counts.
* Added asserts for drop counts in span limits test.
* Added issue link to skip text.
* Populate DroppedAttributesCount on links & events.
* Code review.
* Code review.
* Added CHANGELOG note about dropped counts.
2022-08-18 15:02:10 -07:00
Mikel Blanchard
58ee541cff
[net7-main] Fixes to get solution building in VS ( #3552 )
...
* Fixes to get solution building in VS with net7 changes.
* More fixes + some code review.
* CONTRIBUTING update.
* Attempting to fix integration tests.
* Attempting to fix integration tests.
* Attempt to fix integration tests.
* Attempt to fix integration tests.
2022-08-05 10:49:06 -07:00
Vishwesh Bankwar
135fa9c7e9
netcoreapp3_1 code cleanup ( #3551 )
2022-08-05 09:04:20 -07:00
Alan West
a789bc0259
Merge net7.0 to main ( #3539 )
2022-08-04 10:25:21 -07:00
Alan West
2b6a3b0958
Update protos to v0.19.0 ( #3535 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-08-03 19:50:08 -07:00
Alan West
25df7e85b0
Revert "Merge branch 'net7.0' into main" ( #3531 )
...
This reverts commit e64015cadd , reversing
changes made to 5653454b0c .
2022-08-03 15:47:18 -07:00
Alan West
8dd0743174
Merge branch 'main' into net7.0
2022-08-03 11:46:27 -07:00
Timothy Mothra
a1cdb28eaa
refactor test exporters, use instead `DelegatingTestExporter` ( #3486 )
2022-08-02 13:10:11 -07:00
Alan West
c1f376ac8b
OTLP exporter support for limiting activity tags, events, and links ( #3376 )
2022-07-28 07:48:21 -07:00
Piotr Kiełkowicz
d93606ea71
typo fixes ( #3459 )
2022-07-20 07:31:43 -07:00
Reiley Yang
2e334df8ae
Dedupe IsPackable ( #3398 )
2022-06-22 19:05:47 -07:00
Alan West
c07917913c
Fix OTLP test ( #3357 )
...
* Show that test is not doing what you might think it does
* More asserts the merrier
* Show this little test that it has potential
2022-06-09 13:53:05 -07:00
Alan West
d84f0edf77
Use DiagnosticSource 7.0 and drop netcoreapp3.1 target ( #3351 )
...
* Remove AspNetCore 3.1 test app
* Remove netcoreapp3.1 target from projects
* Bump to DiagnosticSource 7.0.0-preview.4.22229.4
* Enable CI on net7.0 branch
* Remove trailing space
2022-06-07 20:46:15 -07:00