@@ -20,7 +20,7 @@ type Agent struct {
20
20
// AgentCMD []string
21
21
AgentSpyName string `desc:"name of the spy you want to use"` // TODO: add options
22
22
AgentPID int `def:"-1" desc:"pid of the process you want to spy on"`
23
- ServerAddress string `def:"http://localhost:8080 " desc:"address of the pyroscope server"`
23
+ ServerAddress string `def:"http://localhost:4040 " desc:"address of the pyroscope server"`
24
24
UpstreamThreads int `def:"4"`
25
25
UpstreamRequestTimeout time.Duration `def:"10s"`
26
26
UNIXSocketPath string `def:"/var/run/pyroscope-agent.sock" desc:"path to a UNIX socket file"`
@@ -33,7 +33,7 @@ type Server struct {
33
33
BadgerLogLevel string `def:"error", desc:"debug|info|warn|error"`
34
34
35
35
StoragePath string `def:"/var/lib/pyroscope"`
36
- ApiBindAddr string `def:":8080 "`
36
+ ApiBindAddr string `def:":4040 "`
37
37
38
38
CacheDimensionSize int `def:"1000"`
39
39
CacheDictionarySize int `def:"1000"`
@@ -61,7 +61,7 @@ type Exec struct {
61
61
SpyName string `def:"auto"`
62
62
ApplicationName string `def:"" desc:"application name used when uploading profiling data"`
63
63
DetectSubprocesses bool `def:"true"`
64
- ServerAddress string `def:"http://localhost:8080 " desc:"address of the pyroscope server"`
64
+ ServerAddress string `def:"http://localhost:4040 " desc:"address of the pyroscope server"`
65
65
UpstreamThreads int `def:"4" desc:"number of upload threads"`
66
66
UpstreamRequestTimeout time.Duration `def:"10s"`
67
67
NoLogging bool `def:"false" desc:"disables logging from pyroscope"`
@@ -85,7 +85,7 @@ func NewForTests(path string) *Config {
85
85
cfg := & Config {
86
86
Server : Server {
87
87
StoragePath : path ,
88
- ApiBindAddr : ":8080 " ,
88
+ ApiBindAddr : ":4040 " ,
89
89
90
90
CacheSegmentSize : 10 ,
91
91
CacheTreeSize : 10 ,
0 commit comments