Commit Graph

1022 Commits

Author SHA1 Message Date
Cijo Thomas d2f7629670
0.7.0 Release note update (#1361)
* 0.7.0 Release note update

* s
2020-10-16 10:53:00 -07:00
Eddy Nakamura b80a6c4298
Fixing null reference in propertyfetcher (#1350)
replacing fetch for tryfetch

fixing netcoreapp3.1 issue in htp instrumentation

adding back Fetch method

adding null validation; adding null test
2020-10-16 10:34:50 -07:00
Jan Trejbal dc78f296ae
Use IConnectionMultiplexer instead of implementation (#1353) 2020-10-16 08:49:38 -07:00
Cijo Thomas 8221893bc5
Update changelog for status (#1357)
* Update changelog for status

* spacing issues resolved

* lint error
2020-10-15 22:34:53 -07:00
Cijo Thomas b415b8a07f
Activity ParentSpanId check fix for Rc2 (#1358) 2020-10-15 22:25:21 -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 30112154ff
Fix misleading comments (#1348)
* fix misleading comments

* borrow the wording from the spec
2020-10-13 18:14:02 -07:00
Eddy Nakamura 5c85552310
Updating DiagnosticSource to version 5.0.0-rc.2.20475.5 (#1346)
* Updating DiagnosticSource to version 5.0.0-rc.2.20475.5

* updating changelog link
2020-10-13 14:31:39 -07:00
Eddy Nakamura 378ba54b77
Updating Status based on the new spec (#1313)
* Updating Status based on the new spec

commenting OtlpTrace.Status.Type check

fixing test

undoing change to statuscanonicalcode

fixing tests

reiley's comments

SetStatus now saves enum instead of string

fixing changes after conversion

fixing redis tests

from http spec, if 1xx,2xx,3xx => unset, otherwise error.
from rpc spec, if ok => unset, otherwise error.

fixing sql tests

fixing redis tests

* fixing sqlclient framework tests

* adding benchmark to status

* changing from hashset to simple if, readding statuscode for grpc
2020-10-13 10:11:32 -07:00
Reiley Yang a2e31af5fd
fix nits (#1343)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-12 21:34:20 -07:00
xiang17 e7f5eb790d
Add SelfDiagnostics module to provide infrastructure to log EventSource events - part 2 (#1306)
* Add EventListener and Recorder, and boilerplate for Recorder and ConfigRefresher.

* Make ConfigRefresher top level. Once configuration file is valid, ConfigRefresher will create an EventListener as configured EventLevel.

* Comment out a unused private field which will be used in following PRs.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-12 21:18:08 -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 e381b395cb
add missing link (#1340) 2020-10-09 16:57:30 -07:00
Mikel Blanchard e5107b4b73
Added the new OpenTelemetry.Exporter.InMemory project to the solution. (#1339) 2020-10-09 16:15:03 -07:00
Reiley Yang 4ce2beccdd
Add an InMemoryExporter<T> (#1335)
* skeleton of the in-memory exporter

* add log helper

* configuration

* simple

* update the test cases

* mdl

* simplify readme

* better names

* minor tweak on the flow

* contravariance

* Revert "contravariance"

This reverts commit 94a474f46c.
2020-10-09 14:41:16 -07:00
Mikel Blanchard e7b61e3938
OtlpExporter Benchmarks (#1337)
* Added bencharks for OtlpExporter.

* Code review.
2020-10-09 10:58:35 -07:00
Reiley Yang 484c36ce46
disable flaky patch coverage check (#1338) 2020-10-09 10:46:08 -07:00
Mikel Blanchard 55526efadf
Added ActivityEvent.EnumerateTags & ActivityLink.EnumerateTags extensions (#1320)
* Added EnumerateTags extensions for ActivityLink & ActivityEvent.

* Updated CHANGELOG.

* Code review.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-08 14:56:51 -07:00
Reiley Yang 8ccabb324c
Get rid of OpenTelemetry.Exporter.Console namespace (#1332)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-10-08 13:15:56 -07:00
Reiley Yang 00e6d5b3c9
rename Tracing to Trace (#1331)
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-10-08 13:05:51 -07:00
Mikel Blanchard 9d0fa12ba7
Fixed a couple minor things. (#1333) 2020-10-08 11:56:02 -07:00
Reiley Yang 2a2818cca0
Logging correlation with trace context (#1330)
* log correlation

* format
2020-10-08 00:13:50 -07:00
Reiley Yang 53fa258d40
respect Sdk.SuppressInstrumentation flag on the logging path (#1329) 2020-10-07 14:06:29 -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 04eb1d877d
remove duplicated public keys (#1326)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-06 17:08:42 -07:00
Reiley Yang 77315f223f
Add a value type version of CircularBuffer (#1325)
* copy the CircularBuffer class

* adapt to value type

* nit
2020-10-06 16:29:46 -07:00
Eddy Nakamura 874f9d7863
CustomProperty improvements (#1261)
* CustomProperty improvements

updating tests

updating to RuntimeContextSlot

updating to runtimeContext

adding runtime/subscibe/flag benchmark

updating aspnet and http

updating ramaining instrumentation

* adding try/catch&log

* improve docs for enrich action

* Checking enrichment with sampler

* removing unneeded using

* updating changelog

* updating changelog

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-10-06 13:27:00 -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
Mikel Blanchard 1f04397c26
Added Activity.EnumerateEvents extension (#1319)
* Added EnumerateEvents extension on Activity. Updated Jaeger + Zipkin to use it. Added benchmarks & tests.

* Updated CHANGELOG.
2020-10-04 09:43:10 -07:00
Mikel Blanchard 8e7ba79def
Added Activity.EnumerateLinks extension (#1314)
* Added extension for enumeration Activity links.

* Updated CHANGELOG.

* Unit tests.

* Updated test to enumerate more than one record.
2020-10-02 11:16:19 -07:00
Cijo Thomas 57402913ff
Add myget feed to readme (#1318) 2020-10-01 07:38:19 -07:00
Reiley Yang a7bbefd0fc
remove Liudmila (Microsoft) (#1312)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-29 16:18:29 -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
Mikel Blanchard 6633dc846e
Fixed a couple bugs in Jaeger Exporter. (#1310) 2020-09-26 09:38:40 -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
Pär Dahlman 56a34f371b
Fix sumary comment for 'CreateDoubleCounter' (#1307)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-25 09:16:34 -07:00
Eddy Nakamura 2037a45f57
Fixing NullReferenceException in SpanAttributes (#1304)
Testing null reference

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-24 11:35:29 -07:00
xiang17 f79376d163
Add SelfDiagnostics module to provide infrastructure to log EventSource events - part 1 (#1234)
* Add SelfDiagnostics class which will provide infrastructure to log EventSource events.

* Change the location and access modifier.

* Remove UTF-8 BOM

* update description comment

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-24 11:21:32 -07:00
Mikel Blanchard a61e48978f
Jaeger Exporter Tweaks (#1262)
* Fixed bug in Jaeger Exporter where it was using a buffer from the pool after it was returned.

* Combined the process cache creation with the library resource processing.

* Code review.

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-23 10:55:51 -07:00
Paulo Janotti 6c845da6a9
Add Eddy Nakamura as an approver (#1298)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-09-23 10:11:06 -07:00
Mikel Blanchard 401c111c1a
Jaeger/Zipkin Exporter Performance (#1274)
* Fixed broken ZipkinExporter benchmarks & switched to batching.

* Zipkin Exporter performance tweaks.

* Code review.

* Updated CHANGELOGs.

* Renamed maxPacketSize in JaegerExporter. Added some validation in ZipkinExporter.

* Fixed build break.

* Attempting to get 2.1 tests passing.

* Fixed messed up syntax.

* Revert build definition change.

* adding rsync in linux (again)

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-09-22 12:41:07 -07:00
Eddy Nakamura f1ebf05ecb
Renaming SamplingDecision options (#1297)
* Renaming enum

* updating changelog
2020-09-21 16:57:29 -07:00
Cijo Thomas 987c5ac79e
Correct check for activity is root in OTLP (#1295)
* Correct check for activity is root in OTLP

* comment about runtime issue

* removing sync linux

* adding TODO and removing rsync section

Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
2020-09-21 15:35:08 -07:00
Tom Tan 36d747d0b3
Correct resource URL in comment (#1290)
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-09-19 10:24:53 -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