Commit Graph

92 Commits

Author SHA1 Message Date
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
Bartlomiej Obecny 752e8c02ce
Proto update to latest to support arrays and maps (#1339) 2020-07-27 21:39:49 +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
David W a370a477cf
feat: [Collector Metric Exporter][1/x] Rename CollectorExporter to CollectorTraceExporter (#1256) 2020-06-29 13:44:11 -07:00
Mayur Kale 904245f767
chore: 0.9.0 release proposal (#1208) 2020-06-18 14:20:29 -07:00
Daniel Dyla f9f5df5718
chore: fix markdown linting and add npm script (#1217) 2020-06-18 16:44:18 -04:00
Bartlomiej Obecny 0d939d2a0e
chore: adding plugin-fetch and example (#1121)
* chore: adding plugin-fetch and example

* chore: investigating failing test

* chore: chore fixing tests with better fetch mocking

* chore: addressing comments

* chore: lint

* chore: addressing comments

* chore: updating webpack-env

* chore: fixes after update for node types

* chore: addressing reviews

* chore: fixes after merge

* chore: updating version

Co-authored-by: Mayur Kale <mayurkale@google.com>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2020-06-16 21:05:50 -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
Daniel Dyla 65b5ba2d04
chore: 0.8.3 release proposal (#1122) 2020-05-28 16:13:08 -04:00
Daniel Dyla 7233a03a50
chore: 0.8.2 release proposal (#1092) 2020-05-21 15:18:17 -04:00
Daniel Dyla d808ea72e3
chore: 0.8.1 release proposal (#1054) 2020-05-18 15:24:09 -04:00
Mayur Kale 94f7c4f780
chore: 0.8.0 release proposal (#1046) 2020-05-12 09:33:34 -07:00
Mayur Kale b28bed4791
chore: 0.7.0 release proposal (#973)
* chore: 0.7.0 release proposal

* chore: update CHANGELOG.md

* chore: update CHANGELOG
2020-04-24 11:09:37 -07:00
Daniel Dyla c5ed47d413
chore: 0.6.1 release proposal (#951) 2020-04-08 14:24:15 -04:00
Mayur Kale 5ea46ebf89
chore: 0.6.0 release proposal (#922)
* chore: 0.6.0 release proposal

* chore: update getting-started version
2020-04-02 10:19:33 -07:00
Daniel Dyla f695e40a96
chore: 0.5.2 release proposal (#907) 2020-03-27 10:58:34 -07:00
Bartlomiej Obecny 6afa63cb89
chore: fixing documentation for web tracer provider, fixing exam… (#906)
* chore: fixing documentation for web tracer provider, fixing examples for web, enable manager when registering

* chore: fixing span extraction from zone after context updates

* chore: bump
2020-03-27 08:26:53 -04:00
Daniel Dyla 20aaa4a5a1
chore: 0.5.1 release proposal (#883)
* chore: 0.5.1 release proposal

* chore: update changelog to match previous
2020-03-19 17:31:29 -07:00
Mayur Kale c013f3a45d
chore: 0.5.0 release proposal (#861) 2020-03-16 14:59:50 -07:00
Daniel Dyla 9a3fd7b560
Rename scope to context (#853) 2020-03-13 15:01:07 -04:00
Daniel Dyla 11be782e10
Rename formatter to propagator (#851)
* chore: rename formatter to propagator

* chore: lint

* chore: last few formatter renames

* chore: remove test of removed function

* chore: remove unused imports
2020-03-13 09:22:59 -07:00
Mayur Kale c6b29233d4
chore: post release update (#766) 2020-02-06 10:59:56 -08:00
Bartlomiej Obecny e13dd57fb6
feat: plugin user interaction for web (#658)
* feat: plugin user interaction for web

* chore: unnecessary check

* chore: reviews

* chore: adding version

* chore: adding version

* chore: reviews

* chore: reviews

* chore: reviews

* chore: fixes after merge

* chore: reviews

* chore: updating version

* chore: lint

Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-02-05 14:17:57 -08:00
Magesh kumar 26a1eaca42
fix: update web examples to use WebTracerRegistry (#761)
* fix: update web examples to use WebTracerRegistry

closes #756

* fix: renamed WebTracerRegistry to WebTracerProvider
2020-02-05 11:18:48 -08:00
Daniel Dyla c5bc4382ec
update examples and getting started for provider and api package (#750)
* chore: rename provider in examples and getting started

* chore: update examples, bench, and getting started for api

* chore: update examples for latest changes

* chore: lint examples
2020-02-05 10:44:05 -08:00
Naseem d7f4fe29db feat: lint examples (#649)
* refactor: use a single eslintrc for all examples folders

furthermore, override the strict rule that ships with airbnb

* fix: turn off no-use-before-define

* fix: install eslint in ci container

Co-Authored-By: Daniel Dyla <dyladan@users.noreply.github.com>

* fix: ignore uninstalled packages lint errors

We will not want to install all examples in CI

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-24 08:03:04 -05:00
Mayur Kale cb677c0539
chore: 0.3.3 release proposal (#683)
* chore: 0.3.3 release proposal

* chore: bump propagator-jaeger and exporter-stackdriver-trace version

* remove examples/ from lerna
2020-01-22 14:43:33 -08:00
Daniel Dyla 18c6aa4f19 Named Tracers / Tracer Registry (#582)
* feat: spike of named tracer registry

* chore: mysql/mongo tracer registry support

* fix: lint

* chore: add getTracer back

* chore: change default tracer name to empty string

* fix: lint

* chore: update examples for registry

* chore(tracer-registry): make name required

* chore: lint

* chore: update examples for required tracer name

* chore: remove unused tracer delegate

* chore: remove references to basic tracer

* chore: remove references to NodeTracer

* chore: update xhr for tracer registry

* chore: update tracer names to match package names

* chore: add version script to all packages

* chore: update plugins to use version script

* chore: add jsdoc to noop tracer registry

* chore: update ioredis for tracer registry

* chore: update pg pool for tracer registry

* fix: lint

* chore: fix tests

* chore: lint

* chore: lint

Co-authored-by: Mayur Kale <mayurkale@google.com>
2020-01-09 08:29:38 -08:00
Mayur Kale 3669648ef4
chore: 0.3.2 (patch) release proposal (#659)
* chore: 0.3.2 release proposal

* chore: bump getting-started/ version

* chore: generate version.ts for mongodb plugin after merge
2020-01-03 12:27:10 -08:00
Mayur Kale d8c85096c4
chore: 0.3.1 (patch) release proposal (#639)
* chore: 0.3.1 release proposal

* chore: npm run bootstrap
2019-12-20 15:45:34 -08:00
Bartlomiej Obecny bc583b8ac5 XMLHttpRequest (#595)
* feat(xml-http-request): new plugin for auto instrumentation for xml-http-request

* chore: new example for xml-http-request and updated examples structure for web

* chore: updating readme

* chore: linting

* chore: fixing origin for tests

* chore: linting

* chore: updating to use b3 format from core

* chore: updates after reviews

* chore: wrong function call

* chore: updating attribute names

* chore: linting

* chore: adding preflight requests, fixing few other issues

* chore: adding image to examples, updating readme

* chore: forcing async to be true, but propagate rest params

* chore: fixing type for open and send function

* chore: fixing format for headers

* chore: reviews

* chore: decrement task count when span exists

* chore: changes after review

* chore: adding weakmap for keeping information connected with xhr

* chore: renaming config param

* chore: not needed cast

* chore: updating title

* chore: refactored xhr, removed tracing dependency, few other issues fixed

* chore: reviews

* chore: refactored for collecting timing resources

* chore: fixes after merging

* chore: reviews

* chore: reviews

Co-authored-by: Mayur Kale <mayurkale@google.com>
2019-12-19 15:34:09 -08:00
Mayur Kale 517f6d5a6b
chore: 0.3.0 release proposal (#599)
* chore: 0.3.0 release proposal

* chore: bump examples version and generate version.ts
2019-12-13 11:10:59 -08:00
Bartlomiej Obecny b58ad102c4 Collector exporter (#552)
* chore: linting

* feat(collector-exporter): new exporter for opentelemetry collector

* chore: updating readme

* chore: undo auto lint fix - which is wrong

* chore: updates after comments

* chore: renaming util to transform

* chore: renaming types, last comments from review

* chore: adding missing links

* chore: fixes after comments

* chore: fixes after comments

* chore: fixes after comments

* chore: updating jsdoc

* chore: enabling attributes

* chore: adding script to generate package version file

* chore: naming

* chore: adding todo

* chore: updating types for link

* chore: fixing typo

* chore: removing unnecessary typing

* chore: const for enum

* chore: adding missing interface for message event

* chore: adding timestamp example

* chore: changes after review

* chore: adding case when the exporter is shutdown but export is called

* chore: adding missing header for request to prevent instrumentation
2019-12-04 08:43:09 -08:00
Nina Stawski b048bb9ae1 chore(web-example): Added a README for the existing example (#562)
* Added a README for the existing example

* Fixed typo

* A few updates to the README

* A few updates to the README

* Changed the link to point to the  instead of tracing

* Update examples/tracer-web/README.md

Co-Authored-By: Daniel Dyla <dyladan@users.noreply.github.com>

* Updated tracing to web
2019-11-21 11:49:28 -08:00
Bartlomiej Obecny 3d01be67fd feat(scope-zone): new scope manager to support async operations in web (#461)
* feat(scope-zone): new scope manager to support async operations in web

* chore: removing not needed dependency

* chore: updating readme

* chore: clean up

* chore: refactored the bind method

* chore: updated example for web tracer

* chore: updated readme

* chore: updating jsdoc

* fix: fixing flaky test for BatchSpanProcessor with timeout

* chore: missing link

* chore: updating karma files

* chore: adding docs and tests for utils

* chore: refactoring zone scope manager

* chore: adding test for web and zone scope manager for parallel actions

* chore: updating example for web tracer with zone scope manager

* chore: updating example for web tracer with zone scope manager

* chore: adding test for parallel run
2019-11-11 08:53:13 -08:00
Bartlomiej Obecny 4f48357b7d feat(traceparent): setting parent span from server (#477)
* feat(traceparent): setting parent span from server

* chore: exposing the parse functionality

* chore: refactored to use existing functionality

* chore: adding jsdoc to exported function

* chore: updating readme with example for traceparent

* chore: moving the traceparent to meta instead of window

* chore: updating the jsdoc

* chore: updating the copy as suggested
2019-11-08 13:08:21 -08:00
Mayur Kale 7e1cdd5c45
chore: 0.2.0 release proposal (#479) 2019-11-04 12:07:59 -08:00
Bartlomiej Obecny b21ed9706a feat(plugin-document-load): new plugin for document load for web tracer (#433)
* feat(plugin-document-load): new plugin for document load for web tracer

* chore: lint

* chore: removing unused dependency

* chore: adding prepare script

* chore: cleanup of not used span processor

* chore: merging exporter-console into tracing

* chore: fixing timeOrigin when browser is using older version of performance (safari for example)

* chore: removing @private

* chore: cleaning the docs

* chore: using stubs on public instead of private

* chore: added explanation when span can be undefined

* chore: adding unit test for case when passed "performanceNow" is equal to 0

* chore: adding unit test for case when passed "performanceNow" is null or undefined

* chore: fixing unit test with null

* chore: bump version

* chore: after changing enum keys to capitals I had to use values to align them with performance metric in type "PerformanceEntries"

* chore: adding comments for interfaces

* feat: adding possibility of setting start time for event

* chore: refactoring document load to use events instead of new spans

* chore: reformatting

* chore: updating loop

* chore: changing type for time

* chore: refactoring loop, updating jsdoc

* chore: splitting events into 2 spans

* chore: adding possibility of calling addEvent with 2nd param as time

* chore: updating the last event to be "load end"

* chore: updating the name for attributes

* chore: fixing test

* chore: cleanups

* chore: adding isTimeInput function with unit tests

* chore: adding component name

* chore: adding license and readme

* chore: updating lint and docs jobs to use node12 image in circleci
2019-10-23 10:32:22 -07:00
Mayur Kale aab87a2e81
chore: post release update examples, README (#436)
* chore: post release update examples, README

* fix: update remaining files
2019-10-18 15:04:45 -07:00
Daniel Khan a411313cb3
Refactor: Consistent package naming and structure (#413)
* fix(http-plugin): move node-sdk to dev deps

* refactor: rename opentelemetry-sdk-base

* refactor: rename opentelemetry-tracer-basic

* refactor: rename opentelemetry-node-sdk

* docs: update readme

* docs: update readme

* refactor: rename opentelemetry-tracer-web

* fix: styling

* fix: doc consistency

* fix: sliiped in typo

* fix: postgres and doc
2019-10-08 22:01:47 +02:00
Bartlomiej Obecny 82b5fad03f Tracer web (#334)
* feat(tracer-web): adding tracer web

* feat(basic-tracer): adding karma tests

* feat(tracer-web): adding some example for easier debugging in browser - for development purposes

* fix: lint

* fix: creating base for karma

* fix: fixing problem with target for browser, cleanup tests

* refactor: moving polyfills for node karma tests to one file

* fix: adding missing package

* refactor: removing unneeded file

* refactor: prefixing privates, cleanup

* fix: duplicate package

* refactor: aligning tslint with other tslint packages

* refactor: cleanups, adding comments for class

* fix: linting

* fix: type

* refactor: generation of id for scope

* refactor: removed previous uid for scope as originally it was meant to be used with async which is not the case anymore

* chore: adding test for restoring scope

* fix: lint

* refactor: simplifying the stack scope manager

* chore: updating readme with basic example

* chore: fixes after merge

* fix: updating test to accept greater or equal - fails on browser

* refactor: moving example for web tracer

* refactor: removing WebTracerConfig to use BasicTracerConfig which changed recently

* chore: updating types

* chore: spacing

* chore: removing mocha tests for tracer-web

* chore: updating types and linting

* chore: updating packages after merge

* chore: adding nyc report for karma tests for browser

* chore: updating lerna script to run coverage for browsers

* feat(tracer-web): bump version to 0.1.0
2019-10-07 11:08:55 -07:00