Skip to content

Add Micrometer metrics integration to OJP JDBC driver and Spring Boot…

060ca01
Select commit
Loading
Failed to load commit list.
Draft

Add Micrometer metrics integration to OJP JDBC driver and Spring Boot starter #394

Add Micrometer metrics integration to OJP JDBC driver and Spring Boot…
060ca01
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 19, 2026 in 25s

Annotations

Check failure on line 30 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4X&open=AZ0FP3srIZdwLXPKpM4X&pullRequest=394

Check failure on line 26 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4W&open=AZ0FP3srIZdwLXPKpM4W&pullRequest=394

Check warning on line 9 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A Singleton implementation was detected. Make sure the use of the Singleton pattern is required and the implementation is the right one for the context.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4Z&open=AZ0FP3srIZdwLXPKpM4Z&pullRequest=394

Check failure on line 25 in ojp-jdbc-driver/src/test/java/org/openjproxy/grpc/client/OjpMetricsIteratorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3w4IZdwLXPKpM4b&open=AZ0FP3w4IZdwLXPKpM4b&pullRequest=394

Check failure on line 18 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4U&open=AZ0FP3srIZdwLXPKpM4U&pullRequest=394

Check failure on line 34 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4Y&open=AZ0FP3srIZdwLXPKpM4Y&pullRequest=394

Check warning on line 4 in spring-boot-starter-ojp/src/test/java/org/openjproxy/autoconfigure/OjpMicrometerAutoConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'io.micrometer.core.instrument.Gauge'.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3xTIZdwLXPKpM4e&open=AZ0FP3xTIZdwLXPKpM4e&pullRequest=394

Check failure on line 22 in ojp-jdbc-driver/src/main/java/org/openjproxy/jdbc/NoOpOjpDriverMetrics.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3srIZdwLXPKpM4V&open=AZ0FP3srIZdwLXPKpM4V&pullRequest=394

Check failure on line 24 in ojp-jdbc-driver/src/test/java/org/openjproxy/grpc/client/OjpMetricsIteratorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3w4IZdwLXPKpM4a&open=AZ0FP3w4IZdwLXPKpM4a&pullRequest=394

Check warning on line 9 in spring-boot-starter-ojp/src/test/java/org/openjproxy/autoconfigure/OjpMicrometerAutoConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.openjproxy.jdbc.OjpDriverMetrics'.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3xTIZdwLXPKpM4f&open=AZ0FP3xTIZdwLXPKpM4f&pullRequest=394

Check failure on line 26 in ojp-jdbc-driver/src/test/java/org/openjproxy/grpc/client/OjpMetricsIteratorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3w4IZdwLXPKpM4c&open=AZ0FP3w4IZdwLXPKpM4c&pullRequest=394

Check warning on line 3 in spring-boot-starter-ojp/src/test/java/org/openjproxy/autoconfigure/OjpMicrometerAutoConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'io.micrometer.core.instrument.Counter'.

See more on https://sonarcloud.io/project/issues?id=Open-J-Proxy_ojp&issues=AZ0FP3xTIZdwLXPKpM4d&open=AZ0FP3xTIZdwLXPKpM4d&pullRequest=394