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

knowledgepixels / nanopub-registry / 28113618611

24 Jun 2026 04:28PM UTC coverage: 31.926% (-0.2%) from 32.089%
28113618611

Pull #116

github

web-flow
Merge d931f8afc into eebd16ba4
Pull Request #116: Enhance and standardize logging across multiple components

313 of 1106 branches covered (28.3%)

Branch coverage included in aggregate %.

1048 of 3157 relevant lines covered (33.2%)

5.51 hits per line

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

75.0
src/main/java/com/knowledgepixels/registry/ApplicationLauncher.java
1
package com.knowledgepixels.registry;
2

3
import io.vertx.core.Launcher;
4
import io.vertx.core.VertxOptions;
5
import io.vertx.micrometer.MicrometerMetricsOptions;
6
import io.vertx.micrometer.VertxPrometheusOptions;
7
import org.slf4j.Logger;
8
import org.slf4j.LoggerFactory;
9

10
import java.util.Arrays;
11

12
public class ApplicationLauncher extends Launcher {
9✔
13

14
    private static final Logger logger = LoggerFactory.getLogger(ApplicationLauncher.class);
12✔
15

16
    public static void main(String[] args) {
17
        logger.info("Starting application with args={}", Arrays.toString(args));
×
18
        new ApplicationLauncher().dispatch(args);
×
19
    }
×
20

21
    @Override
22
    public void beforeStartingVertx(VertxOptions options) {
23
        logger.info("Configuring Vert.x metrics: Micrometer + Prometheus enabled, JVM metrics enabled");
9✔
24
        options.setMetricsOptions(
30✔
25
                // Enable Micrometer metrics
26
                new MicrometerMetricsOptions()
27
                        .setPrometheusOptions(new VertxPrometheusOptions().setEnabled(true))
9✔
28
                        .setJvmMetricsEnabled(true)
6✔
29
                        .setEnabled(true)
3✔
30
        );
31
        logger.debug("VertxOptions after metrics configuration: {}", options);
12✔
32
    }
3✔
33

34
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc