Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20041

Log a warning if more than one metrics system is enabled

XMLWordPrintable

      WildFly currently supports multiple metrics systems: WildFly Metrics, Micrometer, and OpenTelemetry/MicroProfile Telemetry. While it is technically possible to have all of these systems enabled simultaneously, it is not advisable as there will certainly be a performance impact of some sort. Furthermore, for the systems that export data to an OpenTelemetry Collector, there will be data that is either duplicated or just different enough to cloud the data, rendering it less than useful.

      Currently, the system administrator is advised to avoid these scenarios through call outs in the Administration Guide, but it would be helpful if the system were to detect when it is in such a scenario and log a WARNING in the server logs for those cases, e.g., where the advice in the guide was missed, or subsystems were enabled unwittingly.

              jaslee@redhat.com Jason Lee
              jaslee@redhat.com Jason Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: