Skip to content

docs: document Jakarta Mail instrumentation#7256

Merged
shakuzen merged 1 commit intomicrometer-metrics:1.16.xfrom
DDINGJOO:docs/jakarta-mail-instrumentation
Mar 9, 2026
Merged

docs: document Jakarta Mail instrumentation#7256
shakuzen merged 1 commit intomicrometer-metrics:1.16.xfrom
DDINGJOO:docs/jakarta-mail-instrumentation

Conversation

@DDINGJOO
Copy link
Copy Markdown
Contributor

@DDINGJOO DDINGJOO commented Mar 6, 2026

Summary

  • add a new reference page for Jakarta Mail instrumentation
  • register the page in docs navigation
  • add Jakarta Mail to the Observation instrumented projects table

Verification

  • ./gradlew :docs:antora

Closes #6485

Copy link
Copy Markdown
Member

@shakuzen shakuzen left a comment

Choose a reason for hiding this comment

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

Thank you. Looks good to me. I'll rebase onto 1.16.x and follow-up with a minor polishing.

** xref:reference/jms.adoc[JMS]
** xref:reference/jvm.adoc[JVM]
** xref:reference/kafka.adoc[Kafka]
** xref:reference/mail.adoc[Jakarta Mail]
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.

Items should be sorted alphabetically at the same level. I'll update this.

message.setText("Mail from Micrometer instrumentation");

// this operation will create a "mail.send" observation
transport.sendMessage(message, message.getAllRecipients());
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.

I understand we wouldn't be able to run this code in a test, but I wonder if it may still be worth making it into a snippet so that it at least gets checked by the compiler. We can consider that as a follow-up to this PR.

Signed-off-by: ddingjoo <ddingsha9@teambind.co.kr>
@shakuzen shakuzen force-pushed the docs/jakarta-mail-instrumentation branch from 99f8585 to 442f921 Compare March 9, 2026 04:14
@shakuzen shakuzen changed the base branch from main to 1.16.x March 9, 2026 04:14
@shakuzen shakuzen merged commit 2bd0e54 into micrometer-metrics:1.16.x Mar 9, 2026
7 checks passed
@DDINGJOO
Copy link
Copy Markdown
Contributor Author

DDINGJOO commented Mar 9, 2026

Thanks for the review! Appreciate it.

etrandafir93 pushed a commit to etrandafir93/micrometer that referenced this pull request Mar 21, 2026
* add a new reference page for Jakarta Mail instrumentation
* register the page in docs navigation
* add Jakarta Mail to the Observation instrumented projects table

Closes micrometer-metricsgh-6485

Signed-off-by: ddingjoo <ddingsha9@teambind.co.kr>
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.

Document Jakarta Mail instrumentation

2 participants