Skip to content

dgnorton/graphstk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

graphstk

Generate graphviz from golang stack trace

example usage

graphstk > stack.png <<EOF
/home/dgnorton/go/src/github.com/influxdb/influxdb/datastore/shard_datastore.go:189 (0x7c4f90)
(*ShardDatastore).GetOrCreateShard: hopwatch.Printf("err=%s", err.Error()).Break()
/home/dgnorton/go/src/github.com/influxdb/influxdb/cluster/shard.go:154 (0x7187ca)
(*ShardData).SetLocalStore: _, err := self.store.GetOrCreateShard(self.id)
/home/dgnorton/go/src/github.com/influxdb/influxdb/cluster/cluster_configuration.go:1073 (0x71294b)
(*ClusterConfiguration).AddShards: err := shard.SetLocalStore(self.shardStore, self.LocalServer.Id)
/home/dgnorton/go/src/github.com/influxdb/influxdb/coordinator/command.go:359 (0x5a8145)
(*CreateShardsCommand).Apply: createdShards, err := config.AddShards(c.Shards)
EOF

About

Generate graphviz from golang stack trace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages