Skip to content

Commit

Permalink
Message
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jan 25, 2024
1 parent 068426a commit 74869e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mtr/mtr.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func New(namespace string, tags []string, samplingRate float64) (Client, error)
func InjectDatadogIntoCtx(ctx context.Context, namespace string, tags []string, samplingRate float64) context.Context {
metricsClient, err := New(namespace, tags, samplingRate)
if err != nil {
logger.Fatal("Failed to create metrics client", slog.Any("err", err))
logger.Fatal("Failed to create datadog client", slog.Any("err", err))
}
return context.WithValue(ctx, constants.MtrKey, metricsClient)
}
Expand Down

0 comments on commit 74869e0

Please sign in to comment.