public class InfluxDbWriterFactory extends Object implements OutputWriterFactory
| Constructor and Description |
|---|
InfluxDbWriterFactory(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
String url,
String username,
String password,
String database,
com.google.common.collect.ImmutableMap<String,String> tags,
String writeConsistency,
String retentionPolicy,
List<String> resultTags,
Boolean createDatabase) |
| Modifier and Type | Method and Description |
|---|---|
ResultTransformerOutputWriter<InfluxDbWriter> |
create() |
public InfluxDbWriterFactory(com.google.common.collect.ImmutableList<String> typeNames, boolean booleanAsNumber, String url, String username, String password, String database, com.google.common.collect.ImmutableMap<String,String> tags, String writeConsistency, String retentionPolicy, List<String> resultTags, Boolean createDatabase)
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) onpublic ResultTransformerOutputWriter<InfluxDbWriter> create()
create in interface OutputWriterFactoryCopyright © 2010-2017 JmxTrans team. All Rights Reserved.