* feat: renaming batcher to processor, fixing aggregators, adding missing metrics in api
* chore: fixing metrics in exporter collector, updated tests, fixing observer result
* chore: refactoring tests for rest of collectors
* chore: fixing monotonic sum observer, updated test to cover that scenario correctly
* chore: updating submodule for opentelemetry-proto
* chore: necessary changes after upgrade to proto ver. 0.5.0, aligning metrics to latest spec changes
* chore: removing examples from lerna bootstrap
* chore: cleaning ups unused interfaces
* chore: fixing unit test
* chore: updating aggregation temporality rules
* chore: updating temporality for value recorder
* chore: removing unneeded lib
* chore: span id and trace id as hex
* chore: adding value recorder to example
* feat: make prometheus config startServer mandatory
* fix: degrade log level on startServer is false
* fix: remove the log on not starting server
* fix: callbacks shall be called asynchronously unconditionally
* fixup!: update the options with `preventServerStart`
* chore: fixing and unifying the shutdown across all exporters, metric, spans, processors, so that the shutdown will be correctly handle in whole pipeline
* chore: unifying start server and stop server with shutdown for prometheus exporter
* chore: interval should be cleaned when shutdown starts
* chore: lint
* chore: merge branch 'master'
* chore: fixes after merge
* chore: reviews
* feat: graceful shutdown for tracing and metrics
* fix: wording in test case
* fix: typo
* fix meterprovider config to use bracket notation
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* fix meterprovider config to use bracket notation
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* fix: add callbacks to shutdown methods
* fix: merge conflict
* simplify meter shutdown code
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* fix: fix one-liner
* private function name style fix
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* fix: naming of private member variables
* fix: graceful shutdown now works in browser
* fix: window event listener will trigger once
* fix: modify global shutdown helper functions
* fix: remove callback from remove listener args
* fix: change global shutdown function names and simplify functionality
* fix: add rest of function refactoring and simplification
* fix: remove unintended code snippet
* fix: refactor naming of listener cleanup function and fix sandbox issue
* fix: make global shutdown cleanup local
* fix: change interval of MeterProvider collection to ensure it does not trigger through clock
* chore: removing _cleanupGlobalShutdownListeners
* fix: remove unnecesary trace provider member function
* Removing default span attributes (#1342)
* refactor(opentelemetry-tracing): removing default span attributes
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing default span attributed from tracer object
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing accidental add to package.json
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* refactor(opentelemetry-tracing): removing redundant test and fixing suggestions by Shawn and Daniel
Signed-off-by: Aravin Sivakumar <aravinarjunn@gmail.com>
* feat: add baggage support to the opentracing shim (#918)
Co-authored-by: Mayur Kale <mayurkale@google.com>
* Add nodejs sdk package (#1187)
Co-authored-by: Naseem <naseemkullah@gmail.com>
Co-authored-by: legendecas <legendecas@gmail.com>
Co-authored-by: Mark Wolff <mrw00010@gmail.com>
Co-authored-by: Matthew Wear <matthew.wear@gmail.com>
* feat: add OTEL_LOG_LEVEL env var (#974)
* Proto update to latest to support arrays and maps (#1339)
* chore: 0.10.0 release proposal (#1345)
* fix: add missing grpc-js index (#1358)
* chore: 0.10.1 release proposal (#1359)
* feat(api/context-base): change compile target to es5 (#1368)
* Feat: Make ID generator configurable (#1331)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* fix: require grpc-js instead of grpc in grpc-js example (#1364)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
* chore(deps): update all non-major dependencies (#1371)
* chore: bump metapackage dependencies (#1383)
* chore: 0.10.2 proposal (#1382)
* fix: remove unnecesary trace provider member function
* refactor(metrics): distinguish different aggregator types (#1325)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* Propagate b3 parentspanid and debug flag (#1346)
* feat: Export MinMaxLastSumCountAggregator metrics to the collector as Summary (#1320)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* feat: Collector Metric Exporter for the Web (#1308)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* Fix issues in TypeScript getting started example code (#1374)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
* chore: deploy canary releases (#1384)
* fix: protos pull
* fix: address marius' feedback
* chore: deleting removeAllListeners from prometheus, fixing tests, cleanu of events when using shutdown notifier
* fix: add documentation and cleanup code
* fix: remove async label from shutdown and cleanup test case
* fix: update controller collect to return promise
* fix: make downsides of disabling graceful shutdown more apparent
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
Co-authored-by: Aravin <34178459+aravinsiva@users.noreply.github.com>
Co-authored-by: Ruben Vargas Palma <ruben.vp8510@gmail.com>
Co-authored-by: Mayur Kale <mayurkale@google.com>
Co-authored-by: Naseem <naseemkullah@gmail.com>
Co-authored-by: legendecas <legendecas@gmail.com>
Co-authored-by: Mark Wolff <mrw00010@gmail.com>
Co-authored-by: Matthew Wear <matthew.wear@gmail.com>
Co-authored-by: Naseem <naseem@transit.app>
Co-authored-by: Mark Wolff <mark.wolff@microsoft.com>
Co-authored-by: Cong Zou <32532612+EdZou@users.noreply.github.com>
Co-authored-by: Reginald McDonald <40721169+reggiemcdonald@users.noreply.github.com>
Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: srjames90 <srjames@lightstep.com>
Co-authored-by: David W <dwitt12345@gmail.com>
Co-authored-by: Mick Dekkers <mickdekkersnl@gmail.com>
* chore: adding batch observer, some metrics refactoring
* chore: undo changes after testing
* chore: undo changes after testing
* chore: addressing comments
* chore: renaming observer into value observer, fixing few spotted issues
* chore: missing renamed for ValueObserver
* chore: removing unused class
* chore: cleanup
* chore: refactoring, renaming aggregators
* chore: refactoring observer to have base class that can be extended
* chore: changing aggregator for ValueObserver, exposing batcher so it can be used to override a default one
* chore: addressing comments
* chore: addressing comments
* chore: preventing user from updating observer after timeout or update
* chore: aligning aggregators for value observer and recorder with regards to last spec changes
* chore: fixing test
* chore: fixes after merge
* chore: changes after review
* chore: changes after review with some additional fixes around typing
* chore: changes after review
* chore: lint
* chore: reviews
* chore: typo