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.StringCONFIG_PROPERTY_DB_NAMEDeprecated.static java.lang.StringCONFIG_PROPERTY_DB_PASSWORDDeprecated.static java.lang.StringCONFIG_PROPERTY_DB_PORTDeprecated.static java.lang.StringCONFIG_PROPERTY_DB_URLDeprecated.static java.lang.StringCONFIG_PROPERTY_DB_USERNAMEDeprecated. -
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 voidconnectToInfluxDB()Deprecated.Connect to InfluxDB.voidonStarting()Deprecated.This event fires when Kieker has been initialized and is ready to monitor.voidonTerminating()Deprecated.This event fires when Kieker has been notified to terminate.voidwriteMonitoringRecord(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:AbstractMonitoringWriterThis event fires when Kieker has received a new record.- Specified by:
writeMonitoringRecordin classAbstractMonitoringWriter
-
onStarting
public void onStarting()Deprecated.Description copied from class:AbstractMonitoringWriterThis event fires when Kieker has been initialized and is ready to monitor. It is executed by theMonitoringWriterThreadjust before reading the writer queue.- Specified by:
onStartingin classAbstractMonitoringWriter
-
onTerminating
public void onTerminating()Deprecated.Description copied from class:AbstractMonitoringWriterThis event fires when Kieker has been notified to terminate. It is executed by theMonitoringWriterThreadjust after finishing the writer queue.- Specified by:
onTerminatingin classAbstractMonitoringWriter
-