Class InfluxDBWriter
java.lang.Object
kieker.monitoring.writer.AbstractMonitoringWriter
kieker.monitoring.writer.influxdb.InfluxDBWriter
@Deprecated public class InfluxDBWriter extends AbstractMonitoringWriter
Deprecated.
2.0.0
- Since:
- 1.13
- Author:
- Teerat Pitakrat
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIG_PROPERTY_DB_NAME
Deprecated.static java.lang.String
CONFIG_PROPERTY_DB_PASSWORD
Deprecated.static java.lang.String
CONFIG_PROPERTY_DB_PORT
Deprecated.static java.lang.String
CONFIG_PROPERTY_DB_URL
Deprecated.static java.lang.String
CONFIG_PROPERTY_DB_USERNAME
Deprecated. -
Constructor Summary
Constructors Constructor Description InfluxDBWriter(Configuration configuration)
Deprecated.Creates a new instance of this class using the given parameters. -
Method Summary
Modifier and Type Method Description protected void
connectToInfluxDB()
Deprecated.Connect to InfluxDB.void
onStarting()
Deprecated.This event fires when Kieker has been initialized and is ready to monitor.void
onTerminating()
Deprecated.This event fires when Kieker has been notified to terminate.void
writeMonitoringRecord(IMonitoringRecord monitoringRecord)
Deprecated.This event fires when Kieker has received a new record.
-
Field Details
-
CONFIG_PROPERTY_DB_URL
public static final java.lang.String CONFIG_PROPERTY_DB_URLDeprecated.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_DB_PORT
public static final java.lang.String CONFIG_PROPERTY_DB_PORTDeprecated.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_DB_USERNAME
public static final java.lang.String CONFIG_PROPERTY_DB_USERNAMEDeprecated.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_DB_PASSWORD
public static final java.lang.String CONFIG_PROPERTY_DB_PASSWORDDeprecated.- See Also:
- Constant Field Values
-
CONFIG_PROPERTY_DB_NAME
public static final java.lang.String CONFIG_PROPERTY_DB_NAMEDeprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
InfluxDBWriter
Deprecated.Creates a new instance of this class using the given parameters.- Parameters:
configuration
- The configuration for this component.
-
-
Method Details
-
connectToInfluxDB
protected final void connectToInfluxDB() throws java.io.IOExceptionDeprecated.Connect to InfluxDB.- Throws:
java.io.IOException
- If connection to InfluxDB fails.
-
writeMonitoringRecord
Deprecated.Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has received a new record.- Specified by:
writeMonitoringRecord
in classAbstractMonitoringWriter
-
onStarting
public void onStarting()Deprecated.Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThread
just before reading the writer queue.- Specified by:
onStarting
in classAbstractMonitoringWriter
-
onTerminating
public void onTerminating()Deprecated.Description copied from class:AbstractMonitoringWriter
This event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThread
just after finishing the writer queue.- Specified by:
onTerminating
in classAbstractMonitoringWriter
-