Skip to content

Commit

Permalink
7610-MicroProfile 7.0 ID-011
Browse files Browse the repository at this point in the history
7610-MicroProfile 7.0 ID-011

#7610
  • Loading branch information
ramkumar-k-9286 committed Nov 27, 2024
1 parent 9525687 commit 236f879
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 236f879

Please sign in to comment.