mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-10 22:17:44 +00:00
add tags and validations
This commit is contained in:
parent
553dc53eed
commit
eb0d6230d7
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
||||||
|
|
||||||
logger := cmdutil.NewLogrusLogger(false)
|
logger := cmdutil.NewLogrusLogger(false)
|
||||||
|
|
||||||
statsd, err := cmdutil.NewStatsdClient()
|
tag := fmt.Sprintf("worker:%s", queueID)
|
||||||
|
statsd, err := cmdutil.NewStatsdClient(tag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue