Skip to content

optimise prometheus scraping workflow - #13650

Open
DaanHoogland wants to merge 4 commits into
4.20from
ghi13586-prometheusDrainage-20
Open

optimise prometheus scraping workflow#13650
DaanHoogland wants to merge 4 commits into
4.20from
ghi13586-prometheusDrainage-20

more tests

98f0570
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 4, 2026 in 7m 39s

Annotations

Check warning on line 252 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hr&open=AZ_Mf2V1UG1NZvDOk5hr&pullRequest=13650

Check warning on line 246 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hl&open=AZ_Mf2V1UG1NZvDOk5hl&pullRequest=13650

Check warning on line 272 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hy&open=AZ_Mf2V1UG1NZvDOk5hy&pullRequest=13650

Check warning on line 273 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hz&open=AZ_Mf2V1UG1NZvDOk5hz&pullRequest=13650

Check warning on line 251 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hq&open=AZ_Mf2V1UG1NZvDOk5hq&pullRequest=13650

Check warning on line 274 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h0&open=AZ_Mf2V1UG1NZvDOk5h0&pullRequest=13650

Check warning on line 247 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hm&open=AZ_Mf2V1UG1NZvDOk5hm&pullRequest=13650

Check warning on line 259 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hv&open=AZ_Mf2V1UG1NZvDOk5hv&pullRequest=13650

Check warning on line 301 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h5&open=AZ_Mf2V1UG1NZvDOk5h5&pullRequest=13650

Check warning on line 230 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hd&open=AZ_Mf2V1UG1NZvDOk5hd&pullRequest=13650

Check warning on line 250 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hp&open=AZ_Mf2V1UG1NZvDOk5hp&pullRequest=13650

Check warning on line 257 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5ht&open=AZ_Mf2V1UG1NZvDOk5ht&pullRequest=13650

Check warning on line 266 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hx&open=AZ_Mf2V1UG1NZvDOk5hx&pullRequest=13650

Check warning on line 299 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h4&open=AZ_Mf2V1UG1NZvDOk5h4&pullRequest=13650

Check warning on line 240 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hj&open=AZ_Mf2V1UG1NZvDOk5hj&pullRequest=13650

Check warning on line 239 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hh&open=AZ_Mf2V1UG1NZvDOk5hh&pullRequest=13650

Check warning on line 302 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h7&open=AZ_Mf2V1UG1NZvDOk5h7&pullRequest=13650

Check warning on line 283 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h1&open=AZ_Mf2V1UG1NZvDOk5h1&pullRequest=13650

Check warning on line 231 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hf&open=AZ_Mf2V1UG1NZvDOk5hf&pullRequest=13650

Check warning on line 248 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hn&open=AZ_Mf2V1UG1NZvDOk5hn&pullRequest=13650

Check warning on line 284 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this mock creation to a local variable.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hZ&open=AZ_Mf2V1UG1NZvDOk5hZ&pullRequest=13650

Check warning on line 302 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this mock creation to a local variable.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5ha&open=AZ_Mf2V1UG1NZvDOk5ha&pullRequest=13650

Check warning on line 240 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "never".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hk&open=AZ_Mf2V1UG1NZvDOk5hk&pullRequest=13650

Check warning on line 253 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "doThrow".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5hs&open=AZ_Mf2V1UG1NZvDOk5hs&pullRequest=13650

Check warning on line 284 in server/src/test/java/com/cloud/alert/AlertManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ_Mf2V1UG1NZvDOk5h3&open=AZ_Mf2V1UG1NZvDOk5h3&pullRequest=13650