Skip to content

Commit

Permalink
add bad percent
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmeng(蒙卓) authored and johann8384 committed Dec 5, 2016
1 parent efaed66 commit 8f18689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/check_tsd
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def main(argv):
parser.add_option('-N', '--now', type='int', default=None,
metavar='UTC',
help='Set unix timestamp for "now", for testing')
parser.add_option('-B', '--bad_percent', dest='bad_percent', default=None,
metavar='PERCENT', type='float', help='Ignore alarm if PERCENT of the data'
' points is bad')
parser.add_option('-S', '--ssl', default=False, action='store_true',
help='Make queries to OpenTSDB via SSL (https)')
(options, args) = parser.parse_args(args=argv[1:])
Expand Down

0 comments on commit 8f18689

Please sign in to comment.