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

feat!: add metrics hook #448

Merged
merged 1 commit into from
Jul 12, 2023
Merged

feat!: add metrics hook #448

merged 1 commit into from
Jul 12, 2023

Conversation

toddbaert
Copy link
Member

@toddbaert toddbaert commented Jul 7, 2023

  • add metrics hook
  • rename open-telemetry hook to tracing hook

We should also merge this first, to provide a deprecation warning for the old package/hook.

Fixes: #447

@toddbaert toddbaert requested a review from a team as a code owner July 7, 2023 20:15
@toddbaert toddbaert marked this pull request as draft July 7, 2023 20:15
Copy link
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good after the linting issues are resolved and the readme has been updated.

libs/hooks/open-telemetry/README.md Show resolved Hide resolved
libs/hooks/open-telemetry/jest.config.ts Outdated Show resolved Hide resolved
libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.ts Outdated Show resolved Hide resolved
libs/hooks/open-telemetry/package.json Show resolved Hide resolved
@Kavindu-Dodan
Copy link
Contributor

The implementation looks good. Waiting for other dependencies to be resolved

@toddbaert toddbaert force-pushed the feat/metrics branch 2 times, most recently from 85f4ba0 to bd6596d Compare July 12, 2023 17:05
@toddbaert toddbaert marked this pull request as ready for review July 12, 2023 17:11
Copy link
Contributor

@Kavindu-Dodan Kavindu-Dodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* add metrics hook
* rename open-telemetry hook to traces hook

Signed-off-by: Todd Baert <[email protected]>
@toddbaert toddbaert merged commit 131db1e into main Jul 12, 2023
@toddbaert toddbaert deleted the feat/metrics branch July 14, 2023 18:05
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.

Add OTel metrics hook
3 participants