Commit Graph

89 Commits

Author SHA1 Message Date
Cijo Thomas fcc0b56904
Readme updates (#1631)
* Readme updates

* typos

* keep main readme simple

* less verbose in getting started

* length

* Update docs/metrics/getting-started.md

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

* link fix

* link fix

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-11-30 10:27:04 -08:00
Utkarsh Umesan Pillai 0abe85dcd6
Updated docs for logs (#1586)
* Updated docs for logs

* Remove extra space

* Corrected the propertyname to TargetFrameworks

* Updated TargetFrameworks property

* Addressed PR comments

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-22 16:33:00 -08:00
Alan West b710c314ae
Use consistent pattern for namespace of extension methods (#1576)
* Change PrometheusRouteBuilderExtensions namespace to Microsoft.AspNetCore.Builder

* Change ConsoleExporterLoggingExtensions namespace to OpenTelemetry.Logs

* Change namespace in example app

* Change namespace of extension methods for InMemoryExporter

* Change ResourceBuilderExtensions namespace to OpenTelemetry.Resources

* Add comment for extension methods not contained in namespace of type they are extending

* Update comment

* Update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-11-18 11:26:22 -08:00
Cijo Thomas 9661a7c4dd
Filtering processor (#1559)
* Filtering processor

* fixes

* pr feedbacs

* readonle
2020-11-18 00:15:25 -08:00
Cijo Thomas 3c49d35cf1
Cleanup logging docs (#1563)
* Cleanup logging docs

* remove dead link

* fix link
2020-11-17 08:07:45 -08:00
Cijo Thomas bf57502ae3
Refactor TracerProviderBuilder to API (#1536)
* Refactor TracerProviderBuilder to API

* REDIS TEST fix
2020-11-13 13:13:43 -08:00
Cijo Thomas 89cfdf01fb
More details for writing instrumention library (#1531)
* More details about instrumentation

* alighment
2020-11-12 19:16:08 -08:00
Cijo Thomas baa2972e49
Instrumentation Library doc (#1467)
* Draft of instrumentation doc

* more details

* markdowns

* minor

* link

* fix link

* doc fix

* minor

* link
2020-11-10 17:59:18 -08:00
Cijo Thomas a29e031bf5
Use GA version of DiagnosticSource (#1500)
* Use GA version of DiagnosticSource

* fix space

* Update bcl backages to be utpo 6.0 version
2020-11-10 11:17:56 -08:00
Cijo Thomas 8775969819
Remove RentrantExportProcessor as it is not required by spec (#1496)
* Remove RentrantExportProcessor as it is not required by spec

* clean up api doc

* fix doc

* remove deadlinks

* remove test

* more removals
2020-11-09 16:31:23 -08:00
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