add tags and validations

This commit is contained in:
Andre Medeiros 2021-10-12 12:04:20 -04:00
parent 553dc53eed
commit eb0d6230d7

View file

@ -35,7 +35,8 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
logger := cmdutil.NewLogrusLogger(false)
statsd, err := cmdutil.NewStatsdClient()
tag := fmt.Sprintf("worker:%s", queueID)
statsd, err := cmdutil.NewStatsdClient(tag)
if err != nil {
return err
}