Commit Graph

13 Commits

Author SHA1 Message Date
Cijo Thomas 191df6298a
Add Prometheus Exporter to ASPNET Example (#3037) 2022-03-12 12:54:33 -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
Utkarsh Umesan Pillai 904b7dd1d3
Add OtlpExporter as an option to ASP.NET example application (#1794)
* Add OtlpExporter as an option to ASP.NET example application

* Fixed indentation

* Added an extra line before EOF

* Removing set ApContext switch for unencrypted channel support

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-02-05 11:29:58 -08:00
Austin Tan 92ec254342
Extracting package versions to common.props (#1538)
* Most of the common props stuff

* remove coverlet from Zpages Test

* Clean up other mention of coverlet in comment

* Moving appropriate package versions to nonprod

* Common.props removal of packagevers

* reverting some changes to a grpc package

* Fixing tabs and adding one more packagae referecne

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-11-16 14:30:45 -08:00
Mikel Blanchard ddac284e53
Updated Jaeger & Zipkin exporters to check for default activity.ParentSpanId (#1433)
* Updated Jaeger & Zipkin exporters to check for default activity.ParentSpanId.

* Tabs are less filling, but spaces taste great.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-02 10:07:41 -08:00
Mikel Blanchard 4d2ed9fc35
Removed System.Runtime.CompilerServices.Unsafe reference from AspNet example app. (#1272)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-15 17:53:07 -07:00
Cijo Thomas f679960e03
Update diagnosticsource to rc1 (#1203)
* Step1 of updating to Rc1 of diagnostic source

* Update parent.spanid to parent.traceid as traceid will be default for root.

* add samplingatributes to activity tags

* updating to isremote=true

* updating tests

* changelogs

Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-08-31 17:22:45 -07:00
Eddy Nakamura 9cb4bc6a56
Updating nuget reference (#1178)
* Updating nuget reference

* adding end line
2020-08-27 07:09:00 -07:00
Reiley Yang fa8a052352
more sanity check (#1164)
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-24 21:50:58 -07:00
Reiley Yang bde64f2b6a
use absolute path for project includes (#993)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-04 07:23:47 -07:00
Cijo Thomas d2c93610e8
Update to preview 8 of DiagnosticSource and associated changes - part1 (#954)
* Initial make build fix commit

* change Link public API to accept ActivityTagsCollection

* Add more SetAttribute overload to support int bool float and bool

* changelog

* Replace AddTag with SetTag in Activity

* disable a test for temporary progress

* reformat

* url fix

* Update Diagnosticourcepackage

* version fix

* ActivityTagsCollection

* console exporter fix

* one basic test

* minor
2020-08-03 11:25:24 -07:00
Eddy Nakamura 2dd8daa1e4
Splitting Instrumentation Projects (#890)
updating README

updating sql integration test

updating yml

updating dockerfile

updating readme

updating global.asax

updating version and readme

removing unused reference, adding properties folder to be similar to OT project

adding zipkin docker in comments

updating to standard2.1

removing unused usings

updating aspnet/aspnetcore methods naming

applying cijo's suggestions

updating projects to compile semantic file, updating comments

Splitting Instrumentation Projects

updating README

updating sql integration test

updating yml

updating dockerfile

updating readme

updating global.asax

updating version and readme

removing unused reference, adding properties folder to be similar to OT project

adding zipkin docker in comments

updating to standard2.1

removing unused usings

applying cijo's suggestions
2020-07-23 11:50:57 -07:00
Eddy Nakamura c4ff8ab640
renaming from Samples to Examples (#880)
* renaming from Samples to Examples

* updating changelog

* renaming from OT.Examples.name to Examples.name
2020-07-22 09:18:56 -07:00