2018-01-25 19:21:55 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2018-01-26 00:08:26 +00:00
|
|
|
"github.com/vulcanize/vulcanizedb/cmd"
|
2018-09-04 20:10:15 +00:00
|
|
|
|
|
|
|
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
|
|
|
|
"github.com/spf13/viper"
|
2018-01-25 19:21:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2018-09-04 20:10:15 +00:00
|
|
|
tracer.Start(tracer.WithServiceName(viper.GetString("datadog.name")))
|
|
|
|
|
2018-01-25 19:21:55 +00:00
|
|
|
cmd.Execute()
|
2018-09-04 20:10:15 +00:00
|
|
|
|
|
|
|
defer tracer.Stop()
|
2018-01-25 19:21:55 +00:00
|
|
|
}
|