Commit Graph

23 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
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
Vishwesh Bankwar 131b350d95
add net7.0 to test and docs project (#3842) 2022-10-28 16:58:56 -04:00
Vishwesh Bankwar 7fd9cb34ab
Remove netstandard targets from asp.netcore instrumentation (#3567) 2022-08-17 17:26:35 -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
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
Alan West 95500ff8fa
Add netstandard2.0 target to Grpc.Net.Client instrumentation (#3105) 2022-05-06 10:34:29 -07:00
Cijo Thomas 0868872c1a
Remove NET5.0 target from OTLP Exporters (#3226) 2022-04-22 12:09:47 -07:00
Cijo Thomas 459fef9b96
Replace Mock with InMemoryExporter part2 (#3123) 2022-03-31 09:01:18 -07:00
Cijo Thomas 81d28a58e2
Replace Mock with InMemoryExporter (#3122) 2022-03-31 08:23:03 -07:00
Cijo Thomas 00af7817fd
Add net6.0 target to grpc instrumentation tests (#3013) 2022-03-11 09:01:04 -08:00
Travis Illig 5255917581
Improve VS Code and cross-platform dev experience (#2997) 2022-03-09 09:35:30 -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
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 356c4095fa
SpanAttributeConstants is internal (#1457)
* SpanAttributeConstants is internal

* updating changelog

fixing tests

Revert "fixing tests"

This reverts commit 66167c899025f2e56aca957bbcbe6d658a866d17.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-04 13:13:31 -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
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
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
Alan West 362c1fe8b9
Add gRPC attributes for ASP.NET Core (#803)
* Change gRPC test project name and namespace

* Use SpanAttributeConstants in GrpcClientTests

* Add test for Grpc.AspNetCore instrumentation

* Add gRPC attributes for ASP.NET Core

* Prevent parallel execution of gRPC client and server test suites

* Add wait logic from AspNetCore tests ensuring end callback gets invoked

* Partial class for gRPC test to resolve test conflicts

Co-authored-by: Michael Goin <michaelgoin@gmail.com>

* Make "grpc" a const

* Set http.status_code attribute even on a gRPC invocation

* Fix GrpcFixture

* Add checks for http.* attributes to ASP.NET Core gRPC test

* Fix merge snafu

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Michael Goin <michaelgoin@gmail.com>
2020-08-04 20:21:17 -07:00