Commit Graph

20 Commits

Author SHA1 Message Date
Reiley Yang 6ba9245f34
Remove the deprecated/unused dotnet-xunit dependency (#4574) 2023-06-12 19:00:53 -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
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08: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
Vishwesh Bankwar b8385a8ca0
Refactor asp.net core test apps (#3558) 2022-08-08 20:41:03 -07:00
Vishwesh Bankwar 361912efa7
Refactor w3tracecontext integration test (#3563) 2022-08-08 17:04:41 -07:00
Alan West a789bc0259
Merge net7.0 to main (#3539) 2022-08-04 10:25:21 -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
Vishwesh Bankwar 6c9dc8e2b3
[.NET7.0] Add net7.0 target to w3c trace contexts (#3390)
* Add net7.0 target for w3ctracecontext tests

* net70 dependency

* fix typo
2022-06-20 11:29:00 -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
John 641b2f76f1
doc(propagators): switch to use new Extensions.Propagators package, add some documentation (#3271) 2022-05-18 11:43:19 -07:00
Cijo Thomas 87ab4af4cd
Remove NET5 from tests and CI (#3215) 2022-04-21 09:21:07 -07:00
Travis Illig 5255917581
Improve VS Code and cross-platform dev experience (#2997) 2022-03-09 09:35:30 -08:00
Vishwesh Bankwar 4f930d5074
Enable .net6.0 build and add net6.0 target (#2559) 2021-11-04 08:33:35 -07:00
Cijo Thomas 476e9de74e
Remove .NET Core 2.1 from tests and CI (#2160) 2021-07-19 16:57:41 -07:00
Mikel Blanchard 932c2587d2
Status Improvements (#1579)
* Send StatusCode as a string. Send error flag in Zipkin & Jaeger when StatusCode == Error.

* Missed one spot.

* Removed code setting otel.status_description to http status description.

* Unit test fixup.

* Update CHANGELOG.

* Updated http instrumentation CHANGELOG.

* Code review.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-17 23:39:28 -08:00
Cijo Thomas 51806b723a
Mark Activity extension methods not required by spec as internal (#1545)
* Mark activity extensions as internal

* format

* test proj adjustments

* more cleanups

* temporarily remove benchmark. this should be brought back after splitting the project into multiple projects

* fix w3ctracecontext tes

* fix grpctest refs

* Update src/OpenTelemetry.Api/CHANGELOG.md

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

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-11-15 16:21:00 -08:00
Eddy Nakamura 052ecc44b2
Enable .net5.0 (#1486)
* Enable .net5.0

* fixing build issues

* updating sanity

* fixing windows pipelines

* adding aspnetcore5.0

* adding net5 workaround

* skipping Flackytest

* updating to latest stable version

* updating code coverage to latest preview
2020-11-09 12:34:03 -08:00
Eddy Nakamura ec14f92be9
Adding multitarget to integration tests (#1266)
* Adding multitarget to integration tests

changing to ENV

updating to multiline

removing multiline

updating version of docker-compose

updating dockerfile

updating pipeline

testing again

testing

updating version to 3.7

updating dockerfile

testing

updating to env

adding .env to test

updating docker compose

removing default value

docker compose with options

updating dockerfile to isntall netcore 2.1

adding info to check what are the versions installed

updating script

adding condition to download only in netcoreapp2.1

updating condition

updating dockerfile

adding arg

updating files to enable netcoreapp2.1 and 3.1 test

updating version

removing duplicated files, adding to build folder

updating project to tests

updating project to tests

updating to tests

adding sdk as tag

updating dockerfile

removing sdk_version fixed value

updating arg order

updating files

* removing fixed version

* Attempting to get redis integration tests up and running.

* Attempting to get SqlClient integration tests working on 2.1 + 3.1.

* Attempting to get W3C integration tests running on 2.1 & 3.1.

* Added version to Microsoft.AspNetCore.App 2.1 refs.

* Comment cleanup.

* Attempting to fix explicit reference warnings.

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-19 10:00:30 -07:00
xiang17 6c697f401e
Adding W3C trace context integration test (#1124)
* Add instrumentation for W3C trace context in TestApp

* Add unit test for W3C Trace Context test suite

* Fix error SA1638: File header file name documentation should match file name

* remove assert

* Change ITestOutputHelper for test output

* Add project template for W3C Trace Context

* Move the test class to new test project

* Created an InProcessServer as the web server

* remove assert

* Use services.AddOpenTelemetry

* Run the test suite in a docker container

* Update to follow the rename of extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider

* Add tests to GitHub Actions workflow

* rename to services.AddOpenTelemetryTracing

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-08 10:40:29 -07:00