-
-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugins): move influxdb CLI options to the plugin defintion (#3005)
- Loading branch information
1 parent
5ad6c25
commit 2c0ba79
Showing
4 changed files
with
93 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
module.exports = { | ||
protocol: { | ||
describe: 'The protocol used to store connect to the InfluxDB host.', | ||
default: 'http', | ||
group: 'InfluxDB' | ||
}, | ||
host: { | ||
describe: 'The InfluxDB host used to store captured metrics.', | ||
group: 'InfluxDB' | ||
}, | ||
port: { | ||
default: 8086, | ||
describe: 'The InfluxDB port used to store captured metrics.', | ||
group: 'InfluxDB' | ||
}, | ||
username: { | ||
describe: 'The InfluxDB username for your InfluxDB instance.', | ||
group: 'InfluxDB' | ||
}, | ||
password: { | ||
describe: 'The InfluxDB password for your InfluxDB instance.', | ||
group: 'InfluxDB' | ||
}, | ||
database: { | ||
default: 'sitespeed', | ||
describe: 'The database name used to store captured metrics.', | ||
group: 'InfluxDB' | ||
}, | ||
tags: { | ||
default: 'category=default', | ||
describe: 'A comma separated list of tags and values added to each metric', | ||
group: 'InfluxDB' | ||
}, | ||
includeQueryParams: { | ||
default: false, | ||
describe: | ||
'Whether to include query parameters from the URL in the InfluxDB keys or not', | ||
type: 'boolean', | ||
group: 'InfluxDB' | ||
}, | ||
groupSeparator: { | ||
default: '_', | ||
describe: | ||
'Choose which character that will seperate a group/domain. Default is underscore, set it to a dot if you wanna keep the original domain name.', | ||
group: 'InfluxDB' | ||
}, | ||
annotationScreenshot: { | ||
default: false, | ||
type: 'boolean', | ||
describe: | ||
'Include screenshot (from Browsertime) in the annotation. You need to specify a --resultBaseURL for this to work.', | ||
group: 'InfluxDB' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters