* add base2 expo histo aggregation
* add base2 expo histo, test, benchmark
* add prom, otlp exporter and example
* add ostream exporter and example
* update vscode launch
* run tools/format.sh
* add grpc exporter target switch for unix sockets
* Added ConvertExponentialHistogramMetric unit test
* Update the osstream_metric_test with ExponentialHistogram
* update CHANGELOG.md
* markdown lint
* Comment non-used function add missing includes
* add metrics dependency to otlp exporters test build
* run format
* remove unused function definition
* Added empty line in the end of a test file and removed comments
* Fix windows build errors
* fix iwyu warnings
* add comment to trigger pr update
* fix additional iwyu warnings
* Fix iwyu warning
* Fix include order in base2_exponential_histogram_aggregation.h
* Add kcumulative and kdelta aggregation temporality test with collect calls for base2 histogram aggregation
* add prelim bucketing checks
* Tested the exp2 constructor with point data
* Fix missing include in sync histogram test
* move diff and merge to use union of all buckets approach
* make get a const method
* update base2 expo hiso diff test
* add base2 expo histo test with sync storage collect
* uncomment examples
* format
* use static_cast
* fix comments
* update changelog
* Fix comments and errors in the pipeline
* Update sdk/src/metrics/aggregation/base2_exponential_histogram_aggregation.cc
Co-authored-by: Tom Tan <lilotom@gmail.com>
* remove unused code
* set max_buckets minimum to 2
* Revert otlp grpc client changes
Propose change in follow up PR
* [wip] make buckets unique ptr
* refactor unique_ptr for buckets with deep copies
* format
* update otlp serialization test with unique ptr
* format
* Small pipeline fixes
* iwyu fix
* remove boundary and format
---------
Co-authored-by: Ruslan Nigmatullin <euroelessar@gmail.com>
Co-authored-by: Felipe C. Dos Santos <felipe.santos.k@gmail.com>
Co-authored-by: Tom Tan <lilotom@gmail.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
Co-authored-by: Felipe C. Dos Santos <42920697+felipesantosk@users.noreply.github.com>
* Add synchronous gauge
* Add ABI Version macro, update tests
* Fix function description
* Fix formatting
* Remove ABI macros from SDK.
* Add error log for gauge delta temporality.
* Fix formatting
* Apply suggestions from code review
Move kGauge to the end, for better ABI compatibility.
---------
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
Co-authored-by: Marc Alff <marc.alff@free.fr>
Fixed some warnings reported by clang.
-Wnewline-eof
no newline at end of file
-Wc++98-compat-extra-semi
extra ';' outside of a function is incompatible with C++98
-Winconsistent-missing-destructor-override
'~XXX' overrides a destructor but is not marked 'override'
-Wheader-hygiene
using namespace directive in global context in header
-Wunused-parameter
unused parameter
Fixed some warnings reported by gcc.
-Werror=missing-field-initializers
missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’
-Werror=unused-variable
unused variable
-Werror=unused-parameter
unused parameter