Utkarsh Umesan Pillai
fcde600f22
Add extension method to add ConsoleExporter for logs ( #1452 )
...
* Added an extension method to add ConsoleExporter for logs; Updated the logs getting-started docs to add ConsoleExporter
* Updated CHANGELOG.md
* Addressing PR comments
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-03 20:10:48 -08:00
Cijo Thomas
bdf5ea3547
Add note that metrics api is alpha ( #1426 )
...
* Add note that metrics api is alpha
* fix doc isue
* link fix
* link
* fix lint
2020-10-30 07:22:02 -07:00
Utkarsh Umesan Pillai
cb74484bf2
Removed Activity.ParentId from the example output ( #1389 )
2020-10-23 12:39:51 -07:00
Reiley Yang
1170f3f20d
catch up the latest version of .NET RC ( #1362 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-17 15:53:06 -07:00
Reiley Yang
2786809fa2
put AlwaysOnSampler in the tutorial ( #1356 )
2020-10-15 21:55:37 -07:00
xiang17
a2b1e363f0
Remove all unused using statements in the solution ( #1354 )
2020-10-15 17:43:29 -07:00
Reiley Yang
263f4ccf14
introduce net461 target for OpenTelemetry logging component ( #1351 )
2020-10-15 09:59:03 -07:00
Reiley Yang
a2e31af5fd
fix nits ( #1343 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-12 21:34:20 -07:00
Reiley Yang
8f709b29f2
Add document for log exporter/processor ( #1342 )
...
* Add document for log exporter/processor
* minor improvement
2020-10-12 21:08:09 -07:00
Reiley Yang
f68157f49e
Clean up logging work ( #1341 )
...
* clean up logging work
* update the main readme file
* fix broken link
2020-10-12 00:36:22 -07:00
Reiley Yang
71bb3635f5
ILogger integration - part 3 ( #1328 )
...
* extract common part
* make process/exporter generic
* update dependencies
* update all the tests and docs
* clean up
* changelog
* update readme
* prevent LogRecord to be inherited
* simplify example
* simplify the code
* revert accidental change
2020-10-07 09:55:54 -07:00
Eddy Nakamura
6348f387f2
Cleaning files ( #1323 )
...
* Cleaning files
* applying fxcop suggestions
* fixing taskscheduler warning
removing fxcop
2020-10-06 20:24:32 -07:00
Reiley Yang
30f011456e
Consolidate log and trace processor ( #1322 )
...
* consolidate log and trace processor
* avoid OpenTelemetry.Common namespace
* add benchmarks
* skip test for netcoreapp2.1
* restrict log benchmark to netcoreapp3.1 for now
2020-10-06 08:24:19 -07:00
Reiley Yang
d1a3f53324
ILogger integration - part 2 ( #1315 )
...
* add log processor
* fix changelog
* macros
* more conditional compilations
* improve struct
* remove duplicated stuff
* remove Sdk.CreateLoggerProviderBuilder
* clean up
* update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-05 10:13:03 -07:00
Reiley Yang
3ef4f82a74
Add more good/bad examples for ILogger ( #1309 )
...
* more good/bad examples for ILogger
* more examples
* simply the example
* add link to the official doc
2020-09-28 22:47:28 -07:00
Reiley Yang
6529c43bfb
ILogger integration - part 1 ( #1308 )
...
* ilogger integration
* update changelog
* s/name/categoryName/g
* TODO comment
2020-09-25 14:32:44 -07:00
Eddy Nakamura
f1ebf05ecb
Renaming SamplingDecision options ( #1297 )
...
* Renaming enum
* updating changelog
2020-09-21 16:57:29 -07:00
Reiley Yang
b38adb4343
Update Exporter.Shutdown to meet with the latest spec ( #1285 )
...
* exporter.Shutdown returns bool
* update changelog
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-19 10:12:50 -07:00
Eddy Nakamura
c7429d25c9
Normalizing format ( #1289 )
...
updating gitattributes
updating
updating
updating
Revert "Normalizing format"
This reverts commit b571e430a73f65605481ef0a622a372bc8a787ae.
Updating everything to utf-8
applying lf
Revert "applying lf"
This reverts commit a54947f24ba69eecc931525f2a69647040fdc28d.
updating config
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-19 09:45:29 -07:00
Reiley Yang
8a4621c71f
Update Processor.Shutdown to meet with the latest spec ( #1282 )
...
* processor.Shutdown returns bool according to the spec
* update changelog
2020-09-17 09:26:19 -07:00
Cijo Thomas
33f617299b
Add AspNetCore example for log correlation ( #1267 )
...
* Add AspNetCore example for log correlation
* remove space
* link to non host console
2020-09-15 09:47:02 -07:00
Reiley Yang
dab9198d7c
sanitize EOL for *.csproj files ( #1253 )
2020-09-09 20:36:36 -07:00
Reiley Yang
5e41c62327
enforce EOL=LF in CI ( #1250 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-09 17:14:26 -07:00
Reiley Yang
8fc88d28f6
Minor improvement on the "extending the sdk" doc ( #1220 )
...
* minor improvement on the customization doc
* add code snippet and more details
* make the snippet self-contained
2020-09-01 23:03:10 -07:00
Reiley Yang
6efe758b55
Add doc on how to correlate ILogger with trace ( #1214 )
...
* add doc for ILogger correlation with trace
* fix links
* mention that ILogger correlation only works for .NET5, clarify the options
* distinguish ILogger and Microsoft.Extensions.Logging
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-01 07:15:39 -07:00
Reiley Yang
3c4ed50bb9
Refactor docs/demo ( #1211 )
...
* refactor docs/demo
* normalize EOL
* add blank line before EOF
* fix hyperlinks
2020-08-31 15:05:47 -07:00
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