Commit Graph

632 Commits

Author SHA1 Message Date
Cijo Thomas 7f2e672dfa
Rename UseExporter to AddExporter (#1066)
* Rename UseZipkinExporter to AddZipkinExporter

* Rename ZPages exporter extension

* rename jaeger to AddJaeger

* Otlp Exporter rename

* rename extension helper class

* Rename zpages

* comments adressed

* markdwonlint ix
2020-08-13 09:27:00 -07:00
Cijo Thomas 4907f69a6d
Modify Exporter docs (#1065)
* Exporter doc improvements

* Add new readme

* fix readme

* fix deadlinks

* remove space trailing

* some review comments addressed

* more feedback

* sanity check
2020-08-13 08:59:02 -07:00
Rajkumar Rangaraj 5cb5d8e8c5
Micro optimization for built-in samplers (#1069)
* Small perf change to ComputeActivityDataRequest

* Special case optimization

* Further optimization
2020-08-13 08:34:53 -07:00
Reiley Yang b5695edc43
Clean up (#1068)
* clean up

* simplify the code

* string.Empty

* fix nit
2020-08-12 23:05:16 -07:00
Cijo Thomas 0af38acb9d
Rename workflows. (#1064) 2020-08-12 15:37:24 -07:00
Eddy Nakamura 99e4818809
Cron publish (#1063)
* Cron publish

* Adding comment to cron
2020-08-12 14:56:02 -07:00
Cijo Thomas 57002e0989
Remove Azure pipeline for myget push (#1062) 2020-08-12 12:21:22 -07:00
Reiley Yang 310f315099
Adjust/fix wording (#1061)
* adjust/fix wording

* adjust wording
2020-08-12 11:29:46 -07:00
Reiley Yang 46bb490a94
fix nits (#1060)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-12 09:33:05 -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
Cijo Thomas e86e49a2e9
Replace docs example with actual code (#1054)
* Replace doc with actual program

* fix

* min

* fix

* review coment

* fix format

* fix docfx build
2020-08-12 08:48:31 -07:00
Eddy Nakamura ffb1bc68e5
Adding search to setapikey (#1059) 2020-08-12 08:36:36 -07:00
Eddy Nakamura 2f5d302447
using key directly (#1058) 2020-08-12 08:16:50 -07:00
Eddy Nakamura 6c00fdbaab
updating nuget command (#1057) 2020-08-12 07:49:58 -07:00
Eddy Nakamura 23bf260ecf
updating push command (#1056) 2020-08-12 07:27:19 -07:00
Eddy Nakamura 014480fc16
Publish Package (#1055)
removing apikey flag

removing setup-dotnet

updating command

changing to dotnet command

updating order

updating to with

removing

removing echo
2020-08-12 07:10:27 -07:00
Reiley Yang 7b86d25274
Update console exporter (#1051)
* update console exporter

* update changelog
2020-08-12 00:17:35 -07:00
Reiley Yang c852a32306
Update MyExporter example (#1047)
* update MyExporter example

* fix missing using statement

* rename and remove less useful stuff
2020-08-11 22:54:59 -07:00
Eddy Nakamura dad644aae1
Renaming from OT to OTel (#1046)
* Renaming from OT to OTel

* updating to full name and suggestion

* updating changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 19:33:17 -07:00
Rajkumar Rangaraj 7943d96938
Fix Samplers to match spec (#1037)
* Modified sampler to return Decision

* Added missing functionalites affected with conflict.

* Added test

* Fix test

* Removed IsAllDataRequested check from processor

* Checking if sampler is null.

* Adding code missed from conflict

* Incorporating PR feedback

* Fix test

* Removed OpenTelemetry.Trace.Samplers namespace

* Update to changelog

* Moved test to tracersdk

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 19:25:35 -07:00
Peter Wiese ba077fb95a
[OTLP Exporter] Configurable gRPC ChannelOptions (#1033)
* Allow gRPC ChannelOptions

* Adding to the changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 10:29:01 -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 f44952a610
clean up TracerProviderSdk (#1045)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 06:29:59 -07:00
Cijo Thomas 7a57b84b90
Change benchmark to depend on opentelemetry project only (#1044) 2020-08-11 04:18:41 -07:00
Reiley Yang fb5eec094d
mini bencmark (#1039)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-10 22:49:32 -07:00
Reiley Yang fbf0d8459a
update SDK changelog (#1040)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-10 22:32:34 -07:00
Reiley Yang 852c06f68c
remove unused files (#1041) 2020-08-10 22:30:52 -07:00
Reiley Yang 52a37b94dc
Update changelog format (#1038)
* clean up API changelog

* use consistent wording
2020-08-10 20:24:59 -07:00
Reiley Yang ce0bf3f723
rename AddActivitySource to AddSource, use params (#1036) 2020-08-10 18:02:50 -07:00
Cijo Thomas 8af9b326c6
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>
2020-08-10 15:18:19 -07:00
Cijo Thomas 6e53eb2056
MicroService example to depend on project reference. (#1031) 2020-08-10 10:36:25 -07:00
Alan West bd738f0447
End-to-end example applications (#936)
* Suite of example applications demonstrating context propagation with RabbitMQ

* Put System.* namespaces first

* Newline at EOF

* Fix markdownlint errors

* markdownlint fix

* Refactor WorkerService separating OpenTelemetry related logic from RabbitMQ boilerplate

* Refactor WebApi separating OpenTelemetry related logic from RabbitMQ boilerplate

* Use environment variables for RabbitMQ user/pass

* Add some comments

* Fix RabbitMQ default user/pass

* Use correct ActivityKind

* Add attributes following messaging specification

* Clearing a path through the RabbitMQ jungle

* Log something when sending/receiving a message

* Code style clean up

* Default logging to info level

* Create queue if it does not exist

* Rename controller to SendMessageController

* Refine the readme

* MarkdownCop

* Fix merge snafu

* Add null checks on activity

* Add a missed null check

* Use AddOpenTelemetry in ConfigureServices

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-09 23:59:10 -07:00
Cijo Thomas 47a6fe7621
Refactor TracerProvider to make configuration easy. (#1027)
* Refactor TracerProvider to make configuration easy.

* build break fix

* MyExporter change

* format

* sql build fix

* fix

* test fix
2020-08-09 00:48:00 -07:00
Reiley Yang 5f2e8d0cd9
Rename noop (#1025)
* s/NoOp/Noop/g

* workaround

* rename NoOp files to Noop
2020-08-07 14:25:59 -07:00
Reiley Yang e43356abd7
Fix double shutdown (#1017)
* fix double shutdown

* add consistency

* nit
2020-08-07 10:36:27 -07:00
Cijo Thomas 1b01f3c98e
Add doc to sln (#1022) 2020-08-07 09:46:02 -07:00
Cijo Thomas 9566c055be
Use DisplayName instead of OperationName in ZipkinExporter (#1020) 2020-08-07 08:33:34 -07:00
Reiley Yang c4484a7ace
Initial ideal how to refactor provider (#1008)
* initial ideal how to refactor provider

* dumping more ideas

* more improvements

* update example

* improve perf when no sampler is specified

* put more examples

* composite processor

* update the tutorial

* more check

* nit

* update tutorial
2020-08-06 15:35:33 -07:00
Mikel Blanchard 73bff75ef6
Default Sampler update + ParentOrElse fix (#1013)
* Updated default sampler to match the spec. Fixed broken ParentOrElseSampler.

* Fixed http-in instrumentation creating Activity objects with invalid parents.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-05 15:35:11 -07:00
Eddy Nakamura 1758e32222
Renaming BroadcastActivity (#1015)
* Renaming BroadcastActivity

* updating issue number

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-05 15:08:30 -07:00
Reiley Yang b3710a4079
fix console output format (#1014) 2020-08-05 14:57:54 -07:00
Eddy Nakamura c10c39fa75
Updating Exporters to understand the array of primitives (#1012)
* Updating Exporters to understand the array of primitives

code review - 1

updating tests

* updating tests

* code review - 2

* code review - 3
2020-08-05 12:39:13 -07:00
Eddy Nakamura 1c15164b14
Updating CodeCoverage and deterministic build (#1010)
* Testing CodeCoverage

solving build issue

updating file to debug

updating function

updating script

updating filters

removing upload

removing unused tag

* updating order

* adding blank line

* Update .github/workflows/dotnet-core-cov.yml

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

Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-05 10:33:40 -07:00
Eddy Nakamura e79c3eee97
Enable FxCop - part 02 (#1009)
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-05 09:39:47 -07:00
Alan West 8077bab538
Update changelog with more details for gRPC support (#1011)
* Update changelog

* Move 'are's around and remove an 'is'

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-05 08:17:23 -07:00
Cijo Thomas d0e84840cd
Leverage ActivityListener.AutoGenerateRootContextTraceId (#1007)
* Leverage ActivityListener.AutoGenerateRootContextTraceId

* test

* More test

* changelog

* remove duplicated test logic

* markdown fix

* space
2020-08-05 07:59:05 -07:00
Rajkumar Rangaraj 7030026c88
StartSpan should not generate active span by default (#994)
* Modified StartSpan, added RootSpan

* Update changelog

* Fix changelog

* Added test

* Resolve conflict

* Update changelog

* update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-04 23:03:30 -07:00
Reiley Yang 67607b79f4
demonstrate SuppressInstrumentation in exporter tutorial (#1006) 2020-08-04 22:41:09 -07:00
Reiley Yang 46bb3f1ec7
Minor improvement on ActivityProcessor (#1005)
* minor improvement on ActivityProcessor

* fix typo
2020-08-04 22:17:56 -07:00
Alan West 099c3c76a0
Make SuppressInstrumentation an IDisposable (#988)
* Make SuppressInstrumentation an IDisposable

* Simplify SuppressInstrumentation

* Rename to SuppressInstrumentationScope

* Clean up comment

* Implicit operator instead of IsSuppressed property

* Make SuppressInstrumentationScope constructor internal

* Clean up some names

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-08-04 22:04:03 -07:00