Skip to content

Improved support for CGroups to fix CPU usage values - #180

Merged
CodeDrivenMitch merged 1 commit into
axon-4from
fix/cpu-metrics-container-aware
Sep 22, 2026
Merged

CodeDrivenMitch merged 1 commit into
axon-4from
fix/cpu-metrics-container-aware

Improved support for CGroups to fix CPU usage values

a06aea0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Sep 22, 2026 in 55s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 165 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoJ&open=AaDI_AD8xjMmMIoeewoJ&pullRequest=180

Check warning on line 196 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoN&open=AaDI_AD8xjMmMIoeewoN&pullRequest=180

Check warning on line 187 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoM&open=AaDI_AD8xjMmMIoeewoM&pullRequest=180

Check warning on line 51 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/HandlerMetricsRegistry.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AFSxjMmMIoeewoT&open=AaDI_AFSxjMmMIoeewoT&pullRequest=180

Check warning on line 50 in console-framework-client/src/main/java/io/axoniq/console/framework/api/AxoniqConsoleMeasuringHandlerInterceptor.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless non-null assertion !!, it always succeeds.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AGDxjMmMIoeewoV&open=AaDI_AGDxjMmMIoeewoV&pullRequest=180

Check warning on line 181 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoK&open=AaDI_AD8xjMmMIoeewoK&pullRequest=180

Check warning on line 199 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoO&open=AaDI_AD8xjMmMIoeewoO&pullRequest=180

Check warning on line 53 in console-framework-client/src/main/java/io/axoniq/console/framework/application/DomainEventStreamProvider.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unchecked cast.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_ABKxjMmMIoeewoF&open=AaDI_ABKxjMmMIoeewoF&pullRequest=180

Check warning on line 207 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoP&open=AaDI_AD8xjMmMIoeewoP&pullRequest=180

Check warning on line 210 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoQ&open=AaDI_AD8xjMmMIoeewoQ&pullRequest=180

Check warning on line 50 in console-framework-client/src/main/java/io/axoniq/console/framework/api/AxoniqConsoleMeasuringHandlerInterceptor.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless non-null assertion !!, it always succeeds.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AGDxjMmMIoeewoU&open=AaDI_AGDxjMmMIoeewoU&pullRequest=180

Check warning on line 64 in console-framework-client/src/main/java/io/axoniq/console/framework/application/DomainEventStreamProvider.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unchecked cast.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_ABKxjMmMIoeewoG&open=AaDI_ABKxjMmMIoeewoG&pullRequest=180

Check warning on line 37 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleWrappedEventStore.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace with interface delegation using "by" in the class header.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AEGxjMmMIoeewoR&open=AaDI_AEGxjMmMIoeewoR&pullRequest=180

Check warning on line 47 in console-framework-client/src/main/java/io/axoniq/console/framework/application/ApplicationMetricReporter.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AB0xjMmMIoeewoH&open=AaDI_AB0xjMmMIoeewoH&pullRequest=180

Check warning on line 184 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleSpanFactory.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AD8xjMmMIoeewoL&open=AaDI_AD8xjMmMIoeewoL&pullRequest=180

Check warning on line 63 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/AxoniqConsoleWrappedEventScheduler.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace with interface delegation using "by" in the class header.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_ADzxjMmMIoeewoI&open=AaDI_ADzxjMmMIoeewoI&pullRequest=180

Check warning on line 66 in console-framework-client/src/main/java/io/axoniq/console/framework/messaging/extensions.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless non-null assertion !!, it always succeeds.

See more on https://sonarcloud.io/project/issues?id=AxonIQ_console-framework-client&issues=AaDI_AEgxjMmMIoeewoS&open=AaDI_AEgxjMmMIoeewoS&pullRequest=180