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

[paymentservice] add basic metrics support #583

Merged

Conversation

pichlermarc
Copy link
Member

@pichlermarc pichlermarc commented Nov 15, 2022

Related to #68

Changes

This PR adds a counter app.payment.transactions that can be split by the transaction currency, adds dependencies to the JS Metrics packages, and changes the startup process so that the async resource detection can finish before creating a Meter or Tracer.

Once updated instrumentation packages are released, I will open a follow-up PR that updates the metrics API/SDK to the GA versions. Then the added temporality environment variable will also change the temporality of the exported metrics accordingly. 🙂

image

@pichlermarc pichlermarc marked this pull request as ready for review November 15, 2022 14:27
@pichlermarc pichlermarc requested a review from a team November 15, 2022 14:27
Copy link
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

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

Nice one!
image

@cartersocha
Copy link
Contributor

@pichlermarc would you mind updating our metric feature matrix too? Lgtm otherwise. Thanks for this!

https://github.com/open-telemetry/opentelemetry-demo/blob/main/docs/metric_service_features.md

@cartersocha
Copy link
Contributor

Oh and we'll need to update the payment service doc in the docs/services folder

@pichlermarc
Copy link
Member Author

@cartersocha changed some text to the payment service docs to reflect the new setup, added some text for metrics, and changed the entry in the matrix 🙂

@cartersocha
Copy link
Contributor

Thanks again @pichlermarc! Merging now

@cartersocha cartersocha merged commit d25a8fb into open-telemetry:main Nov 16, 2022
@pichlermarc pichlermarc deleted the feat/instrument-paymentservice branch November 17, 2022 09:34
jmichalak9 pushed a commit to jmichalak9/opentelemetry-demo that referenced this pull request Mar 22, 2024
* [paymentservice] add basic metrics support

* add changelog

add changelog

* update docs

* fix typos.

* fix linting errors

* clarify 'wrapper' approach

Co-authored-by: Carter Socha <[email protected]>
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.

6 participants