Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
2dfbe59d
Commit
2dfbe59d
authored
5 years ago
by
Patrick Godwin
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_feature_aggregator, gstlal_feature_monitor: add option to connect to influx with auth, https
parent
6b1474fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gstlal-burst/bin/gstlal_feature_aggregator
+4
-0
4 additions, 0 deletions
gstlal-burst/bin/gstlal_feature_aggregator
gstlal-burst/bin/gstlal_feature_monitor
+4
-0
4 additions, 0 deletions
gstlal-burst/bin/gstlal_feature_monitor
with
8 additions
and
0 deletions
gstlal-burst/bin/gstlal_feature_aggregator
+
4
−
0
View file @
2dfbe59d
...
...
@@ -64,6 +64,8 @@ def parse_command_line():
group
.
add_option
(
"
--influx-hostname
"
,
help
=
"
Specify the hostname for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--influx-port
"
,
help
=
"
Specify the port for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--influx-database-name
"
,
help
=
"
Specify the database name for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--enable-auth
"
,
default
=
False
,
action
=
"
store_true
"
,
help
=
"
If set, enables authentication for the influx aggregator.
"
)
group
.
add_option
(
"
--enable-https
"
,
default
=
False
,
action
=
"
store_true
"
,
help
=
"
If set, enables HTTPS connections for the influx aggregator.
"
)
group
.
add_option
(
"
--data-type
"
,
metavar
=
"
string
"
,
help
=
"
Specify datatypes to aggregate from
'
min
'
,
'
max
'
,
'
median
'
. Default: max
"
)
group
.
add_option
(
"
--num-processes
"
,
type
=
"
int
"
,
default
=
2
,
help
=
"
Number of processes to use concurrently, default 2.
"
)
parser
.
add_option_group
(
group
)
...
...
@@ -116,6 +118,8 @@ class StreamAggregator(object):
hostname
=
options
.
influx_hostname
,
port
=
options
.
influx_port
,
db
=
options
.
influx_database_name
,
auth
=
options
.
enable_auth
,
https
=
options
.
enable_https
,
reduce_across_tags
=
False
,
)
else
:
### hdf5 data backend
...
...
This diff is collapsed.
Click to expand it.
gstlal-burst/bin/gstlal_feature_monitor
+
4
−
0
View file @
2dfbe59d
...
...
@@ -65,6 +65,8 @@ def parse_command_line():
group
.
add_option
(
"
--influx-hostname
"
,
help
=
"
Specify the hostname for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--influx-port
"
,
help
=
"
Specify the port for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--influx-database-name
"
,
help
=
"
Specify the database name for the influxDB database. Required if --data-backend = influx.
"
)
group
.
add_option
(
"
--enable-auth
"
,
default
=
False
,
action
=
"
store_true
"
,
help
=
"
If set, enables authentication for the influx aggregator.
"
)
group
.
add_option
(
"
--enable-https
"
,
default
=
False
,
action
=
"
store_true
"
,
help
=
"
If set, enables HTTPS connections for the influx aggregator.
"
)
group
.
add_option
(
"
--data-type
"
,
metavar
=
"
string
"
,
help
=
"
Specify datatypes to aggregate from
'
min
'
,
'
max
'
,
'
median
'
. Default = max
"
)
group
.
add_option
(
"
--num-processes
"
,
type
=
"
int
"
,
default
=
2
,
help
=
"
Number of processes to use concurrently, default 2.
"
)
parser
.
add_option_group
(
group
)
...
...
@@ -121,6 +123,8 @@ class StreamMonitor(object):
hostname
=
options
.
influx_hostname
,
port
=
options
.
influx_port
,
db
=
options
.
influx_database_name
,
auth
=
options
.
enable_auth
,
https
=
options
.
enable_https
,
reduce_across_tags
=
False
,
)
else
:
### hdf5 data backend
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment