Commit Graph

479 Commits

Author SHA1 Message Date
Cijo Thomas 00ee600fc7
Basic docs (#847)
Basic API usage doc, SDK usage doc.
2020-07-20 11:49:47 -07:00
Mikel Blanchard b5a9c3a5d6
Cleaning up options in dependency instrumentation. (#846)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-20 10:20:39 -07:00
Cijo Thomas af172a8943
Basic OTel shim around Activity and associated classes. (#836)
* Basic OTel shim around Activity and associated classes.

* review comments

* remove Event public class. Make fluent syntax easier

* cooment

* cleanup sample
2020-07-20 10:01:38 -07:00
Reiley Yang 157495803c
Add markdownlint to CI (#848)
* markdownlint

* rename

* rename

* fix lint issue discovered by markdownlint
2020-07-20 07:51:37 -07:00
Mikel Blanchard c294cd7f76
Added options to HttpWebRequest instrumentation. (#741)
* Added options to HttpWebRequest instrumentation.

* Cleaned up some usings.

* Added IsInjected to ITextFormatActivity.

* Switched the Http instrumentation filter back to internal so we can move ahead with the other stuff while the API is reviewed.

* Updated HttpClient instrumentation to check IsInjected instead of traceparent header directly.

* FilterFunc is back to public. Removed ctors from http options.

* Removed ctor that isn't needed.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-19 18:51:14 -07:00
Eddy Nakamura dfd965a374
Feature/updating customization doc (#845)
* Updating customization doc

* updating text
2020-07-19 08:14:53 -07:00
Reiley Yang f689163096
Add misspell to CI (#841) 2020-07-18 09:48:08 -07:00
Eddy Nakamura c3324f3e1b
Improving solution (#840)
* t # This is a combination of 2 commits.

Improving solution

removing white space

updating method to create activity

* Update benchmarks/Benchmarks.csproj

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

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-07-18 09:22:20 -07:00
Eddy Nakamura 5c20cf5b34
Fixing culture in PrometheusMetricBuilder (#839)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-18 08:57:55 -07:00
Mikel Blanchard e13c33f596
Status cleanup (#838)
* Cleaned up status usage.

* Unit test fixup.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-18 07:56:38 -07:00
Reiley Yang eb42d6b6d1
Add markdown sanity check CI (#837)
* markdown sanity check

* minor adjustment to the folder structure

* clean up Jaeger README.md
2020-07-18 07:31:01 -07:00
Eddy Nakamura 51ed7e30db
Adding Kind Setter Extension for Activity (#835)
* Adding Kind Setter Extension for Activity

updating kind

* CodeBlanch suggestions

* adding readonly property

* changing casing

* cijos suggestions

* cijo suggestion

* removing duplicated test
2020-07-17 16:28:02 -07:00
Eddy Nakamura 595f8c2379
Cleaning Jaeger Exporter (#832)
Updating tests

removing JaegerConversionExtensions

renaming methods

Fixed up Jaeger unit tests and status code helper.

removing unused references
2020-07-17 08:07:29 -07:00
Cijo Thomas b91b2bc9f5
Replace Span with Activity for JaegerBenchmark (#834)
* Replace Span with Activity for JaegerBenchmark

* min
2020-07-17 07:43:42 -07:00
Mikel Blanchard b57f3cf320
.NET Core SqlClient Integration Tests + Fixes (#826)
* .NET Core SqlClient instrumentation integration tests, bug fixes, and cleanup.

* Dependency instrumentation docker artifacts and integration GitHub workflow.

* Code review feedback.

* Added docker-compose-wait to dockerfile so tests don't start until sql is listening.

* Code review.

* Namespaces for OTel ActivitySources.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-16 10:52:29 -07:00
Cijo Thomas 6dbc69f76b
Add Mikel as maintainer (#805)
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
2020-07-16 14:25:10 +01: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
Rajkumar Rangaraj 9467014b72
Changed dipsose pattern in test (#833) 2020-07-15 22:17:07 -07:00
Peter Wiese b319c0bed6
Replace references to SpanAttributeConstants with constants from SemanticConventions (#828)
* Replace references to SpanAttributeConstants with constants from SemanticConventions

* Missed a few references to the "component" attribute in some tests.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-15 17:27:21 -07:00
Eddy Nakamura 52955d3f1f
Changing Zpages to Activity style (#821)
* Changing Zpages to Activity style

renaming file

Adding OT.Exporter.ZPages.Tests

updating targetframeworks

renaming classes

adding default value

* removing unused variables, applying vs suggestions

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-15 16:46:17 -07:00
Tom Tan 379d26a3f9
Add sample command line to export to OTel (#827)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-15 10:13:42 -07:00
Cijo Thomas a9713c8d01
Delete BatchingSpanProcessorTest (#825) 2020-07-14 23:47:04 -07:00
Peter Wiese 80e7bd09ec
Adding a SemanticConventions static class that contains the current set of semantic attribute names as of 709293fe13/specification/trace/semantic_conventions (#820)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-14 23:18:03 -07:00
Cijo Thomas 16752a25ed
Removed leftover SpanExtension file from OTLP exporter (#818) 2020-07-14 23:01:10 -07:00
Cijo Thomas 2712d4b29b
More cleanup - zipkin exporter removed span related code (#823) 2020-07-14 22:54:23 -07:00
Cijo Thomas 59f0a9d06a
Modified B3Format propogator to use ActivityContext (#822) 2020-07-14 22:15:25 -07:00
Rajkumar Rangaraj efaa6f61fc
Update otlp test (#824) 2020-07-14 18:37:08 -07:00
Rajkumar Rangaraj 4eece94ec6
Add status to activity (#802)
* Extension method to support Status.

* Added tests and status support for otlp.

* Fix test

* Added description to Status API

* Resolving conflict

* Resolve conflict

* Avoid status object allocation.

* Check for null

* Resolving conflict

* resolving conflict

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-14 16:16:32 -07:00
Cijo Thomas 7960b2903a
Make Activity.SetStatus internal as users set Resource on a different level (#816)
* Make Activity.SetStatus internal as users set Resource on a different level.

* fix test build

* fix tests to properly set resouce on activity
2020-07-14 14:57:21 -07:00
Cijo Thomas d4fbd7a8bd
More stabilization to tests (#815)
* More stabilization to tests

* fix
2020-07-14 13:25:24 -07:00
Mikel Blanchard 65365a9a94
Fixed a typo breaking non-signed builds of Jaeger. (#814)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-14 10:16:08 -07:00
Eddy Nakamura 78648afdf6
Adding step to add dotnet version 2.1.x (#813)
* Adding step to add dotnet version 2.1.x

* updating displayName
2020-07-14 09:47:51 -07:00
Mikel Blanchard 9298e0ef3f
Redis instrumentation with ActivitySource by Eddy & Mike (#800)
* Attempting to get Redis instrumentation up and working using ActivitySource API.

* updating tests

* renaming and updating tests

* Test fixes.

* Fixed Redis net461 tests failing on connection.

* Redis integration tests and bug fixes.

* Adding tests

* Put back redis connection options.

* Updates for changes in master.

* adding comments to testRedis

* updating based on comments

* updating summary

* Switched a couple spots using string keys to constants.

* Redis integration tests

* Small tweak to the GitHub action to make it more consistent with the others.

* Made instrumentation internal. Updated README.

* rename MaxFlushInterval to FlushInterval, adding flushInterval to samples

* Removed running of non-integration tests from Redis dockerfile.

Co-authored-by: Eddy Nakamura <eddynaka@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-14 08:47:59 -07:00
Peter Wiese 3214f1cd96
Wire up the Activity Resource to the OTLP exporter (#807)
* Wire up the Activity Resource to the OTLP exporter

* Adding some test coverage for the change

* ?? Resource.Empty is unnecessary
2020-07-13 18:50:28 -07:00
Eddy Nakamura 2b2dd85cf8
Solving minver issue (#804) 2020-07-13 11:44:28 -07:00
Eddy Nakamura 7e1ca5b93d
Changing namespace for otlp / console exporters (#798)
* Changing namespace for otlp

* updating OT.Exporter.Console namespace as well

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-10 13:45:46 -07:00
Cijo Thomas 987218dac2
BatchingActivityProcessor test to dispose correctly (#801) 2020-07-10 12:33:25 -07:00
Cijo Thomas dfe16544d6
Experiment listening to SDK eventsource logs from unit test (#796)
* Experiment listening to SDK eventsource logs from unit test

* minros

* rename

* test fix

* typo

* fix

* tpo
2020-07-10 12:11:30 -07:00
Cijo Thomas 4abc57d02e
Fix and disable HttpWebRequest test (#797) 2020-07-10 08:55:41 -07:00
Eddy Nakamura d237438115
Remove SpanExporter from otlp (#794)
renaming class/file

renaming to exporterRequest

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-09 23:54:36 -07:00
Eddy Nakamura b7b0b2cd92
Remove SpanExporter from Zipkin (#795)
updating zipkinexporterbenchmarks and removing zipkinTraceExporter/Tests

updating TestRedis

adding testjaeger text

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-09 21:57:34 -07:00
Rajkumar Rangaraj 1ed4107695
Add ForceFlush to ActivityProcessor (#788)
* Added forceflush

* Modified forceflush to flush activity object created before this call.

* Resolving conflict

* Resolving conflict

* Fix tests.

* changed API summary

* Added ConfigureAwait, processors count to task list

* Changes API summary
2020-07-09 21:50:22 -07:00
Eddy Nakamura 4d9d4a014a
Updating reference from SpanExporter to ActivityExporter for Jaeger (#793)
* Remove SpanExporter from Jaeger

renaming files and updating references

merging JaegerExporter and JaegerTraceExporter

merging tests

update

* removing comment
2020-07-09 17:40:18 -07:00
Cijo Thomas db781d2dfd
Remove span based examples from console examples. (#792) 2020-07-09 13:33:47 -07:00
Eddy Nakamura 1c5872ee26
Adding more tests to AspNetCore (#787)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-09 12:39:23 -07:00
Reiley Yang 8ec93bd0b7
improve PR template (#791) 2020-07-09 11:56:29 -07:00
Cijo Thomas bd65fd2132
Remove TracerFactory from Extensions.Hosting project (#790)
* Removed hosting extensions using tracerfactory

* rename

* test

* comment
2020-07-09 09:40:51 -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
Cijo Thomas c5e5604115
Remove span exporter from ConsoleExporter (#783)
* Remove SpanExporter from ConsoleExporter. Only Activity exporter needs to remain.

* rename console activity exporter to just console exporter

* change example dotnet run

* minor
2020-07-08 11:23:59 -07:00
Cijo Thomas a36236f74e
AspNetCore instrumentation fix for null tag (#786)
* AspNetCore instrumentation fix for null tag

* fix
2020-07-08 10:46:02 -07:00