• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

knowledgepixels / nanopub-query / 39614872205

21 Oct 2026 02:12PM UTC coverage: 77.62% (-0.007%) from 77.627%
39614872205

push

github

web-flow
Merge pull request #234 from knowledgepixels/chore/vertx-5

chore(core-deps): update Vert.x to 5.2.1 and Micrometer to 1.17.1

936 of 1352 branches covered (69.23%)

Branch coverage included in aggregate %.

2678 of 3304 relevant lines covered (81.05%)

12.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
src/main/java/com/knowledgepixels/query/ApplicationLauncher.java
1
package com.knowledgepixels.query;
2

3
import io.vertx.core.VertxOptions;
4
import io.vertx.launcher.application.HookContext;
5
import io.vertx.launcher.application.VertxApplication;
6
import io.vertx.launcher.application.VertxApplicationHooks;
7
import io.vertx.micrometer.Label;
8
import io.vertx.micrometer.MicrometerMetricsOptions;
9
import io.vertx.micrometer.VertxPrometheusOptions;
10

11
/**
12
 * This is the launcher class referenced in the pom.xml as a starting point.
13
 */
14
public class ApplicationLauncher extends VertxApplication implements VertxApplicationHooks {
15

16
    /**
17
     * Creates the launcher for the given command-line arguments.
18
     *
19
     * @param args Initialization parameters
20
     */
21
    public ApplicationLauncher(String[] args) {
22
        super(args);
9 ✔
23
    }
3 ✔
24

25
    /**
26
     * Initializes the application launcher.
27
     *
28
     * @param args Initialization parameters
29
     */
30
    public static void main(String[] args) {
31
        new ApplicationLauncher(args).launch();
×
32
    }
×
33

34
    /**
35
     * {@inheritDoc}
36
     */
37
    @Override
38
    public void beforeStartingVertx(HookContext context) {
39
        VertxOptions options = context.vertxOptions();
9 ✔
40
        options.setMetricsOptions(
30 ✔
41
                new MicrometerMetricsOptions()
42
                        .setPrometheusOptions(new VertxPrometheusOptions().setEnabled(true))
9 ✔
43
                        .setJvmMetricsEnabled(true)
21 ✔
44
                        .addLabels(Label.HTTP_ROUTE)
6 ✔
45
                        .setEnabled(true)
3 ✔
46
        );
47
    }
3 ✔
48
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc