su.nlq.prometheus.jmx.connection.local.LocalConnectionConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmx-prometheus-collector Show documentation
Show all versions of jmx-prometheus-collector Show documentation
Pipe for JMX MBeans to Prometheus
package su.nlq.prometheus.jmx.connection.local;
import org.jetbrains.annotations.NotNull;
import su.nlq.prometheus.jmx.connection.Connection;
import su.nlq.prometheus.jmx.connection.ConnectionConfiguration;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "local-connection")
public final class LocalConnectionConfiguration extends ConnectionConfiguration {
@Override
public @NotNull Connection get() {
return new LocalConnection(name());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy