Skip to content

[Code Update - Chapter 09] Code update for MP Telemetry 2.1#72

Open
ttelang wants to merge 6 commits intomicroprofile:mainfrom
ttelang:code-update-mp-telemetry-2.1
Open

[Code Update - Chapter 09] Code update for MP Telemetry 2.1#72
ttelang wants to merge 6 commits intomicroprofile:mainfrom
ttelang:code-update-mp-telemetry-2.1

Conversation

@ttelang
Copy link
Copy Markdown
Contributor

@ttelang ttelang commented Apr 24, 2026

Below are the list of changes:

pom.xml

  • Updating dependencies for Fault Tolerance 4.1 (MicroProfile 7.1)
  • Migrating to Java 21

README.adoc

  • Update README.adoc as per the MP Telemetry 2.1 implementation
  • Removing content already covered in previous chapters.

server.xml

  • updating dependencies

PaymentResource.java

  • updating PaymentResource implementation with checkGatewayHealth() and asynchronous sendNotification() method.

micrprofile-config.properties

  • Update MicroProfile Telemetry Configuration

index.html

  • Update version numbers

@ttelang ttelang marked this pull request as ready for review April 24, 2026 17:34
@ttelang ttelang changed the title [Code Update - Chapter 09 - MP Telemetry 4.1] Code update for MP Telemetry 2.1 [Code Update - Chapter 09] Code update for MP Telemetry 2.1 Apr 24, 2026

[source,bash]
----
curl -s http://localhost:9080/metrics | grep -E "http_server_request_duration|ft_|jvm_" | head -n 40
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not correct as the metrics would not be posted to that endpoint. Please see my comments on the MP Telemetry chapter to use lgtm tool to view metrics, traces and logs. You should update the instructions here accordingly.

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.

2 participants