Remove old references

This commit is contained in:
Peter Bourgon
2015-05-14 15:19:27 +01:00
committed by Tom Wilkie
parent ea862f761c
commit 64f17e682d
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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()

View File

@@ -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.",

View File

@@ -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)
}