| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import json | 5 import json |
| 6 import logging | 6 import logging |
| 7 import os | 7 import os |
| 8 import socket | 8 import socket |
| 9 import sys | 9 import sys |
| 10 import urlparse | 10 import urlparse |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 ' is invalid or not supported: %s', endpoint) | 243 ' is invalid or not supported: %s', endpoint) |
| 244 | 244 |
| 245 interface.state.flush_mode = args.ts_mon_flush | 245 interface.state.flush_mode = args.ts_mon_flush |
| 246 | 246 |
| 247 if args.ts_mon_flush == 'auto': | 247 if args.ts_mon_flush == 'auto': |
| 248 interface.state.flush_thread = interface._FlushThread( | 248 interface.state.flush_thread = interface._FlushThread( |
| 249 args.ts_mon_flush_interval_secs) | 249 args.ts_mon_flush_interval_secs) |
| 250 interface.state.flush_thread.start() | 250 interface.state.flush_thread.start() |
| 251 | 251 |
| 252 standard_metrics.init() | 252 standard_metrics.init() |
| OLD | NEW |