Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# Modify Dymetrics

# usage

Usage: oredge dymetrics modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --name string                      name.
    --interval integer                 interval, 60(default).
    --sql string                       sql.
    --note string                      note.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. modify dymetrics.
# oredge dymetrics modify 1-1 --note test --interval 60 --sql 'select host, uri, count(*), avg(req_size), max(req_size) from reqs group by host, uri limit 10'
OK