* zPages project onboarding
This is the intital commit for zPages exporter
* Updating csproj for zPages
Removing Implementation folder from csproj since it is not used yet
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* .net core 3.0 in maintance mode and end of support will be in march 2020
* more 3.1
* revent covelet and update IHostingEnvironment Warning
* rerun github check
* Remove extra SetAttribte and AddEvent overloads on Span
* return bool double and long attribues
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
* 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
* Thread safe implementation of Counter aggregator and tests.
* comment
* Ctor of CounterSumAggregator to validate type.
* Make test orchestrator block until all 10 threads updating counter has started.
* move labelset impl to SDK from API
* added basic test for labelset
* minor commment
* Update src/OpenTelemetry.Api/Metrics/LabelSet.cs
Co-Authored-By: Bruno Garcia <bruno@brunogarcia.com>
* LabelSet API to provide empty Enumrable for label
* mark LabelSetSDK as internal. There is no user code dependent on the implementation.
* Add Promethues Exported relying on new Metric, to allow deleting of old Stats files.
* Counter fixes
* Add PrometheusExporter test project
* Nuke the Stats folder completely. Exporters are also deleted and they will be brought back with new metric api.
* Add export and processor with facotry
* fix counterhandle and implement collect in metersdk
* use labelset encoding as key
* add gaugesdk
* creation of GaugeSDK
* Collect Gauges as well
* added a basic test
* test
* add metername
* move aggregator to separate namesace
* Add measure instrument with ExactAggregator
* collect is under lock
* modified prometheus exporter
* rename simpleprocessor to ungrouped batcher
* minor
* small changes
* build fix attempt
* make timespn optional in bacther
* buidl ix
* prom test project update
* few comments addressed
* remove tests
* test sample change duration
* time
* no delay
* rename Resource: Label to Attribute
* rename resource field in proto
* Update src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/resource/v1/resource.proto
* Update src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/opentelemetry/proto/resource/v1/resource.proto
* Add DistributedContext implementation and Delete ITag* Types
This change includes the following:
- Add the missing implementation of the DistributedContext.
- Change DistributedContextEntry to a struct to avoid allocations inside the DistributedContext.
- Introducing DistributedContext carrier which will carry the current context during the execution
- By default, DistributedContext will have Noop carrier for optimizing when the SDK is not loaded.
- When SDK loaded, it should set the carrier to the async local carrier defined in the SDK
- Removed all Tag* and ITag* types which not needed as DistributedContext should cover the required scenarios.
- Modified the serialization to work with the DistributedContext.
- Cleaned up the tests and added more DistributedContext specific tests.
* Fix failing tests
* Addressing some of the feedback
* refactor JaegerUdpBatcher AppendAsync logic
fixes the following bugs:
- span size + process size should not exceed max packet size
- current batch should be flushed if new span cannot be added to current batch without exceeding max packet size
* add missing this prefix to FlushAsync call
* update logic for checking if a span is too large
* Add Promethues Exported relying on new Metric, to allow deleting of old Stats files.
* Counter fixes
* Add PrometheusExporter test project
* Nuke the Stats folder completely. Exporters are also deleted and they will be brought back with new metric api.
* add TracerBuilderExtensions to configure LightStep exporter
* add LightStep exporter example to README
* Revert "add LightStep exporter example to README"
This reverts commit daeddb18d1.
* re-add lightstep configuration example to README
(didn’t break WIN line endings this time)
* update lightstep example
* update lightstep code example
* Apply design feedback on Metrics and DistributedContext
- Reduce the number od abstract methods on Meter and allow overriding protected methods to avoid make it public.
- Rename the word “Long” in the APIs to “Int64”. This is the design guidelines recommendation.
- Add convenient properties NoPropagationEntry and UnlimitedPropagationEntry in EntryMetadata.
- Avoid using the 3 uppercase letters acronym of TTL and just use the full words TimeToLive.
* Address the feedback
* Miscellaneous Changes
- Rename OpenTelemetry. DistributedContext namespace to Context. The reason is there is added classes DistributedContext with the same name.
- Fix some misspelling in the Gauge names.
- Added the overloads in the Counter, Gauge and Measure classes which takes DistributedContext parameters.
- Replaced CounterHandle, GaugeHandle, and MeasureHandle structs by just one abstract class MetricsHandle. As allowing implementing abstract counter classes, we should allow the same for the handle classes.
* Return back the different Handle classes
* Update src/OpenTelemetry.Api/Metrics/GaugeHandle.cs
Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>
* Update src/OpenTelemetry.Api/Metrics/GaugeHandle.cs
Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>
* Update src/OpenTelemetry.Api/Metrics/MeasureHandle.cs
Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>