Influx fixes (#3777)

* Add missing influx options

* remove console.log
This commit is contained in:
Peter Hedenskog 2023-03-05 19:37:57 +01:00 committed by GitHub
parent 08c4291a65
commit 2d7ac71c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 3 deletions

View File

@ -1304,11 +1304,29 @@ export async function parseCommandLine() {
group: 'InfluxDB'
})
.option('influxdb.username', {
describe: 'The InfluxDB username for your InfluxDB instance.',
describe:
'The InfluxDB username for your InfluxDB instance (only for InfluxDB v1)',
group: 'InfluxDB'
})
.option('influxdb.password', {
describe: 'The InfluxDB password for your InfluxDB instance.',
describe:
'The InfluxDB password for your InfluxDB instance (only for InfluxDB v1).',
group: 'InfluxDB'
})
.option('influxdb.organisation', {
describe:
'The InfluxDB organisation for your InfluxDB instance (only for InfluxDB v2)',
group: 'InfluxDB'
})
.option('influxdb.token', {
describe:
'The InfluxDB token for your InfluxDB instance (only for InfluxDB v2)',
group: 'InfluxDB'
})
.option('influxdb.version', {
default: 1,
describe: 'The InfluxDB version of your InfluxDB instance.',
type: 'integer',
group: 'InfluxDB'
})
.option('influxdb.database', {

View File

@ -204,7 +204,6 @@ export class InfluxDBDataGenerator {
}
dataFromMessage(message, time, alias) {
console.log('GET DATA');
function getTagsFromMessage(
message,
includeQueryParameters,