All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.micrometer.runtime.config.NettyConfigGroup Maven / Gradle / Ivy

Go to download

Instrument the runtime and your application with dimensional metrics using Micrometer.

There is a newer version: 3.15.0
Show newest version
package io.quarkus.micrometer.runtime.config;

import java.util.Optional;

import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;

/**
 * Build / static runtime config for Netty Binders
 */
@ConfigGroup
public class NettyConfigGroup implements MicrometerConfig.CapabilityEnabled {
    /**
     * Netty metrics support.
     * 

* Support for Netty metrics will be enabled if Micrometer support is enabled, * the Netty allocator classes are on the classpath * and either this value is true, or this value is unset and * {@code quarkus.micrometer.binder-enabled-default} is true. */ @ConfigItem public Optional enabled; @Override public Optional getEnabled() { return enabled; } @Override public String toString() { return this.getClass().getSimpleName() + "{enabled=" + enabled + '}'; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy