Commit Graph

28 Commits

Author SHA1 Message Date
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 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -08:00
Cijo Thomas a5e5ed8705
Minor doc fixes across all components (#3879) 2022-11-09 13:05:52 -05:00
benhall_io 78f8bf8549
Add missing end of code block backticks (#3807) 2022-10-22 06:53:33 -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 05cf80ffac
Update instrumentation readme to indicate pre-release status (#3263) 2022-05-10 06:32:04 -07:00
Cijo Thomas c1d49df6b9
MeterProvider doc improvement and minor link fixes (#2975)
* MeterProvider doc improvement and minor link fixes

* commas
2022-03-04 17:20:28 -08:00
Cijo Thomas 563236b51d
Add links to self-diagnostics from all components (#2859) 2022-02-04 05:54:32 -08:00
Reiley Yang f7c718eae0
Fix indentation (#2680) 2021-11-24 10:56:55 -08:00
Mikel Blanchard d9ad092dd3
Merge to main: New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API (#2270)
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API. (#2249)

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 2 (#2254)

* Use a single context.Items key for state management to make things more efficient.

* Added a comment for clarity.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 3 (#2256)

* Update ASP.NET instrumentation to use the new TelemetryHttpModule.

* Fixed TelemetryHttpModule not starting its Activity objects. Added an example of request suppression.

* Tweaks an logging improvements.

* Sealed AspNetInstrumentationEventSource.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 4 (#2258)

* Fixed up TelemetryHttpModule unit tests.

* Added tests for the new HasStarted helper and added checks for StartedButNotSampledObj when not sampled.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 5 (#2261)

* Updated ASP.NET instrumentation tests for new TelemetryHttpModule.

* Added a test for the new RecordException option.

* Code review.

* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 6 (#2264)

* CHANGELOG & README updates.

* Apply suggestions from code review

Co-authored-by: Reiley Yang <reyang@microsoft.com>

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* Lint + sanity checks.

* Lint attempt 2.

* Restored CHANGELOG changes lost in merge.

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2021-08-25 11:41:10 -07:00
Andrea Tosato 6f2f7e4c35
Fix docs (#2022) 2021-05-03 11:40:24 -07:00
Cijo Thomas f65b650805
AspNetCore instrumentation options to be configurable from DI (#1997) 2021-04-19 22:31:28 -07:00
Cijo Thomas 8b143bf9ae
More details to Exception handling (#1986) 2021-04-15 15:13:06 -07:00
Cijo Thomas a71de53c31
Add correction to Filter in AspNetCore instrumentation (#1929) 2021-03-30 09:52:06 -07:00
Cijo Thomas fe24768521
fix spec repo links to main branch (#1746) 2021-01-29 12:07:34 -08:00
kevinmckinley 27b57ea058
Filter() description and code snippet clarity and consistency (#1628)
* Update code snippet description and code formatting consistency

* code snippet param names and tab spacing

* Filter description and snippet changed for clarity

* Filter description and snippet changed for clarity

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-27 19:26:59 -08:00
kevinmckinley 72026f6a1c
Set Filter description to describe what the filter allows instead of … (#1615)
* Set Filter description to describe what the filter allows instead of what is filtered out

* adjust line length

* clarify: it doesn't collect telemetry for request

* clarify example comment

* adjust line length

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-25 09:39:58 -08:00
Eddy Nakamura 7c9bee3f6d
Removing Propagator from Options (#1448)
* Removing Propagator from Options

updating changelog

fixing tests

fixing tests

* updating changelog

* moving to dispose

* Revert "moving to dispose"

This reverts commit 01d41406b3.

* fixing build

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-04 01:57:55 -08:00
Cijo Thomas 296483c2d3
Document AspNetCore instrumentation Enrich action (#1399)
* Document AspNetCore instrumentation Enrich action

* fix lint

* pr comment

* fix doc link
2020-10-27 08:52:21 -07:00
Reiley Yang 71bb3635f5
ILogger integration - part 3 (#1328)
* extract common part

* make process/exporter generic

* update dependencies

* update all the tests and docs

* clean up

* changelog

* update readme

* prevent LogRecord to be inherited

* simplify example

* simplify the code

* revert accidental change
2020-10-07 09:55:54 -07:00
Reiley Yang a6795c224f
sanitize EOL for *.md files (#1257) 2020-09-10 09:47:32 -07:00
Cijo Thomas 4993ec61ed
Asp.Net Core instrumentation docs (#1228)
* AspNet Instrumentation docs

* Revert "AspNet Instrumentation docs"

This reverts commit 4cbb620533.

* Asp.Net Core instrumentation examples

* Update src/OpenTelemetry.Instrumentation.AspNetCore/README.md

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* Update src/OpenTelemetry.Instrumentation.AspNetCore/README.md

Co-authored-by: Reiley Yang <reyang@microsoft.com>

* markdown

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-09-03 14:44:16 -07:00
Cijo Thomas a09e1f8fa3
Doc for Asp.net core enrichment from request & response object (#1193)
* Doc for Asp.net core enrichment from request & response object

* nit

* moin

* trailing space removal

* m

* m
2020-08-28 08:00:43 -07:00
Alan West 0f618d001d
Rename gRPC instrumentation project (#1136)
* Rename project OpenTelemetry.Instrumentation.GrpcNetClient

* Update GrpcNetClient README

* Update AspNetCore instrumentation README with gRPC support

* Update changelog and top-level readme

* markdownlint

* Fix project/file path references

* Change namespace to GrpcNetClient

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-21 21:35:19 -07:00
Reiley Yang d806a6a7bb
Simplify entry doc (#909)
* simplify entry doc

* simplify the wording

* wrap line

Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-24 07:17:11 -07:00
Reiley Yang a4284aca24
Minor doc cleanup (#856)
* minor doc cleanup

* revert to CRLF to minimize diff

* improve wording

* make docfx happy
2020-07-20 17:20:36 -07:00
Reiley Yang 2892bdd072
Clean up doc structure (#851)
* more docs

* lint

* simplify command
2020-07-20 15:09:12 -07:00