Commit Graph

253 Commits

Author SHA1 Message Date
Reiley Yang 3b254efde1
Shutdown improvement (#1152)
* shutdown improvement

* update Jaeger exporter

* fix nits
2020-08-24 17:19:41 -07:00
Reiley Yang f6ef67bd33
Cleanup dispose/shutdown flow (#1142)
* improve comments

* only TracerProvider.Dispose will call processor.Shutdown

* add comments

* update test cases

* update test case

* cleanup nits

* fix plural form
2020-08-24 11:22:03 -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
Reiley Yang 74232b824d
Refactor exporter - step 10 (#1135)
* make Shutdown/Flush sync

* calculate remaining time

* fix doc

* update changelog

* s/timeoutMillis/timeoutMilliseconds/g

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-21 18:51:09 -07:00
Reiley Yang 683f8a1b61
Refactor exporter - step 9 (#1129)
* s/ExportResultSync/ExportResult/g

* s/ActivityExporterSync/ActivityExporter/g

* update changelog
2020-08-21 12:49:11 -07:00
Cijo Thomas cd435cdd4c
Consolidate Benchmarks projects (#1122)
* Consolidate Benchmarks projects

* solution fix

* f

* remove double readme
2020-08-20 16:17:25 -07:00
Reiley Yang bf694a0641
Refactor exporter - step 6 (#1094)
* implement BatchExportActivityProcessor

* fix typo

* wrap comments

* no need to stop a Stopwatch

* fix nit

* add thread name

* adopt zero-alloc enumerator

* avoid calling exporter with zero item

* better naming

* clean up

* fix the missing exportTrigger reset

* shutdown drain till sentry

* simplify the flow

* simplify the code

* periodic polling to avoid dead lock
2020-08-18 20:58:00 -07:00
Reiley Yang a4237cf104
Refactor exporter - step 2 (#1081)
* skeleton of export processors

* remove unused using statements

* add blank line
2020-08-14 15:52:15 -07:00
Alan West 0802d1e67a
Make suppress instrumentation APIs less prone to introducing bugs (#1067)
* Make suppress instrumentation APIs less prone to introducing bugs

* Update changelog

* Change return type to IDisposable

* Make SuppressInstrumentationScope.Begin public

* Remove Sdk.BeginSuppressInstrumentationScope

* Fix exporter example

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-13 19:28:18 -07:00
Reiley Yang 812fe936cf
Remove null sampler logic (#1072)
* remove null sampler logic

* fix ordering issue
2020-08-13 10:10:38 -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
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 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
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
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
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 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 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 e43356abd7
Fix double shutdown (#1017)
* fix double shutdown

* add consistency

* nit
2020-08-07 10:36:27 -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
Reiley Yang b3710a4079
fix console output format (#1014) 2020-08-05 14:57:54 -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
Reiley Yang fd0cc21b39
Update the custom processor project (#996)
* update the processor project

* simply code

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-04 21:20:43 -07:00
Reiley Yang 79acec1bc6
Add custom exporter project (#1004)
* Add custom exporter project'

* manually resolve merge conflict

* update codecov ignore list
2020-08-04 21:03:43 -07:00
Reiley Yang 0bcf363e0d
Add custom sampler project (#1001)
* add custom sampler project

* add comment
2020-08-04 19:58:13 -07:00
Reiley Yang 90c5b3af11
Improve docs structure (#983)
* improve docs structure

* revert line ending

* adopt .net5-preview-8

* remove unused using
2020-08-03 16:46:48 -07:00
Cijo Thomas d2c93610e8
Update to preview 8 of DiagnosticSource and associated changes - part1 (#954)
* Initial make build fix commit

* change Link public API to accept ActivityTagsCollection

* Add more SetAttribute overload to support int bool float and bool

* changelog

* Replace AddTag with SetTag in Activity

* disable a test for temporary progress

* reformat

* url fix

* Update Diagnosticourcepackage

* version fix

* ActivityTagsCollection

* console exporter fix

* one basic test

* minor
2020-08-03 11:25:24 -07:00
Reiley Yang 637874f49e
Doc skeleton (#943)
* skeleton doc

* fix nits
2020-07-30 23:01:35 -07:00
Reiley Yang 12c2e03941
fix broken instruction (#924) 2020-07-24 17:10:23 -07:00
Reiley Yang cc331fab76
docfx improvement (#922)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-07-24 16:08:38 -07:00
Cijo Thomas 920b0ed8d2
Provide MeterProvider to replace MeterFactory to be in sync with spec. (#919)
* Provide MeterProvider to replace MeterFactory to be in sync with spec.

* move OpenTelemetrymetrics to metrics folder

* Update examples/Console/TestPrometheusExporter.cs

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

* Sdk.CreateTracerProvider CreateMeterProvider

* move Sdk to root

* makr Sdk static

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-07-24 15:27:21 -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
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
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
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
Reiley Yang b91b45ae44
Clean up outdated docs (#874)
* clean up outdated stuff

* ul
2020-07-22 00:17:59 -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
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
Cijo Thomas 00ee600fc7
Basic docs (#847)
Basic API usage doc, SDK usage doc.
2020-07-20 11:49:47 -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
Eddy Nakamura dfd965a374
Feature/updating customization doc (#845)
* Updating customization doc

* updating text
2020-07-19 08:14:53 -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
Paulo Janotti 1b1902e356
Disable Code Coverage from `dotnet test` on Windows (#682)
* Disable code coverage on Windows

* Update CONTRIBUTING.md
2020-05-18 17:21:42 -07:00
Reiley Yang 2816263dd7
Clean up README.md (#648)
* clean up README.md

* fix typo

* Update README.md

Co-Authored-By: Paulo Janotti <pjanotti@splunk.com>

* remove dev specific instruction

* add exporter specific docs

* add a separate doc on custom exporters/samplers

* clean up

Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
2020-04-30 13:40:01 -07:00
Sergey Kanzhelev b11593d2d6 find and replace OpenCensus -> OpenTelemetry 2019-05-10 10:30:04 -07:00
Sergey Kanzhelev 0c01f9f0aa copy of OpenCensus at 0474607a16282252697f989113d68bdf71959070 2019-05-08 12:32:06 -07:00