Commit Graph

682 Commits

Author SHA1 Message Date
Reiley Yang 2e20b4bef7
Changelog structure (#916)
* bring structure to changelog

* markdownlint
2020-07-24 10:33:02 -07:00
Reiley Yang 89ac132a28
fix nits in the doc (#915) 2020-07-24 09:31:19 -07:00
Reiley Yang 13420d0593
less is more (#914) 2020-07-24 08:21:06 -07:00
Reiley Yang d806a6a7bb
Simplify entry doc (#909)
* simplify entry doc

* simplify the wording

* wrap line

Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-24 07:17:11 -07:00
Mike Goldsmith 03d9845f22
Add contributors image to README (#912)
* add contributors image to readme

* fix markdown syntax

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-24 07:15:31 -07:00
Mike Goldsmith dc7d1268d1
update Mike's company (#911) 2020-07-24 07:08:37 -07:00
Cijo Thomas 9a3c69ac67
More cleanups - basic renaming, public vs internal (#908) 2020-07-24 10:42:24 +01:00
Cijo Thomas 1b15224a6b
Project file cleanups (#907) 2020-07-23 23:07:37 -07:00
Eddy Nakamura 380091f461
Removing TODO's (#905)
* Removing Todos

* updating displayname to set only if IsAllDataRequested==true

* updating

* updating old eventsources

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 22:44:51 -07:00
Cijo Thomas bacbf3e676
Add docs to solution. Add more to the doc. (#906)
* Add docs to solution. Add more to the doc.

* text

* no nuget version
2020-07-23 18:38:50 -07:00
Eddy Nakamura 8fbf6fa3de
Updating file version (#904)
* Updating file version

* adding version and fileversion
2020-07-23 17:13:06 -07:00
Cijo Thomas b19c7e09c7
Move Otel.Trace.Exporter namespace to just Otel.Trace (#903) 2020-07-23 15:48:45 -07:00
Reiley Yang 8d7bbac5fa
rename ActivitySampler to Sampler (#902)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 13:31:50 -07:00
Cijo Thomas d6e8b6a700
Harmless commit to trigger myget push with beta tag (#901) 2020-07-23 12:55:55 -07:00
Reiley Yang 62613e4e7a
Clean up SDK doc (#889)
* consolidate SDK doc

* clean up

* update the name

* update the doc to reflect API change

* update the doc to reflect API change

* fix ci

* Revert "fix ci"

This reverts commit 00dd532819.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 12:38:09 -07:00
Reiley Yang a03af9e0a8
Simplify sampler description (#895)
* simplify sampler description

* only allow get

* protected setter

* steal code from Mikel

* fix comment

* fix ci

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 12:25:35 -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
Cijo Thomas b6df53854a
Add Reiley as approver instead of Triager (#899)
* Add Reiley as approver instead of Triager

* harmless change to trigger CI
2020-07-23 11:21:54 -07:00
Alan West ae3748f1f5
Make SemanticConventions internal (#900)
* Rename contants in SemanticConventions class to conform to recommended C# naming conventions

* Make SemanticConventions internal

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 11:10:26 -07:00
Cijo Thomas ce9b516938
Rename to TracerProviderBuilderExtensions (#897) 2020-07-23 09:16:10 -07:00
Reiley Yang cbe99df381
default exporter disposal (#891)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-23 00:28:34 -07:00
Cijo Thomas c470f0bb9c
TracerProvider renamings (#887)
* TracerProvider renamings

* rename

* Remove customization.md as its contents are part of SDK readme

* read only Default in TracerPRovier
2020-07-23 00:09:50 -07:00
Alan West ea107d3b69
Rename contants in SemanticConventions class to conform to recommended C# naming conventions (#892) 2020-07-22 23:55:17 -07:00
Eddy Nakamura 3aca129967
Moving benchmark to test folder (#885)
* Moving benchmark to test folder

updating namespaces

updating path

Reiley comments

* updating paranthesis
2020-07-22 17:09:28 -07:00
Cijo Thomas 4b4f0e95af
More refactorings, renamings, namespace shortenings. (#886)
* Rename OpenTelemetrySdk to TracerProviderSdk. Rename OpenTelemetryBuilder to TracerProviderBuilder

* renaming

* Shorter namespace for TracerProvider

* simpler namespace.

* revert unwanted change brought by git merge

* doc changes

* remove dup
2020-07-22 16:46:45 -07:00
Reiley Yang e243394211
Clean up instrumentation library doc (#883)
* clean up instrumentation doc

* clean up

* fix nits

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-22 15:03:31 -07:00
Mikel Blanchard cafc62ee7c
Batching Activity Processor fixes by Eddy & Mike (#853)
* Attempting to fix the threading in BatchingActivityProcessor.

* catching all exceptions in the same way

* adding cancellationtokensource

* Added back in export timeout.

* Don't allocated linked CTS if it isn't needed.

* Unit test fixes.

* Remove the possibility of many timer threads waiting to enter the flush lock.

* Reverted timer change to BatchingActivityProcessor.

* Respect cancellation in jaeger & zipkin exporters.

* Moving lock up to the batch in Jaeger Exporter.

* Added an event for SpanExporter timeout. Updated BroadcastActivityProcessor to call shutdown on dispose.

* Unit test fixes.

* Let OperationCanceledException bubble up in JaegerUdpBatcher.

* Flaky test.

* Flaky test, attempt 2.

* Trying to get more reliable tests.

* Added exception docs for OperationCanceledException.

Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-22 12:37:36 -07:00
Mikel Blanchard 32e886ff1f
Switched AttemptToActivateActiveSpan event to Informational level. (#881)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-22 11:42:59 -07:00
Reiley Yang bffc739265
Revert the CI task merge + add filters (#878)
* revert the ci task merge

* add filters

* fix typo
2020-07-22 09:38:59 -07:00
Eddy Nakamura c4ff8ab640
renaming from Samples to Examples (#880)
* renaming from Samples to Examples

* updating changelog

* renaming from OT.Examples.name to Examples.name
2020-07-22 09:18:56 -07:00
Eddy Nakamura a2b1b45c94
Enable unique EventSource for each project (#879)
* Enable unique EventSource for each project

* updating using place from Hosting project

* InstrumentationEventSource is now internal, adding EventSource to Hosting project

* removing unused methods, updating messages
2020-07-22 07:34:28 -07:00
Cijo Thomas 1ed4a28927
Basic eventsource logging for ZipkinExporter and minor renamings (#877)
* Rename to OpenTelemetryProtocolExporterEventSource

* Add basic eventsource logging int ZipkinExporter

* clean readme
2020-07-22 06:53:39 -07:00
Cijo Thomas 13dd5d717e
More cleanups. (#875)
* Rename samplers

* Cleanups

* typos

* remove internal as it has nothing now

* rename more
2020-07-22 06:41:24 -07:00
Reiley Yang b91b45ae44
Clean up outdated docs (#874)
* clean up outdated stuff

* ul
2020-07-22 00:17:59 -07:00
Cijo Thomas d796db07b4
Replace Span with Shim Span. (#850)
* Remove tracerfactory and tracerbuilder

* Remove tracer extensions

* Add Span and Tracer shims. Remove all span code.

* more wrapper apis

* Wrap ActivityEvent

* wrap links

* change tracestate back to keyvalue pair in contxt

* ore tracer fix

* OpenTracing shim

* example change

* remove spancontext

* remove more of the new stuffs

* benchmark fixes

* remove Event class

* TraceState consistent name

* casing fix

* equality fix

* fix test

* test todo

* typo

* rename after accepting shim chanegs from Raj

* remove new from the end of many names.

* benchmark fix

* TraceStateUtils naming

* TraceStateUtilsNew rename to fix build issue at CI.

* renamings
2020-07-21 23:11:13 -07:00
Reiley Yang f432f4b96c
clean up contributing.md (#871) 2020-07-21 23:00:05 -07:00
Reiley Yang c9c39555d3
Add get started document (#870)
* add get started document

* fix nit

* remove unused stuff

* fix broken link
2020-07-21 20:12:53 -07:00
Peter Wiese c1dedf0589
Don't throw when checking if an outbound HttpRequestMessage request is injected with the traceparent header (#869)
* If an outbound HttpRequestMessage does not include the traceparent header then don't throw.

Made the header values getters and setter static to avoid the Func and Action allocations per invocation.

* Missed a getter usage in HttpInListener

* Extending an existing unit test to validate the new HttpRequestMessage header value getter.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-21 17:13:33 -07:00
Rajkumar Rangaraj 609c57c31f
Update OpenTracingShim to use OpenTelemetry shim (#859)
* Update otlp test

* Converted Span to Activity

* Modified tests

* Changed dispose in tests and added exporters sample

* Renamed all activity to span

* Modified activity to Activity

* Modified existing tests, no need to use Activity based shim

* Modified sample.

* Incorporating Cijo's feedback
2020-07-21 17:03:26 -07:00
Mikel Blanchard 4c77bc94b3
ParentOrElse Sampler (#852)
* Added ParentOrElseActivitySampler. Updated AlwaysOn, AlwaysOff, & Probability ActivitySamplers for spec changes.

* Updated documentation comments.

* Added missing braces in ParentOrElse description.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-07-21 14:46:41 -07:00
Cijo Thomas df2d44be07
Small tweaks to Docs. (#868)
* Minor improvements to API readme.md

* SDK docs minor with sampling added

* line lentg

* intallation step at top

* lint
2020-07-21 14:11:15 -07:00
Timothy Mothra a3c0b80840
fix Jaeger EventSource id (#865)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-21 12:59:36 -07:00
Eddy Nakamura 29df2bb840
Disable master merge workflow for linux/win (#867)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-21 12:49:54 -07:00
Reiley Yang cc141cda0f
Avoid the "Win" trick (#862)
* remove Win hack

* remove Win from folder name
2020-07-21 12:13:55 -07:00
Cijo Thomas f62b24ed48
Upgrade to DiagnosticSource version from nuget. This ensure we can release beta to nuget and users dont have to add any additional nuget source. (#866) 2020-07-21 11:27:29 -07:00
Eddy Nakamura 68d3c791e7
Updating samples folder path (#857)
* Updating samples folder path

* Updating from Web to AspNetCore

* updating paths and namespaces

* merging docfx, markdownlint and spellcheck to docs.yml
merging integration-redis and integration-sql to integration.yml

* updating files to work on vscode

* creating extensions.json to simplify usage

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-21 10:18:51 -07:00
Cijo Thomas a2c4f9c630
Temporarily disable code coverage (#861) 2020-07-21 00:31:45 -07:00
Reiley Yang 6e66179a9b
Minor improvements over consistency (#860)
* make package description consistent

* remove nits

* better description

* avoid the .NET vs .NET Core confusion
2020-07-21 00:17:45 -07:00
Reiley Yang 234399c093
Move SDK doc, minor clean up (#858)
* move SDK doc, minor clean up

* update link

* fix typo

* fix typo

* remove exporter from SDK doc

* remove broken link

* update badge

* fix typo

* fix code snippet indentation

* fix code snippet indentation

* fix nits

* fix nits

* fix nits
2020-07-20 21:19:54 -07:00
Reiley Yang a4284aca24
Minor doc cleanup (#856)
* minor doc cleanup

* revert to CRLF to minimize diff

* improve wording

* make docfx happy
2020-07-20 17:20:36 -07:00