* Enable integration tests for .NET 5.0
* Change configuration for other packages (StackExchangeRedis and SqlClient)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Use Grpc.Net.Client for netstandard2.1
* Fix AspNetCore example app
* Better comment for Http2UnencryptedSupport switch
* Update PublicAPI
* Update changelog
* Fix line endings
* Suppress instrumentation on export
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Most of the common props stuff
* remove coverlet from Zpages Test
* Clean up other mention of coverlet in comment
* Moving appropriate package versions to nonprod
* Common.props removal of packagevers
* reverting some changes to a grpc package
* Fixing tabs and adding one more packagae referecne
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* Introduces the concept of IProviderContainer which allows injection of a TracerProvider into lower levels (Processor, Exporter, etc.).
* Removed IProviderContainer and fixed the provider types.
* Removed log provider example.
* Working on getting everything working with the new API.
* Attempting to get all the tests passing.
* Added concept of BaseProvider. Updated public API.
* Project fixup.
* Removed OnParentProviderSet.
* Updated changelog.
* Test fixup.
* Test fixup.
* Cleanup.
* Adding multitarget to integration tests
changing to ENV
updating to multiline
removing multiline
updating version of docker-compose
updating dockerfile
updating pipeline
testing again
testing
updating version to 3.7
updating dockerfile
testing
updating to env
adding .env to test
updating docker compose
removing default value
docker compose with options
updating dockerfile to isntall netcore 2.1
adding info to check what are the versions installed
updating script
adding condition to download only in netcoreapp2.1
updating condition
updating dockerfile
adding arg
updating files to enable netcoreapp2.1 and 3.1 test
updating version
removing duplicated files, adding to build folder
updating project to tests
updating project to tests
updating to tests
adding sdk as tag
updating dockerfile
removing sdk_version fixed value
updating arg order
updating files
* removing fixed version
* Attempting to get redis integration tests up and running.
* Attempting to get SqlClient integration tests working on 2.1 + 3.1.
* Attempting to get W3C integration tests running on 2.1 & 3.1.
* Added version to Microsoft.AspNetCore.App 2.1 refs.
* Comment cleanup.
* Attempting to fix explicit reference warnings.
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* Updating DiagnosticSource to 5.0.0-rc.1.20451.14
* adding link to changelog
* commenting dotnet5 feed
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* 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>
* Step1 of updating to Rc1 of diagnostic source
* Update parent.spanid to parent.traceid as traceid will be default for root.
* add samplingatributes to activity tags
* updating to isremote=true
* updating tests
* changelogs
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* 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>
* Removing Todos
renaming parameter
adding tests
updating spanbuilderShim
updating to internal
renaming to spanAttributes
solving build issue
adding spec reference
Continue Refactoring TracerProvider. (#1035)
* optimize the flow
* fix instrumenataion
* move mroe things to provider ctor
* move logic arounds
Co-authored-by: Reiley Yang <reyang@microsoft.com>
changing to class and following spec to replace value
replacing from default to null
updating package
adding xunit.runner
renaming method
* removing duplicated files
* adding some tests and updating to default constructor
* removing to be compliant to spec
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Initial make build fix commit
* change Link public API to accept ActivityTagsCollection
* Add more SetAttribute overload to support int bool float and bool
* changelog
* Replace AddTag with SetTag in Activity
* disable a test for temporary progress
* reformat
* url fix
* Update Diagnosticourcepackage
* version fix
* ActivityTagsCollection
* console exporter fix
* one basic test
* minor
* improve project props management
* use less strict version
* add comment
* workaround redis test
* reduce the scope of change
* Revert "reduce the scope of change"
This reverts commit 059ef3a6ef956978c61b101ed5914203b214c2a0.
* revert
* try to fix docker
* try to fix docker
* manually update the sln file
* Attempting to get Redis instrumentation up and working using ActivitySource API.
* updating tests
* renaming and updating tests
* Test fixes.
* Fixed Redis net461 tests failing on connection.
* Redis integration tests and bug fixes.
* Adding tests
* Put back redis connection options.
* Updates for changes in master.
* adding comments to testRedis
* updating based on comments
* updating summary
* Switched a couple spots using string keys to constants.
* Redis integration tests
* Small tweak to the GitHub action to make it more consistent with the others.
* Made instrumentation internal. Updated README.
* rename MaxFlushInterval to FlushInterval, adding flushInterval to samples
* Removed running of non-integration tests from Redis dockerfile.
Co-authored-by: Eddy Nakamura <eddynaka@gmail.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
cleaning props/targets
updating to new version of codecov
adding env_vars
updating yml
adding env_vars
solving compilation issue
adding source root
adding source root
fixing wrong tag
commenting sourceroot
enabling deterministic for packs only
changing job titles
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Enable StyleCop rules for Test projects
This enables most of the StyleCop for test projects cleaning up any
errors as appropriate.
* Add line break at end of ruleset files
* Correct multi-line parameter after rebase
* Add W3C TraceContext validation test app
* fix linux build
* some fixes
* Use ASP.NET Core test app as W3C test suite example
* broken solution
* remove new project
* move tests to 3.0
* update minver
* fix http tests to force 2.0
* minver is in common props, remove from projects
* move lightstep tests to 3.1
* 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