Commit Graph

33 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
Andre Hofmeister 533513f65b
feat: Enable SuccessfulCommandTest by leveraging Testcontainers (#4198)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
2023-03-29 16:16:00 -07:00
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
dependabot[bot] a8b72df614
Bump Microsoft.Data.SqlClient (#3882) 2022-11-09 19:18:08 -05:00
Vishwesh Bankwar 131b350d95
add net7.0 to test and docs project (#3842) 2022-10-28 16:58:56 -04: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
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
Cijo Thomas e8659f7fc9
Use InMemoryExporter instead of Moq in sqltest (#3255)
* Use InMemoryExporter instead of Moq in sqltest

* fix test
2022-05-05 12:40:46 -07:00
Cijo Thomas 87ab4af4cd
Remove NET5 from tests and CI (#3215) 2022-04-21 09:21:07 -07:00
Cijo Thomas edede3a32a
Remove net461 from Prometheus SQL SE HTTP Client (#3195) 2022-04-15 13:05:42 -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
Joao Grassi a3867d43af
Remove net452 from Sql Client project (#2139) (#2148)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-07-16 15:18:32 -07:00
John Du Hart 6b7f2dd77c
SqlClient: Provide `db.system` when creating activity (#1979) 2021-04-13 20:09:45 -07:00
Cijo Thomas 5bf2b42379
SQL Instrumentation modified to depend only on the API. (#1941)
* SQLinstrumentation modified to depend on API only

* fix markdown
2021-03-26 20:30:28 -07:00
Eric J. Smith f2266a66a8
Remove usage of InternalsVisibleTo in the internal instrumentations. (#1856)
* Remove usage of InternalsVisibleTo in the internal instrumentations.
* Move shared instrumentation code into Common.props
2021-03-10 11:24:00 -08:00
mbakalov 9e2669980a
SqlClient instrumentation to support Microsoft.Data.SqlClient EventSource (#1599)
* Listen to MDS EvenSource as well

* Use SqlEventSourceListener on NETFRAMEWORK only

Separate SqlClientInstrumentationOptions for netcore and netfx.
Upgrade MDS nuget to the newer version that actually uses the new
EventSource name.
Don't reference the diagnostic listener from the sql even source code.

* Better comments

* CHANGELOG updates + minor code clarity

* Run EventSource tests for MDS source as well

* Default capture text to true

Capturing doesn't depend on commandtype.

* Update readme for new SetStatementText behavior

* Minor md formatting fix

* Default command text capture to false

* Markdown cleanup

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-24 14:39:04 -08: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
Eddy Nakamura c025116c3e
Replacing Tags for TagObjects and AddTag for SetTag (#1227)
* Replacing Tags for TagObjects and AddTag for SetTag

updating tests

updating tests

* removing toString from stackExchange test method

* tentative to solve redis test failure

* updating tests

* updating test

* checking for only one element

* Trying GetTagValue extension in http-in unit test projects.

* Grpc now uses GetTagValue.

* Updated new unit tests to use SetTag.

* Updated Http instrumentation for GetTagValue.

* Update Sql instrumentation to use GetTagValue.

* Updated Redis instrumentation to use GetTagValue.

* Removed references from test projects that weren't needed.

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-06 10:13:08 -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
Mikel Blanchard 0d00b8df1c
Shared test cleanup. (#1100)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-18 21:11:15 -07:00
Cijo Thomas 6564ca8438
Tests namespace rearrange/consolidate (#1053)
* Move out of implememtationfolder

* move our of implementation folder

* rename namespace

* renamiongs

* more

* metric refactory
2020-08-12 09:01:34 -07:00
Eddy Nakamura a3bf19d450
Removing Todos (#1029)
* Removing Todos

renaming parameter

adding tests

updating spanbuilderShim

updating to internal

renaming to spanAttributes

solving build issue

adding spec reference

Continue Refactoring TracerProvider. (#1035)

* optimize the flow

* fix instrumenataion

* move mroe things to provider ctor

* move logic arounds

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

changing to class and following spec to replace value

replacing from default to null

updating package

adding xunit.runner

renaming method

* removing duplicated files

* adding some tests and updating to default constructor

* removing to be compliant to spec

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 07:50:53 -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
Reiley Yang 2e4b081f6d
Consolidate package version (#971)
* consolidate package version for src folder

* fix CI

* clean up

* clean up test package version

* clean up

* fix nits

* clean up using
2020-08-02 06:20:44 -07:00
Eddy Nakamura 21d18e1662
Testing EventSource (#944)
Validating EventSource

adding more tests, updating wrong namespace

updating spaces

merging invariantString to prevent duplication

removing extra space

merging exception extensions

Adding comments

updating project and tests

updating eventsourcetest

breaking tests

Revert "breaking tests"

This reverts commit 7c23b46316c9dc84d5b66c1e0498498a4b0b3ac7.
2020-07-30 06:38:41 -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