Commit Graph

107 Commits

Author SHA1 Message Date
Daniel Dyla 27a8d4530c
chore: version 0.14.0 proposal (#1763) 2020-12-17 15:44:39 -05:00
Antônio Franco e032feb88e
fix(exporter-prometheus): add appendTimestamp option to ExporterConfig (#1697)
* fix(exporter-prometheus): add appendTimestamp option to ExporterConfig

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* chore: lint

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* chore: add test

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* fix(exporter-prometheus): check if appendTimestamp is boolean

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* chore: lint

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* fix(exporter-prometheus): change appendTimestamp property

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* chore: rollback unintentional package changes

Signed-off-by: Antonio Franco <antoniomrfranco@gmail.com>

* chore(exporter-prometheus): update test

Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>

Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-12-14 19:43:37 +01:00
WhiteSource Renovate 0d06a52eed
chore(deps): update all non-major dependencies (#1716) 2020-12-11 17:18:05 +01:00
Daniel Dyla 86cbd6798f
chore: 0.13.0 proposal (#1718) 2020-12-04 16:14:05 -05:00
Bartlomiej Obecny 781b30f5bb
Metrics updates (#1700)
* 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
2020-12-03 00:40:42 +01:00
WhiteSource Renovate b22ca638ff
chore(deps): update dependency ts-mocha to v8 (#1639)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-12-02 11:50:12 -05:00
WhiteSource Renovate 6a55593cff
chore(deps): update all non-major dependencies (#1451) 2020-11-30 15:44:11 -05:00
Andrew ceba9be40c
fix: boundaries option propagation in ValueRecorder Metric (#1628)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-11-11 11:10:16 -05:00
Valentin Marchaud 14c92dabfc
refactor: new interface for ExportResult #1569 (#1643)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-11-04 10:48:52 -05:00
Bartlomiej Obecny 3f72613a36
chore: 0.12.0 proposal (#1592)
* chore: 0.12.0 proposal
2020-10-19 14:39:09 +02:00
Bartlomiej Obecny 00a8ce7f98
Update to Proto v0.5.0 (#1588)
* 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
2020-10-19 13:36:54 +02:00
Andrew ae1185dbcd
fix: make prometheus histogram export cumulative (#1570)
Co-authored-by: legendecas <legendecas@gmail.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-10-08 09:31:58 -04:00
Matthew Wear 240f852cc4
feat: add global error handler (#1514) 2020-10-07 15:45:37 -04:00
WhiteSource Renovate 6eb157c669
chore(deps): update dependency ts-node to v9 (#1473) 2020-09-30 14:27:53 +02:00
legendecas 24ffd16f51
feat: make prometheus config preventServerStart optional (#1375)
* 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`
2020-09-29 23:03:19 +02:00
Daniel Dyla 5489f961be
Remove process listener (#1522) 2020-09-21 15:28:41 -04:00
Bartlomiej Obecny d8b1be8cc9
unifying shutdown across code base (#1439)
* 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
2020-09-03 20:30:07 +02:00
Bartlomiej Obecny 15174c6647
0.11.0 proposal (#1481) 2020-09-01 21:13:24 +02:00
legendecas 53f0654800
feat: prometheus serializer (#1310)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-26 13:11:42 -04:00
Jonah Rosenblum b884eeca2e
Add Graceful Shutdown Support (#1321)
* 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>
2020-08-18 01:01:47 +02:00
Paul Fairless 2916ecf743
feat: Add missing prometheus exports for ValueRecorder, SumObserver & UpDownSumObserver (#1428)
Co-authored-by: Valentin Marchaud <contact@vmarchaud.fr>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-17 12:32:08 -04:00
WhiteSource Renovate f612922e8c
chore(deps): update all non-major dependencies (#1424) 2020-08-14 11:02:42 -04:00
WhiteSource Renovate 978506ce75
chore(deps): update all non-major dependencies (#1402) 2020-08-10 00:38:38 -07:00
legendecas 6eb51a2d66
refactor(metrics): distinguish different aggregator types (#1325)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-08-04 14:02:51 -04:00
Daniel Dyla b247e69034
chore: 0.10.2 proposal (#1382) 2020-08-03 19:16:43 -04:00
WhiteSource Renovate 0cde542dc8
chore(deps): update all non-major dependencies (#1371) 2020-07-31 11:09:42 -04:00
Daniel Dyla 03981e4299
chore: 0.10.1 release proposal (#1359) 2020-07-28 11:07:22 -04:00
Daniel Dyla ab62a4d69b
chore: 0.10.0 release proposal (#1345) 2020-07-27 16:48:06 -04:00
WhiteSource Renovate c14000bd85
chore(deps): update all non-major dependencies (#1348) 2020-07-24 11:01:39 -07:00
WhiteSource Renovate 785442c500
chore(deps): update dependency @types/mocha to v8 (#1324)
Co-authored-by: Bartlomiej Obecny <bobecny@gmail.com>
2020-07-17 23:44:21 -07:00
WhiteSource Renovate 73fbbcb442
chore(deps): update all non-major dependencies (#1323) 2020-07-17 17:24:09 -04:00
WhiteSource Renovate cb753b6f1e
chore(deps): update all non-major dependencies (#1297)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-07-11 17:56:06 -07:00
Bartlomiej Obecny d4544920d7
chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder (#1276)
* chore: updating aggregator MinMaxLastSumCount and use it for value observer and value recorder

* chore: fix after merge
2020-07-06 22:36:04 +02:00
Bartlomiej Obecny 9845b4f8f7
Batch observer (#1137)
* 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
2020-06-30 14:30:38 -07:00
WhiteSource Renovate bff0b66186
chore(deps): update dependency @types/node to v14.0.14 (#1244) 2020-06-25 15:02:04 -04:00
Mark Wolff 153169af7d
fix(package.json): publish source maps (#1237)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-24 09:57:24 -07:00
Mayur Kale 904245f767
chore: 0.9.0 release proposal (#1208) 2020-06-18 14:20:29 -07:00
Mark Wolff e9b2cf9aeb
refactor: remove copyright year from file headers (#1150) 2020-06-12 09:27:21 -04:00
Mayur Kale 469b759b99
feat: add the UpDownCounter instrument (#1120) 2020-06-11 23:08:36 -07:00
Daniel Dyla 5ea7060d61
Combined dependency updates (#1180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 14:47:57 -04:00
WhiteSource Renovate a576f3a812
Pin dependencies (#1154) 2020-06-09 13:52:36 -04:00
Naseem c24d992305
feat!: remove label keys as they are no longer part of the spec (#1126)
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-06-08 18:12:41 -07:00
Naseem e93a86633b
ci: lint markdown files (#1147)
* ci: add markdown linting

Signed-off-by: Naseem <naseem@transit.app>

* fix: lint markdown files

Signed-off-by: Naseem <naseem@transit.app>

* docs: add markdown lint configuration

Signed-off-by: Naseem <naseem@transit.app>

* docs: lint change log

Signed-off-by: Naseem <naseem@transit.app>
2020-06-08 15:29:21 -04:00
Shivkanya Andhare 478f074fb7
update nyc to 15.1.0 in all package.json file (#1140) 2020-06-03 13:35:23 -07:00
Daniel Dyla 65b5ba2d04
chore: 0.8.3 release proposal (#1122) 2020-05-28 16:13:08 -04:00
Daniel Dyla 3dd522322b
chore: update @types/node (#1110) 2020-05-27 12:22:26 -07:00
Bartlomiej Obecny cfcf38e452
chore: test build (#1107)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-05-26 16:45:56 -04:00
Daniel Dyla 7233a03a50
chore: 0.8.2 release proposal (#1092) 2020-05-21 15:18:17 -04:00
Olivier Albertini 05e7bb9c8f
fix(lint): move tslint to eslint (#892) 2020-05-20 20:42:17 -07:00
Daniel Dyla d808ea72e3
chore: 0.8.1 release proposal (#1054) 2020-05-18 15:24:09 -04:00