Commit Graph

111 Commits

Author SHA1 Message Date
Cijo Thomas 7c611c8537
Metrics to Main (#2174) 2021-07-22 07:35:38 -07:00
Utkarsh Umesan Pillai 1b1da753d4
Remove unnecessary usings (#2101) 2021-06-23 18:19:11 -07:00
Cijo Thomas 6894a034b8
Fix doc link (#2086) 2021-06-15 22:12:22 -07:00
Mikel Blanchard 6cdfcea67c
Logs: Scope improvements (#2026) 2021-05-06 10:12:43 -07:00
Cijo Thomas d07ec267b0
AddSource section to customize the sdk doc. (#2017) 2021-04-29 09:52:57 -07:00
Cijo Thomas 58a8d1b568
Doc for customizing tracing sdk (#2016)
* Doc for customizing tracing sdk
2021-04-27 23:28:11 -07:00
Cijo Thomas 6dfe944997
Rewording for exception reporting doc (#1992) 2021-04-16 14:46:14 -07:00
Cijo Thomas aba4217a07
Remove netcoreapp2.1 from logging examples (#1993) 2021-04-16 13:40:49 -07:00
Cijo Thomas 8b143bf9ae
More details to Exception handling (#1986) 2021-04-15 15:13:06 -07:00
Reiley Yang 1c84b3a483
add 'learn more' section (#1974) 2021-04-12 11:02:34 -07:00
Reiley Yang c404e19ab3
Basic log scope support in ConsoleExporter (#1895)
basic log scope support in console exporter

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-03-11 14:19:00 -08:00
Cijo Thomas ff9e0d6f49
Corrected documentation for legacy activity instrumentation (#1897)
* Corrected documentation for legacy activity instrumentation

* fix space

* PR review comment
2021-03-11 07:40:50 -08:00
Reiley Yang 76d9fc092f
Remove options, stick with builder (#1875)
* remove options, stick with builder

* update changelog

* sanity

* update changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-03-08 10:21:45 -08:00
Reiley Yang 9ec98ab120
Add SetErrorStatusOnException option to TracerProviderSdk (#1858)
* add SetErrorStatusOnUnhandledException option to TracerProviderSdk

* changelog

* add doc

* markdown lint

* fix nits

* markdown lint

* update public api file

* fix nits in the changelog

* add test cases

* improve example

* improve doc

* rename

* change the wording in the doc

* use RecordException in the example

* tweak the doc

* address review comment from Tom

* adjust wording

* Revert "adjust wording"

This reverts commit 9bf74a336d.

* better exception message

* update example/doc

* more test cases

* address corner case in test

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-03-06 07:19:49 -08:00
Utkarsh Umesan Pillai 0581ce2957
Remove ActivitySourceAdapter (#1836)
Removed ActivitySourceAdapater and made TracerProviderSdk natively support legacy activites
2021-02-25 11:32:17 -08:00
Utkarsh Umesan Pillai 45cac9cbe6
Updated the console output (#1827) 2021-02-10 16:13:49 -08:00
Utkarsh Umesan Pillai d6779bd29a
Update the instructions to add ConsoleExporter package (#1822)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-02-10 12:33:14 -08:00
Cijo Thomas 6c742e916a
Small doc fixes (#1800)
* Small doc fixes

* line

* mardownlint fix

* review comments
2021-02-05 13:04:28 -08:00
Cijo Thomas fe24768521
fix spec repo links to main branch (#1746) 2021-01-29 12:07:34 -08:00
Cijo Thomas 29995ec245
Remove metrics from 1.0.0 release (#1743)
* Remove metrics from 1.0.0 release

* remove docs for metrics

* public api change
2021-01-29 10:05:50 -08:00
Reiley Yang 9196e567cf
Fix the leftover master to main issues (#1733)
* fix the leftover master to main issues

* use relative link
2021-01-27 15:47:34 -08:00
Utkarsh Umesan Pillai e2a908e089
Added SimpleExporter and BatchExporter for Activity and LogRecord (#1622)
* Added SimpleExporter and BatchExporter for Activity and LogRecord

* Updated the .publicApi text files

* Updated the README to use SimpleActivityExportProcessor instead of SimpleExportProcessor<Activity>

* Updated CHANGELOG.md

* Updated CHANGELOG.md

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2021-01-06 11:59:19 -08:00
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