Alan West
c88120dc58
Enable handling of non-string attributes in Zipkin tests
2020-08-25 21:22:41 -07:00
Alan West
891051c9dd
Update changelog
2020-08-25 20:35:21 -07:00
Alan West
c208e312cb
Delete duplicate test suite
2020-08-25 20:30:39 -07:00
Alan West
c48b01f3f7
Revert change to CreateTestActivity
2020-08-25 20:19:04 -07:00
Alan West
76136b5224
Include net.peer.port in ZipkinSpan.RemoteEndpoint.ServiceName when applicable
2020-08-25 16:52:04 -07:00
Reiley Yang
cdc19f9ce4
Update issue/pr templates ( #1165 )
...
* update issue template to prepare for Beta-2
* update PR template
* improve consistency
* address review comments
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-25 16:23:47 -07:00
Cijo Thomas
c7e6c89e21
Update diagnostic source version to the newest preview from nuget. ( #1167 )
...
* Update to the diagnosticsource from nuget
* changelog
2020-08-25 14:45:39 -07:00
Eddy Nakamura
6ccd11af0b
Check IsRecording in TelemetrySpan before adding event and attributes ( #1166 )
...
* Check if we can record in TelemetrySpan
* removing un-needed null check
* reverting AddBaggage change
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-25 10:01:50 -07:00
Alan West
c21bd58844
Suppress instrumentation in Zipkin exporter ( #1150 )
...
* Suppress instrumentation in Zipkin exporter
* Check Sdk.SuppressInstrumentation on ActivityListener.ActivityStarted/ActivityStopped
* Remove raw post in test to Zipkin endpoint URL
* Use ForceFlush on exporter
* Call ForceFlush twice
* Remove IsInternalUrl
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-25 09:41:24 -07:00
Reiley Yang
fa8a052352
more sanity check ( #1164 )
...
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-24 21:50:58 -07:00
Eddy Nakamura
8b16894e37
Removing AI reference ( #1160 )
...
* Removing AI reference
* removing reference
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-24 21:23:13 -07:00
Cijo Thomas
86b91c8127
Revert "Fix ActivitySourceAdapter to respect SuppressInstrumentation ( #1151 )" ( #1159 )
...
This reverts commit 9f92b5f78e .
2020-08-24 20:32:00 -07:00
Reiley Yang
552728a7bc
use OpenTelemetry and otel consistently ( #1158 )
2020-08-24 18:06:39 -07:00
Cijo Thomas
e411956c1f
Remove test from exporter which are testign something else ( #1156 )
2020-08-24 17:56:41 -07:00
Reiley Yang
a7f53b5974
minor improvement on homepage ( #1154 )
2020-08-24 17:47:49 -07:00
Reiley Yang
3b254efde1
Shutdown improvement ( #1152 )
...
* shutdown improvement
* update Jaeger exporter
* fix nits
2020-08-24 17:19:41 -07:00
Cijo Thomas
9f92b5f78e
Fix ActivitySourceAdapter to respect SuppressInstrumentation ( #1151 )
...
* Change namespace to match other tests
* Fix ActivitySourceAdapter to respect SuppressInstrumentation
* save indentation
2020-08-24 16:44:59 -07:00
Cijo Thomas
13ce9ef7a3
Remove unused file ( #1148 )
2020-08-24 14:05:38 -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
Eddy Nakamura
50c60af259
Enable FxCop - part 05 ( #1141 )
...
* Enable FxCop - part 05
* removing using tag
* updating zpages and adding supression
* adding supressions
* undoing traceprovider change
2020-08-24 10:15:59 -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
Eddy Nakamura
dbaf1458bb
Adding constructor to SpanAttributes to accept collection ( #1126 )
...
* Adding new constructor to SpanAttributes
* reiley's comments
* changing param comment
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-22 10:43:10 -07:00
Alan West
0f618d001d
Rename gRPC instrumentation project ( #1136 )
...
* Rename project OpenTelemetry.Instrumentation.GrpcNetClient
* Update GrpcNetClient README
* Update AspNetCore instrumentation README with gRPC support
* Update changelog and top-level readme
* markdownlint
* Fix project/file path references
* Change namespace to GrpcNetClient
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-21 21:35:19 -07:00
Cijo Thomas
6377d6bd87
Renamed extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider ( #1138 )
...
* Renamed extension methods from AddOpenTelemetry to AddOpenTelemetryTracerProvider
* ununsed removal
* remove unnecessary test
* build fix
2020-08-21 21:28:10 -07:00
Reiley Yang
6676fc4eae
use Milliseconds ( #1139 )
2020-08-21 21:02:53 -07:00
Eddy Nakamura
3e1d7f1a20
Replacing variable names ( #1134 )
...
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-21 19:01:47 -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
Cijo Thomas
f5bffdb7fa
Rename Span to Activity in tests (part1) ( #1133 )
2020-08-21 15:46:14 -07:00
Cijo Thomas
7807c810cc
Instrumentation to store context object into Activity.CustomProperty ( #1128 )
...
* Modify instrumentations to populate context object only if Activity.IsAllDataRequested is set
* AspNetCore tests
* Asp.Net tests
* httpclient tet
* httpwebrequest test
* sqlclient tests
* grpc test
* changelog
* move inside alldatarequested
* remove test which validate customproperty population in propagation only mode
* cop caught
* fix test
2020-08-21 13:10:52 -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
623187b6b5
Remove external dependency for tests ( #1132 )
2020-08-21 12:42:27 -07:00
Reiley Yang
9eccaf4818
Refactor exporter - step 8 ( #1127 )
...
* remove SimpleActivityProcessor
* update changelog
* remove ActivityExporter
2020-08-21 10:53:08 -07:00
Eddy Nakamura
ee5b038540
Migrate JaegerExporter to BatchExportActivityProcessor ( #1125 )
...
* Updating Jaeger Exporter
* updating changelog
2020-08-21 08:32:53 -07:00
Eddy Nakamura
c75d85ba6b
Updating Link/TelemetrySpan to accept SpanAttributes ( #1120 )
...
* Updating to use SpanAttributes
* updating link tests
* adding changelog and testing all supported types
* Update CHANGELOG.md
* updating changelog
* updating TelemetrySpan
* updating changelog
* updating to pass in tests
* changing to spanAttributes
2020-08-21 07:51:55 -07:00
Eddy Nakamura
7c46d45de7
Moving B3Format to API ( #1123 )
...
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-21 07:28:37 -07:00
Eddy Nakamura
1b6c39d879
Implementation of RecordException in TelemetrySpan ( #1116 )
...
* Add RecordException method to TelemetrySpan
* reusing ToInvariantString already implemented
* updating changelog
* checking for null
* reusing method
* Adding activity extension to record exception
* adding aggressiveinlining
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-21 07:07:44 -07:00
Eddy Nakamura
83adf75f01
Migrate ZPagesExporter to BatchExportActivityProcessor ( #1108 )
...
* Changing Zpages processor
* updating changelog
* updating to ZPagesProcessor
* updating after merge
* adding internal reset method
2020-08-20 18:08:18 -07:00
Eddy Nakamura
595c3bd0c3
Fixing zipkin payload ( #1112 )
...
* Fixing zipkin payload
* adding more types to convert to string
* adding some comments
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-20 16:37:10 -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
Eddy Nakamura
2c5f48f7a3
Adding tests ( #1101 )
...
* Adding tests
* Adding tests to Zpages
* updating tests
* checking purge
* merging tests to prevent parallel run issue
* checking if not empty
* adding collection to not run in parallel
* renaming
* checking nonevents in EventSource
* removing collections
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-20 16:01:34 -07:00
Reiley Yang
5fa2559dbf
remove BatchingActivityProcessor ( #1113 )
2020-08-20 14:50:58 -07:00
Cijo Thomas
08eb46841a
Contributing doc minor edits ( #1111 )
2020-08-20 11:25:24 -07:00
Cijo Thomas
7eb4250c00
Add basic benchmark for ActivitySourceAdapter ( #1107 )
2020-08-20 10:41:38 -07:00
Cijo Thomas
0e305b34c4
Minor rearrangement of tests ( #1109 )
...
* Minor rearrangement of tests
* Update ActivitySourceAdapterTest.cs
2020-08-20 10:31:23 -07:00
Eddy Nakamura
a969c8f3cf
Migrate OtlpExporter to BatchExportActivityProcessor ( #1104 )
...
* Changing OtlpExporter
* updating changelog with last PR number
* solving null reference while converting activitylinks
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-20 09:45:34 -07:00
Eddy Nakamura
46907830e2
Updating VSTest nuget ( #1074 )
...
* Updating VSTest nuget
* updating to stable version
* updating nuget
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-08-20 09:26:51 -07:00
Reiley Yang
b4ce36f5f6
Migrate ZipkinExporter to BatchExportActivityProcessor ( #1103 )
...
* migrate zipkin exporter to BatchExportActivityProcessor
* update changelog
* fix test failure
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-19 21:43:12 -07:00
Cijo Thomas
d13ef78b06
ActivitySource minor optimization and test ( #1105 )
...
* ActivitySource minor optimization and test
* comment
* More optimize
2020-08-19 21:27:13 -07:00
Alan West
68c16da46f
SuppressInstrumentation from ActivityListener and DiagnosticSourceListener ( #1079 )
...
* Add SuppressInstrumentation check in the ActivityListener
* Add SuppressInstrumentation check in the DiagnosticSourceListner
* Fix things post merge
* Put AlwaysOn/AlwaysOff sampler check back in the constructor
2020-08-19 21:05:29 -07:00
Cijo Thomas
44b55d476e
Update ActivitySource processor whenever TracerProvider adds processor ( #1102 )
2020-08-19 14:27:33 -07:00