* Update ActivityTraceFlags for every sampling decision
* Simplify unit tests
* Fix the ActivityTraceFlags update logic
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Moving the previous default (SDK info) into separate method
* Add CreateDefault and add to API
* Converting tests and adding actual default servicename
* Fixing Tracer Test with SDKResoruce
* removing api reference
* Fixing tests
* Changelog and API
* Re-add test with default ProviderBuilder and privatize method
* reverting API changes
* Removing AddDfault method altogether, performing addition inside CreateDefault
* Resolving comments - main instead of master, shortened changelog.md
* Moved to unreleased
* markdownlint fix (blank lines)
* Closing brace should not be preceded by blank line
* Removing colon from unknown_service when no processname
* removing comma check from sdk test
* link to correct spec section
* one other case of the colon missing
* Correcting - reversing string.empty and processname in ternary
* Adding default and envVar resource. Initial commit
* Adding Create method for resource creation with default resource and relevant unit tests.
* Adding isNullOrEmpty check to env var value to remove redundant condition.
* TracerProviderBuilder now calls Resource.Create to get the default resource with EnvVar attributes as well
* The default reource now includes the attributes from env var as well. Refactoring unit tests for the same.
* Adding ResourceDetector interface and public methods to add attributes from default and env var resources
* Missed out new resource files. Adding
* adding some more tests
* Adding missing import
* Updating public api list
* Refactoring method name for new methods
* Making IResourceDetector and corresponding impl internal until spec is official about detectors
* Refactoring return
* Was using wrong Sdk in test. Fixed.
* Adding error handling to OtelEnvResourceDetector
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Separate AddInstrumentation and AddDSInstrumentation
* Mark AddDiagnosticSourceInstrumentation as internal
* changelog
* order
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* 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>
* 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>