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

Side by Side Diff: perf/go/skiaperf/main.go

Issue 650223006: Point to the new server for monitoring. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « perf/go/ingest/main.go ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package main 1 package main
2 2
3 import ( 3 import (
4 "encoding/json" 4 "encoding/json"
5 "flag" 5 "flag"
6 "fmt" 6 "fmt"
7 ehtml "html" 7 ehtml "html"
8 "html/template" 8 "html/template"
9 "math/rand" 9 "math/rand"
10 "net" 10 "net"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 commitLinkifyRe = regexp.MustCompile("(?m)^commit (.*)$") 92 commitLinkifyRe = regexp.MustCompile("(?m)^commit (.*)$")
93 ) 93 )
94 94
95 // flags 95 // flags
96 var ( 96 var (
97 port = flag.String("port", ":8000", "HTTP service address (e.g ., ':8000')") 97 port = flag.String("port", ":8000", "HTTP service address (e.g ., ':8000')")
98 local = flag.Bool("local", false, "Running locally if true. As opposed to in production.") 98 local = flag.Bool("local", false, "Running locally if true. As opposed to in production.")
99 gitRepoDir = flag.String("git_repo_dir", "../../../skia", "Directory location for the Skia repo.") 99 gitRepoDir = flag.String("git_repo_dir", "../../../skia", "Directory location for the Skia repo.")
100 tileStoreDir = flag.String("tile_store_dir", "/tmp/tileStore", "What d irectory to look for tiles in.") 100 tileStoreDir = flag.String("tile_store_dir", "/tmp/tileStore", "What d irectory to look for tiles in.")
101 » graphiteServer = flag.String("graphite_server", "skia-monitoring-b:2003" , "Where is Graphite metrics ingestion server running.") 101 » graphiteServer = flag.String("graphite_server", "skia-monitoring:2003", "Where is Graphite metrics ingestion server running.")
102 apikey = flag.String("apikey", "", "The API Key used to make iss ue tracker requests. Only for local testing.") 102 apikey = flag.String("apikey", "", "The API Key used to make iss ue tracker requests. Only for local testing.")
103 ) 103 )
104 104
105 var ( 105 var (
106 nanoTileStore types.TileStore 106 nanoTileStore types.TileStore
107 ) 107 )
108 108
109 func Init() { 109 func Init() {
110 rand.Seed(time.Now().UnixNano()) 110 rand.Seed(time.Now().UnixNano())
111 111
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 http.HandleFunc("/compare/", autogzip.HandleFunc(compareHandler)) 1090 http.HandleFunc("/compare/", autogzip.HandleFunc(compareHandler))
1091 http.HandleFunc("/calc/", autogzip.HandleFunc(calcHandler)) 1091 http.HandleFunc("/calc/", autogzip.HandleFunc(calcHandler))
1092 http.HandleFunc("/help/", autogzip.HandleFunc(helpHandler)) 1092 http.HandleFunc("/help/", autogzip.HandleFunc(helpHandler))
1093 http.HandleFunc("/oauth2callback/", login.OAuth2CallbackHandler) 1093 http.HandleFunc("/oauth2callback/", login.OAuth2CallbackHandler)
1094 http.HandleFunc("/logout/", login.LogoutHandler) 1094 http.HandleFunc("/logout/", login.LogoutHandler)
1095 http.HandleFunc("/loginstatus/", login.StatusHandler) 1095 http.HandleFunc("/loginstatus/", login.StatusHandler)
1096 1096
1097 glog.Infoln("Ready to serve.") 1097 glog.Infoln("Ready to serve.")
1098 glog.Fatal(http.ListenAndServe(*port, nil)) 1098 glog.Fatal(http.ListenAndServe(*port, nil))
1099 } 1099 }
OLDNEW
« no previous file with comments | « perf/go/ingest/main.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698