Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P16232
Command-Line Input
Active
Public
Actions
Authored by
CDanis
on May 27 2021, 3:00 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F34472183: Command-Line Input
May 27 2021, 3:00 PM
2021-05-27 15:00:53 (UTC+0)
Subscribers
None
✔️ cdanis@cdanis-wmftop ~/work/gits/smue 🕙☕ python -m smue -c ../fire-exporter/config.yaml -h
usage: smue [-h] -c CONFIG [-v] [-V] COMMAND ...
positional arguments:
COMMAND
list_metrics Display metadata about all metrics
upload_metrics Upload new datapoints to each metric
erase_metric_data Erase historical data for a given metric
new_incident Open a new service outage
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Path to your config file (default: None)
-v, --verbose Verbosity (-v, -vv, etc). Higher verbosities will log all HTTP traffic (warning: at higher levels,
this will log your auth secrets!) (default: 0)
-V, --version show program's version number and exit
✔️ cdanis@cdanis-wmftop ~/work/gits/smue 🕙☕ python -m smue -c ../fire-exporter/config.yaml list_metrics
Metric 'Successful edits' (id trkbds94n87s) with most recent data at Thu, 27 May 2021 14:59:00 +0000 (@1622127540.0)
Metric 'Error responses' (id h5mvbny28713) with most recent data at Thu, 27 May 2021 13:14:00 +0000 (@1622121240.0)
Metric 'Wiki response time' (id lyfcttm2lhw4) with most recent data at Thu, 27 May 2021 13:14:00 +0000 (@1622121240.0)
Metric 'Total request volume' (id wtbz5cdhk8rl) with most recent data at Thu, 27 May 2021 13:14:00 +0000 (@1622121240.0)
Event Timeline
CDanis
created this paste.
May 27 2021, 3:00 PM
2021-05-27 15:00:53 (UTC+0)
Log In to Comment