mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 03:49:52 +00:00
Remove old references
This commit is contained in:
committed by
Tom Wilkie
parent
ea862f761c
commit
64f17e682d
@@ -35,7 +35,7 @@ func main() {
|
||||
break // by default
|
||||
|
||||
case "syslog":
|
||||
w, err := syslog.New(syslog.LOG_INFO, "cello-app")
|
||||
w, err := syslog.New(syslog.LOG_INFO, "scope-app")
|
||||
if err != nil {
|
||||
log.Print(err)
|
||||
return
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import "os"
|
||||
|
||||
func hostname() string {
|
||||
if hostname := os.Getenv("CELLO_HOSTNAME"); hostname != "" {
|
||||
if hostname := os.Getenv("SCOPE_HOSTNAME"); hostname != "" {
|
||||
return hostname
|
||||
}
|
||||
hostname, err := os.Hostname()
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
var (
|
||||
publishTicks = prometheus.NewCounterVec(
|
||||
prometheus.CounterOpts{
|
||||
Namespace: "cello",
|
||||
Namespace: "scope",
|
||||
Subsystem: "probe",
|
||||
Name: "publish_ticks",
|
||||
Help: "Number of publish ticks observed.",
|
||||
@@ -19,7 +19,7 @@ var (
|
||||
)
|
||||
spyDuration = prometheus.NewSummaryVec(
|
||||
prometheus.SummaryOpts{
|
||||
Namespace: "cello",
|
||||
Namespace: "scope",
|
||||
Subsystem: "probe",
|
||||
Name: "spy_time_nanoseconds",
|
||||
Help: "Total time spent spying on active connections.",
|
||||
|
||||
@@ -35,7 +35,7 @@ func TestCgroupMapper(t *testing.T) {
|
||||
}
|
||||
|
||||
func setupTmpFS(t *testing.T, fs map[string]string) string {
|
||||
tmp, err := ioutil.TempDir(os.TempDir(), "cello-probe-test-cgroup-mapper")
|
||||
tmp, err := ioutil.TempDir(os.TempDir(), "scope-probe-test-cgroup-mapper")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user