Commit Graph

14 Commits

Author SHA1 Message Date
Sergey Kanzhelev 9223282da8
fix sampling setters (#327)
* fix sampling setters

* Update src/OpenTelemetry/Trace/Configuration/TracerFactory.cs

Co-Authored-By: Bruno Garcia <bruno@brunogarcia.com>
2019-11-07 14:26:35 -08:00
Bruno Garcia d48e702286 ref: Move using outside namespace (#277) 2019-10-12 10:03:45 -07:00
Liudmila Molkova 7141ee23d8
Tracing configuration API (#267)
* tracer factory configuration

* review

* default factory

* review

* Tests and readme

* Update README.md

Co-Authored-By: Austin Parker <austin@lightstep.com>

* null checks

* rebase from master
2019-10-11 18:53:11 -07:00
Liudmila Molkova 6bf0e18d60
Rename TraceConfig to TracerConfiguration and remove Default (#258)
* TraceConfig to TracerConfiguration and remove Default

* Add TracerConfiguration file and fix namespace
2019-10-07 12:48:51 -07:00
Wolfgang Ziegler 7453ec3258 Named tracers (#239)
* Implementing the "Named Tracers" proposal for .NET

* Improve Named Tracers implementation.

LoggingTracer now prints "LibraryResource" information (name + version)
Make "LibraryResource" available on Spans.

* Improved and refactored Tracer creation

* Fixed issues and tests after merge

* Implemented PR feedback

* Implementing the "Named Tracers" proposal for .NET

* Improve Named Tracers implementation.

LoggingTracer now prints "LibraryResource" information (name + version)
Make "LibraryResource" available on Spans.

* Improved and refactored Tracer creation

* Fixed issues and tests after merge

* Implemented PR feedback

* Implement PR review feedback

* Organize using directives

* Update src/OpenTelemetry.Collector.AspNetCore/RequestsCollector.cs

Co-Authored-By: Liudmila Molkova <lmolkova@microsoft.com>

* Update RequestsCollector.cs
2019-10-03 10:05:16 -07:00
Liudmila Molkova 58717abf27
Implement batching processor and use it by default (#228)
* Implement batching processor and use it by default

* up

* Tracer ctor fix

* relax tests checks for number of export calls

* Update src/OpenTelemetry/Trace/Export/SimpleSpanProcessor.cs

Co-Authored-By: Bruno Garcia <bruno@brunogarcia.com>

* relax tests
2019-09-26 12:05:47 -07:00
Liudmila Molkova 762b5ce0bc
Aligns exporting pipeline with SDK spec (#227)
* SpanProcessor and exporter changes

* SpanProcessorOnStart

* fix examples
2019-09-23 12:34:33 -07:00
Liudmila Molkova 888f94a44e Clean up trace config (#216) 2019-09-20 23:29:41 -07:00
Tim Wegner 175ae3bf0d Dev/twegner/issue 139 (#153)
* Removing ExportComponent

* Updating IExportComponent references

* Updating references to ExportComponent
2019-07-24 17:45:25 -07:00
Liudmila Molkova 023e861510 Align with spec on ISpanBuilder and ITracer (#133)
* Align with spec on ISpanBuilder and ITraces

* add bad args tests on SpanBuilder
2019-07-08 23:43:34 -07:00
Michael Ingold 843fc3e225 Code Cleanups (#131)
* reordered all usings (SA1208)

* Use trailing comma in multi-line initializers (SA1413)

* SA1005	Single line comment should begin with a space.

* SA1028	Code should not contain trailing whitespace

* A1101	Prefix local calls with this

* SA1500	Braces for multi-line statements should not share line

* SA1505	An opening brace should not be followed by a blank line.

* SA1513	Closing brace should be followed by blank line

* SA1517	Code should not contain blank lines at start of file

* A1507	Code should not contain multiple blank lines in a row

* SA1503	Braces should not be omitted

* SA1508	A closing brace should not be preceded by a blank line

* SA1210	Using directives should be ordered alphabetically by the namespaces

* IDE0065 Removed unnecessary usings

* SA1633    The file header is missing or not located at the top of the file.

* IDE0044    Make field readonly

* SA1311	Static readonly fields should begin with upper-case letter

* IDE0060	Remove unused parameter 'options' if it is not part of a shipped public API

* various IDE warnings cleaned up

* SA1400	Element should declare an access modifier

* SA1402	File may only contain a single type

* SA1638	File header file name documentation should match file name

* SA1629	Documentation text should end with a period

* various code uncommon style warnings fixes

* SA1137	Elements should have the same indentation
* SA1648	inheritdoc should be used with inheriting class

* SA1616	Element return value documentation should have text

* SA1310    Field should not contain an underscore

* Various documentation rule violations fixed

* SA1614	Element parameter documentation should have text
* SA1137	Elements should have the same indentation

* Various documentation rule violations fixed

* CS1574	XML comment has cref attribute that could not be
resolved
* CS1572	XML comment has a param tag for, but there is no
parameter by that name
* SA1204	Static members should appear before non-static members
* SA1201	A property should not follow a method
* SA1201	A constructor should not follow a property
* SA1202	'public' members should come before 'private' members
* SA1202	'internal' members should come before 'private' members
* SA1202	'protected' members should come before 'private' members
* CS0168	The variable 'ex' is declared but never used

* Moved to implicit version resolution, as stated in the warning from the
dotnet sdk

* various cleanups and project structure

* CS1591 disabled for the entire solution
* removed `[assembly: System.CLSCompliant(true)]` from contributed
projects
* Fixed various async snafus.

* removed version.props from proj file

* enabled TreatWarningsAsErrors
2019-07-08 22:32:22 -07:00
Sergey Kanzhelev 47125330cd
Aligned Propagators (Binary and Text) with the Java API (#90)
* few random fixes

* removed propagation component and aligned namespaces

* fix build break

* fix unit test
2019-06-05 13:59:40 -07:00
Tim Wegner 9a273275fd Dev/twegner/issue 61 (#86)
* Moving span store related interfaces from API to SDK

* Addressing PR feedback on reducing interface complexity and add some clarity around SpanStore interfaces and implementation.
2019-06-05 09:56:52 -07:00
Sergey Kanzhelev b11593d2d6 find and replace OpenCensus -> OpenTelemetry 2019-05-10 10:30:04 -07:00