Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: packages/infra_libs/infra_libs/ts_mon/config.py

Issue 2179853002: Added packages/infra_libs as the first Python package. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Final rebase (no actual changes) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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()
OLDNEW
« no previous file with comments | « packages/infra_libs/infra_libs/ts_mon/config.proto ('k') | packages/infra_libs/infra_libs/ts_mon/protos/REAME.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698