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

Side by Side Diff: client/third_party/infra_libs/ts_mon/config.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 6 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 # that can be 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
11 import re 11 import re
12 12
13 import requests 13 import requests
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 ' is invalid or not supported: %s', endpoint) 233 ' is invalid or not supported: %s', endpoint)
234 234
235 interface.state.flush_mode = args.ts_mon_flush 235 interface.state.flush_mode = args.ts_mon_flush
236 236
237 if args.ts_mon_flush == 'auto': 237 if args.ts_mon_flush == 'auto':
238 interface.state.flush_thread = interface._FlushThread( 238 interface.state.flush_thread = interface._FlushThread(
239 args.ts_mon_flush_interval_secs) 239 args.ts_mon_flush_interval_secs)
240 interface.state.flush_thread.start() 240 interface.state.flush_thread.start()
241 241
242 standard_metrics.init() 242 standard_metrics.init()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698