Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caller.function and caller.module labels #136

Merged
merged 7 commits into from
Oct 25, 2023

Conversation

keturiosakys
Copy link
Member

This PR updates the library so it correctly reports the caller_function and caller_module information as per spec.

@keturiosakys keturiosakys requested a review from arendjr October 25, 2023 12:24
packages/autometrics/src/wrappers.ts Outdated Show resolved Hide resolved
keturiosakys and others added 2 commits October 25, 2023 15:08
Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>
@keturiosakys keturiosakys merged commit 993d183 into support-web-builds Oct 25, 2023
1 check passed
@keturiosakys keturiosakys deleted the caller-function-module branch October 25, 2023 14:54
arendjr added a commit that referenced this pull request Nov 7, 2023
* Use the same Node version everywhere

* Add platform.web.ts and put getALSInstance() into platform.*.ts

* Add callerInfo tests

* Fix tracking caller

* Add caller.function and caller.module labels (#136)

* Update caller info to include function and module separately

* Update tests

* Fix import order linter issue

* Update biome.json

* Update packages/autometrics/src/wrappers.ts

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Update otlp exporter snapshot test

* fix example tests

---------

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Make sure platform.web.js gets built

* Add react-app-experimental and let 'just clean' also clean node_modules

* Rewrite NPM packages using Rollup

* Everything builds :party:

* Don't depend on node-fetch-native in web build

* Fix tests

* Add instructions on how to use import maps

* Fix react-app-experimental

* Lint fix

---------

Co-authored-by: Laurynas Keturakis <laurynas.keturakis@gmail.com>
arendjr added a commit that referenced this pull request Nov 7, 2023
* Use the same Node version everywhere

* Add platform.web.ts and put getALSInstance() into platform.*.ts

* Add callerInfo tests

* Fix tracking caller

* Add caller.function and caller.module labels (#136)

* Update caller info to include function and module separately

* Update tests

* Fix import order linter issue

* Update biome.json

* Update packages/autometrics/src/wrappers.ts

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Update otlp exporter snapshot test

* fix example tests

---------

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Make sure platform.web.js gets built

* Add react-app-experimental and let 'just clean' also clean node_modules

* Rewrite NPM packages using Rollup

* Everything builds :party:

* Don't depend on node-fetch-native in web build

* Fix tests

* Add instructions on how to use import maps

* Fix react-app-experimental

* Lint fix

* Submit repository fields with build_info

* Export build_info label constants

* Initialize buildInfo directly instead of waiting for createDefaultBuildInfo()

* Organize imports

* Fix imports

* Resolve warning about node:fs

---------

Co-authored-by: Laurynas Keturakis <laurynas.keturakis@gmail.com>
arendjr added a commit that referenced this pull request Nov 13, 2023
* Use the same Node version everywhere

* Add platform.web.ts and put getALSInstance() into platform.*.ts

* Add callerInfo tests

* Fix tracking caller

* Add caller.function and caller.module labels (#136)

* Update caller info to include function and module separately

* Update tests

* Fix import order linter issue

* Update biome.json

* Update packages/autometrics/src/wrappers.ts

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Update otlp exporter snapshot test

* fix example tests

---------

Co-authored-by: Arend van Beelen jr. <arendjr@gmail.com>

* Make sure platform.web.js gets built

* Add react-app-experimental and let 'just clean' also clean node_modules

* Rewrite NPM packages using Rollup

* Everything builds :party:

* Don't depend on node-fetch-native in web build

* Fix tests

* Add instructions on how to use import maps

* Fix react-app-experimental

* Lint fix

* Submit repository fields with build_info

* Export build_info label constants

* Initialize buildInfo directly instead of waiting for createDefaultBuildInfo()

* Organize imports

* Fix imports

* Resolve warning about node:fs

* Allow skipping methods with decorators

* Rename test file

* Add tests for modern decorators

* Don't use ranges in package files

* Use the same version in the express example

---------

Co-authored-by: Laurynas Keturakis <laurynas.keturakis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants