Commit Graph

188 Commits

Author SHA1 Message Date
Reiley Yang b7821f7ee0
Remove zpages (#4604) 2023-06-20 18:18:12 -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
Utkarsh Umesan Pillai b911e7e118
Add Exemplars for 1.6.0 prerelease versions (#4553) 2023-06-07 11:10:55 -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
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 410532ae49
OTLP support for exporting exponential histograms (#4337) 2023-03-27 21:23:24 -07:00
condezero 990deee419
fix target framework (#4278) 2023-03-08 12:06:49 -05:00
Cijo Thomas 9dd54d7124
Merge main-metrics to main (#4217)
Co-authored-by: Yun-Ting Lin <yunl@microsoft.com>
2023-02-27 18:57:58 -05:00
Cijo Thomas bdf1e08bd7
Updates to OTLP Exporter readme (#4222) 2023-02-23 12:55:46 -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
Dan Nelson 1273e83d55
[examples] Add manual activities and custom metrics to ASP.NET Core example (#4133) 2023-02-07 16:36:05 -05:00
Tom Tan f98f8fe166
Support customized OTLP endpoint for log example (#4066)
* Support customized OTLP endpoint for log example

* Add Endpoint command line option to TestMetrics

* Fix dotnet format

Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-01-10 13:00:14 -08:00
Timothy Mothra 55556af592
fix analysis issues: CA2000 (#4038) 2022-12-22 13:59:59 -08:00
Utkarsh Umesan Pillai 3157b5ce12
Remove unnecessary using statements (#4023)
* Remove unnecessary using statements from docs, examples, benchmarks and stress tests
2022-12-20 11:20:15 -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 dd342f0508
[Logs] Remove ConfigureResource on OpenTelemetryLoggingOptions (#3999)
* Removed ConfigureResource on OpenTelemetryLoggingOptions.

* Patch CHANGELOG.
2022-12-09 13:26:31 -08:00
Mikel Blanchard 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -08:00
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
Timothy Mothra 6bcb70b1fe
Add `ImplicitUsings` to Common.props (#3959) 2022-12-02 15:01:27 -08:00
Timothy Mothra dfd1f25c95
Add `AnalysisLevel` to Common.props (#3960)
* add AnalysisLevel to Common.props

* fix CA2017
2022-12-02 12:42:56 -08:00
Evan Mattson 2116966171
Fix dotnet run jaeger command. Include comment on how to access localhost Jaeger UI. (#3957) 2022-11-30 15:55:48 -08:00
Cijo Thomas 4635f356d4
Minor doc update (#3886) 2022-11-15 15:46:52 -05:00
Cijo Thomas d4cca852bf
OTLP Logs - remove depth from scope fields (#3843) 2022-10-31 19:30:27 -04: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
Cijo Thomas 0447871d48
Minor fixes to metrics, prometheus examples (#3623) 2022-09-01 21:41:09 -07:00
Mikel Blanchard e6d39b8b14
[Tracing] Improve dependency injection support in tracing build-up using SDK (#3533)
* TracerBuilder depedency injection improvements.

* Fixes and API updates.

* Update skipped test.

* Tweak.

* Tweaks.

* Test fix.

* Turn on options in TracerProviderBuilderBase.

* Updated CHANGELOGs.

* Added XML comments to AddOpenTelemetryTracing methods.

* Tweaks.

* Added export helpers and restored removed API from hosting library so that there is no breakage during upgrades.

* Export extension tweaks.

* Tweak.

* Tracer builder improvements.

* Fix hosting multiple configurations test.

* Cleanup.

* Cleanup and fixes.

* Added "UseOpenTelemetry" extensions.

* Cleanup.

* Code review.

* Code review.

* Rename SDK extension "Configure" and restore "Add" in the hosting lib.

* Doc clarification.

* Some test coverage.

* README updates.

* Fix double dispose of TracerProvider when using Sdk.CreateTracerProviderBuilder.

* AddExporter tests.

* More test coverage.

* More test coverage.

* Code review.
2022-08-29 13:14:24 -07:00
Mikel Blanchard 952c3b17fc
[Logs] Support dependency injection in logging build-up (#3504)
* Support dependency injection in logging. Add AddOpenTelemetryEventSourceLogEmitter extension.

* CHANGELOG update.

* Bug fixes and a test.

* More fixes and more tests.

* Tweak comments for clarity.

* Added OpenTelemetryLoggerOptions.Services xml detail remarks.

* More tests.

* More tests.

* Test fix.

* More tests.

* Tests and fixes.

* Warning cleanup.

* Added resource test.

* Smooth out multiple resource configurations.

* Resource chaining fix.

* Remove throw for additional SetResourceBuilder calls.

* Warning fixes.

* Moved OpenTelemetryEventSourceLogEmitter extension to OpenTelemetryLoggerOptions.

* Tweaks.

* Switched from static to builder pattern.

* Tweaks.

* More tests.

* Fix CHANGELOG for release.

* Tweaks.

* Test updates.

* Added a detached configuration option.

* Prevent double registration to be consistent with tracer builder pattern.

* API review.

* Warning cleanup.

* Build fixes.

* Test fix.
2022-08-05 17:56:04 -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
Reiley Yang 27658f058c
Improve PrometheusHttpListener options (#3521) 2022-08-02 15:39:41 -07:00
Reiley Yang 8d5d3d6ee8
Dust off Prometheus Exporters (#3507) 2022-08-01 10:33:00 -07:00
Yun-Ting Lin cd6043bbf7
[Prometheus] Split up projects based on hosting mechanism. (#3430) 2022-07-28 16:02:53 -07:00
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
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
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
Christian Neumüller 34efdbf448
Add & use ConfigureResource API. (#3307) 2022-06-27 08:59:59 -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
Utkarsh Umesan Pillai c90ab4a2f2
Remove StackExchangeRedis Instrumenation (#3346)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-06-07 09:35:43 -07:00
Cijo Thomas d1ec45ce15
Add HTTP/Protobuf exporter for OTLP Logs (#3225) 2022-04-22 10:55:50 -07:00
Cijo Thomas 1918e4b3cc
OTLP LogExporter to support ILogger Scopes (#3218) 2022-04-21 13:15:54 -07:00
Alan West 89a740e20a
MetricReader TemporalityPreference (#3153) 2022-04-12 13:00:04 -07:00
Cijo Thomas 4e2437cfcd
Modify metric example to use console exporter defaults (#3143) 2022-04-06 07:49:25 -07:00
Paulo Janotti 950c6162b4
Improvements to the OTLP trace example (#3141) 2022-04-05 22:29:11 -07:00
Travis Illig 7ed97be908
Fix analyzers (#3053) 2022-04-01 07:46:32 -07:00
Alan West a709cfd2a9
Clean up metric reader options (#3038) 2022-03-15 07:20:09 -07:00
Cijo Thomas 191df6298a
Add Prometheus Exporter to ASPNET Example (#3037) 2022-03-12 12:54:33 -08:00
Vishwesh Bankwar 98a4c99350
Add aspnet metric example (#3033) 2022-03-12 06:37:03 -08:00