Commit Graph

38 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
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 8dd0743174
Merge branch 'main' into net7.0 2022-08-03 11:46:27 -07:00
Reiley Yang 2e334df8ae
Dedupe IsPackable (#3398) 2022-06-22 19:05:47 -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 e35216a9a2
Remove net5.0 from Zipkin and replace with net6.0 (#3222)
* Remove net5.0 from Zipkin and replace with net6.0

* Public api
2022-04-22 08:08:37 -07:00
Cijo Thomas 052b10a4df
Remove net461 from jaeger zipkin and otlp exporters (#3194) 2022-04-15 12:41:01 -07:00
Travis Illig 5255917581
Improve VS Code and cross-platform dev experience (#2997) 2022-03-09 09:35:30 -08:00
Mikel Blanchard bc0e8afd96
ZipkinExporter: HttpClientFactory option (#2654) 2021-11-22 21:06:39 -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 ff3b948539
Clean up net452 (leftover from prior prs) (#2166) 2021-07-20 19:23:38 -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 689a95da25
Remove net452 from zipkin exporter (#2145) 2021-07-16 14:11:58 -07: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
Alan West c21bd58844
Suppress instrumentation in Zipkin exporter (#1150)
* Suppress instrumentation in Zipkin exporter

* Check Sdk.SuppressInstrumentation on ActivityListener.ActivityStarted/ActivityStopped

* Remove raw post in test to Zipkin endpoint URL

* Use ForceFlush on exporter

* Call ForceFlush twice

* Remove IsInternalUrl

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-25 09:41:24 -07:00
Reiley Yang 42d614e7a8
Clean up exporter and processor (#1140)
* clean up exporter and processor

* removed unused default parameter

* rename to OnForceFlush/OnShutdown

* update XML comment
2020-08-23 11:52:20 -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 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
Eddy Nakamura d99d5859fe
Enable net452 to Exporter.Zipkin (#744)
* Enable net452 to Exporter.Zipkin

* adding net461 to zipkin

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-06-22 14:42:29 -07:00
Mikel Blanchard 78324b98df
Moved TestServer to OpenTelemetry.Tests and renamed TestHttpServer. Linked into Benchmarks, ZipkinTraceExporterTests, & OpenTelemetry.Adapter.Dependencies.Tests. (#634)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-27 15:36:41 -07:00
Long Mai 4f352ff73c
refactor!: collector to adapter (#612)
* refactor: collector to adapter project file and dir

* refactor: collector to adapter namespaces

* refactor!: collector to adapter variable rename

BREAKING CHANGE

* docs: rename collector to adapter

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-22 14:44:55 -07:00
Eddy Nakamura 31c7c65a45
Removing ruleset from projects (#615)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-20 17:22:43 -07:00
Eddy Nakamura df264b5852
Adding test.ruleset to test projects (#611)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-20 15:41:30 -07:00
Mikel Blanchard b35311e75d
ZipkinExporter performance improvements. (#596)
* ZipkinExporter performance improvements.

* Bug fixes.

* Added a Zipkin integration test.

* Bug fixes.

* Fixed HttpClientCollectorOptions not filtering HttpWebRequest events.

* Removed LangVersion from project file, it wasn't needed.

* Fixed unit tests failing when IPv6 isn't available on host.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-14 14:09:18 -07:00
Mikel Blanchard d5b4248261
JaegerExporter: Performance Improvements (#494)
* Initial work.

* First complete version of Jaeger with perf improvements.

* Added JaegerExporter benchmarks.

* More performance revisions.

* ValueTask perf improvements.

* Missed a couple tasks.

* Removed null check against struct.

* Tweaked how structs are used.

* Figured out why the structs were eating more memory. Fixed up unit tests.

* Reverted change to ToJaegerSpan extension signature.

* Fixed JaegerUdpBatcher not calling CloseAsync in dispose, fixed SpanExporters not being disposed.

* Reference System.Threading.Tasks.Extensions for net46 & netstandard2.0 builds of Thirft to add in ValueTask.

* Removed the fork of Thrift in favor of the official package.

* Increased number of spans per iteration in jaeger benchmarks. Switched ApacheThrift to PrivateAssets=all in jaeger exporter project.

* New algorithm for memory management.

* Fixed double-allocation of tags.

* Immutable structs. Added cancellationToken to IJaegerClient interface.

* Added lists that can be backed be pooled buffers.

* Everything in implementation folder is now internal.

* Return ref from PooledList indexer.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-02-26 14:49:39 -08:00
Mikel Blanchard a7206200a5
Zipkin Exporter: Specify RemoteEndpoint (#483)
* Switched to System.Text.Json for .NET Standard 2.0 target. Added caching of ZipkinEndpoints. Added support for sending RemoteEndpoint to Zipkin API.

* Code review feedback.

* Code review.

* Zipkin performance improvements.

* Made json header static.

* Removed debug code.

* Bumped up the numbers of spans in benchmark to get more consistent results.

* Code review.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-02-18 15:16:15 -08:00