public class InfluxDbWriterFactory extends Object implements OutputWriterFactory
| Constructor and Description |
|---|
InfluxDbWriterFactory(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
Boolean debugEnabled,
String url,
String username,
String password,
String database,
String writeConsistency,
String retentionPolicy,
List<String> resultTags) |
public InfluxDbWriterFactory(com.google.common.collect.ImmutableList<String> typeNames, boolean booleanAsNumber, Boolean debugEnabled, String url, String username, String password, String database, String writeConsistency, String retentionPolicy, List<String> resultTags)
typeNames - booleanAsNumber - debugEnabled - url - - The url e.g http://localhost:8086 to InfluxDBusername - - The username for InfluxDBpassword - - The password for InfluxDBdatabase - - The name of the database (created if does not exist) on
InfluxDB to write the measurements topublic ResultTransformerOutputWriter<InfluxDbWriter> create()
create in interface OutputWriterFactoryCopyright © 2010-2015 JmxTrans team. All Rights Reserved.