diff --git a/app/main.go b/app/main.go index 2c9d34c64..6ada28a8f 100644 --- a/app/main.go +++ b/app/main.go @@ -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 diff --git a/probe/hostname.go b/probe/hostname.go index 709cbf669..1bf88e2f7 100644 --- a/probe/hostname.go +++ b/probe/hostname.go @@ -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() diff --git a/probe/instrumentation.go b/probe/instrumentation.go index ef410aeb4..56e65545d 100644 --- a/probe/instrumentation.go +++ b/probe/instrumentation.go @@ -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.", diff --git a/probe/process_mapper_test.go b/probe/process_mapper_test.go index 4ba08ab65..ba71752e1 100644 --- a/probe/process_mapper_test.go +++ b/probe/process_mapper_test.go @@ -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) }