Class InfluxDbUdpSender

java.lang.Object
io.dropwizard.metrics5.influxdb.InfluxDbUdpSender
All Implemented Interfaces:
InfluxDbSender, Closeable, AutoCloseable

public class InfluxDbUdpSender
extends Object
implements InfluxDbSender
  • Constructor Details

    • InfluxDbUdpSender

      public InfluxDbUdpSender​(String hostname, int port)
      Creates a new client which sends data to given address using UDP
      Parameters:
      hostname - The hostname of the InfluxDb server
      port - The port of the InfluxDb server
    • InfluxDbUdpSender

      public InfluxDbUdpSender​(InetSocketAddress address)
      Creates a new client which sends data to given address using UDP
      Parameters:
      address - the address of the InfluxDb server
  • Method Details