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

7610-MicroProfile 7.0 ID-011 #7757

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions modules/reference/pages/diff/mp-61-70-diff.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@ For more information on this configuration, see feature:mpOpenAPI-4.0[display=Mi
[#ft]
== Differences between Fault Tolerance 4.1 and 4.0

feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance 4.1], an update to version 4.0, introduces integration with MicroProfile Telemetry 2.0. This feature allows Fault Tolerance to export metrics directly to MicroProfile Telemetry. The existing integration with `mpMetrics` remains unchanged.
feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance 4.1], an update to version 4.0, introduces integration with feature:mpTelemetry-2.0[display=MicroProfile Telemetry 2.0]. This feature allows Fault Tolerance to export metrics directly to MicroProfile Telemetry. The existing integration with feature:mpMetrics-5.1[display=MicroProfile Metrics] remains unchanged.

For integration between feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance] and feature:mpTelemetry-2.0[display=MicroProfile Telemetry], you must enable both feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance 4.1] and feature:mpTelemetry-2.0[display=MicroProfile Telemetry 2.0] simultaneously. When both features are enabled, feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance] can automatically export metrics to feature:mpTelemetry-2.0[display=MicroProfile Telemetry].
For integration between MicroProfile Fault Tolerance and MicroProfile Telemetry, you must enable both MicroProfile Fault Tolerance 4.1 and MicroProfile Telemetry 2.0. When both features are enabled, MicroProfile Fault Tolerance can automatically export metrics to MicroProfile Telemetry.

[source,xml]
----
<feature>mpFaultTolerance-4.1</feature>
<feature>mpTelemetry-2.0</feature>
----

For more information on configuring feature:mpTelemetry-2.0[display=MicroProfile Telemetry] to export metrics, see xref:ROOT:microprofile-telemetry.adoc#global[Collecting and exporting logs, metrics, and traces with OpenTelemetry].
For more information on configuring MicroProfile Telemetry to export metrics, see xref:ROOT:microprofile-telemetry.adoc#global[Collecting and exporting logs, metrics, and traces with OpenTelemetry].

If feature:mpFaultTolerance-4.1[display=MicroProfile Fault Tolerance] is enabled alongside both feature:mpTelemetry-2.0[display=MicroProfile Telemetry] and feature:mpMetrics-5.1[display=MicroProfile Metrics], Fault Tolerance can export metrics to both MicroProfile Telemetry and MicroProfile Metrics.
If MicroProfile Fault Tolerance is enabled alongside both MicroProfile Telemetry and MicroProfile Metrics, Fault Tolerance can export metrics to both MicroProfile Telemetry and MicroProfile Metrics.

The following table provides a comparison of the metric types in MicroProfile Metrics and MicroProfile Telemetry. It highlights the differences in data representation and metric types across both specifications.

Expand Down