om node pushstats¶
Push performance metrics to collector. By default pushed stats interval begins yesterday at the beginning of the allowed interval and ends now. This interval can be changed using --begin/--end parameters. The location where stats files are looked up can be changed using --stats-dir.
--begin=<string>¶
A begin date expressed asYYYY-MM-DD hh:mm
limiting the timerange the action applies to.
--color=<string>¶
Colorize output. Possible values are:
- auto: guess based on tty presence
- always|yes: always colorize
- never|no: never colorize
--cron¶
If set, the action is actually executed impersonating the scheduler thread.
--debug¶
Increase stream log verbosity up to the debug level.
--end=<string>¶
A end date expressed asYYYY-MM-DD hh:mm
limiting the timerange the action applies to.
--filter=<string>¶
A JSONPath expression to filter a JSON output.
--format=<string>¶
Specify a data formatter. Possible values are json, flat_json, csv or table. csv and table formatters are available only for commands returning tabular data.
--local¶
Set to disable cluster-wide operations.
--node=<string>¶
A node selector expression. Embedded in requests for the daemon to route and multiplex the request to a list of nodes. If not specified the local node is targeted.
--server=<string>¶
The server uri to send a request to. If not specified the local node is targeted. Supported schemes are https and raw. The default scheme is https. The default port is 1214 for the raw scheme, and 1215 for https. The uri can be a fullpath to a listener socket. In this case, the scheme is deduced from the socket. Examples: raw://1.2.3.4:1214, https://relay.opensvc.com, /var/lib/opensvc/lsnr/h2.sock.
--stats-dir=<string>¶
Points the directory where the metrics files are stored for pushstats.
-h, --help¶
Show this help message and exit