Commit Graph

36 Commits

Author SHA1 Message Date
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
Utkarsh Umesan Pillai 00314ac693
Update versions of common packages used in tests and examples (#4045) 2022-12-28 11:21: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
Cijo Thomas 85da882bbd
Upgrade DS to 7.0 stable (#3875) 2022-11-08 12:13:54 -05:00
Vishwesh Bankwar 131b350d95
add net7.0 to test and docs project (#3842) 2022-10-28 16:58:56 -04:00
Vishwesh Bankwar 86ee906dcd
Update Diagnostic Source to rc version (#3698) 2022-09-27 10:34:30 -07:00
Vishwesh Bankwar b8385a8ca0
Refactor asp.net core test apps (#3558) 2022-08-08 20:41:03 -07:00
Vishwesh Bankwar 668b07335b
Clean up netcoreapp3.1 and add net7.0 to tests (#3543) 2022-08-04 20:21:55 -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 5d5f1f2964
Add net7.0 target for aspnetcore (#3366) 2022-06-17 10:27: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 06d623bf5a
Remove net5.0 target from aspnet core instrumentation (#3223) 2022-04-22 09:23:39 -07:00
Piotr Kiełkowicz c2ab8d4d8a
Replace TestExporter by InMemoryExporter in MetricAPITest (#3150) 2022-04-08 06:56:06 -07:00
Travis Illig 5255917581
Improve VS Code and cross-platform dev experience (#2997) 2022-03-09 09:35:30 -08:00
Vishwesh Bankwar 4f697ee6c0
update rc versions to stable (#2581) 2021-11-09 17:00:44 -08:00
Michael Maxwell c085504462
Replace use of TestExporter with InMemoryExporter (#2562) 2021-11-05 09:35:49 -07:00
Vishwesh Bankwar 4f930d5074
Enable .net6.0 build and add net6.0 target (#2559) 2021-11-04 08:33:35 -07:00
Alan West 4ff9a5099f
Add basic test of ASP.NET Core request metric (#2186)
* Add basic test of ASP.NET Core request metric

* Remove netcoreapp2.1

* Clarify comments

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-07-27 12:47:20 -07:00
Cijo Thomas 476e9de74e
Remove .NET Core 2.1 from tests and CI (#2160) 2021-07-19 16:57:41 -07:00
Cijo Thomas 1a308a6bd2
Net5.0 cleanup (#1506)
* Net5.0 cleanup

* more
2020-11-11 06:52:03 -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 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
Cijo Thomas a600f1d43f
InstrumentationFilter for instrumentations (#1181)
* Add try catch to asp.net instrumentation filter

* min rename

* Make Asp.Net Core instrumentation InstrumentationFilter public

* InstrumentationFilter public for Asp.net

* InstrumentationFilter for httpclient rename, changeog

* Exception handling for aspnetcore

* exception handling

* FilterFunctions return true means request is filtered.

* markdwon

* better comment

* revert aspnet filter meaning

* aspnet core filter revert

* httpclient filter

* httpwebsrequest

* y

* rewordings

* typo fix

* aspnet

* aspnet core

* httpclient.
2020-08-27 22:53:13 -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
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
Reiley Yang 755f727df0
Add sanity check for non-ASCII character and trailing spaces (#927)
* add CI sanity check for non-ASCII encoding and trailing spaces

* check TAB too

* fix ordering

* rename sanity to sanitycheck
2020-07-27 07:52:26 -07:00
Eddy Nakamura 5b34e3b3f8
Adding metapackages (#810)
Adding IsPackable to test.props, updating test nuget versions

updating projects, adding options parameter

Applying suggestions

Apply suggestions from code review

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>

code review - cijo

removing aspnetcore "metapackage"

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-15 23:31:57 -07:00
Eddy Nakamura 0973b3ea0a
Enable netcoreapp2.1 (#780)
updating yml

Revert "updating yml"

This reverts commit 391f3baadbca0de4b3e2d78b35db38eb7e7bddbc.

installing dotnet 2.1 and 3.1

updating yml to enable multiple dotnet versions

adding matrix condition

disable dotnet 2.1 for windows

removing unused package reference

Revert "removing unused package reference"

This reverts commit 0d898aa044f916743da613a83539f568bff3ad49.

updating yml

adding cov.yml to sln

Add resources to instrumentation (#779)

* Add resources to instrumentation

* Unit test activitysourcedapter

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>

disabling ubuntu-latest to codecoverage

removing extra steps

adding codecov.yml

moving file

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-08 11:42:51 -07:00
Eddy Nakamura 232e82eb02
github actions (#752)
moving folder

updating test to Tests.dll and folder to get less files

updating folder again

adding other versions to test

Adding linux and renaming

updating ubuntu version

updating yml linux

adding variables and using matrix

adding strategy to matrix

updating variables

new test

updating variables

updating variables

updating test packages

trying to add cache option

testing cache on windows

removing cache folder and trying to optmize files

updating

adding more workflows to test parallel

updating windows one job pipeline

updating

renaming

updating

updating test

adding verbose and breaking one test to double check

reverting test, adding new line, removing verbose from parallel

Update dotnet-core.yml

Update dotnet-core.yml

updating fetch depth

fetching all

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-01 13:04:22 -07:00
Cijo Thomas c7333e49fe
Update to newer build of diagnosticsouce (#718) 2020-06-09 12:23:59 -07:00
Paulo Janotti 32f0151fae
Rename Adapter to Instrumentation per latest spec (#681)
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
2020-05-19 21:55:24 +01:00