Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3983c96

Browse files
authored
Merge pull request DataDog#14596 from DocX/patch-2
fix: ruby example of tags submission
2 parents 85c7bdc + 3465c27 commit 3983c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/metrics/custom_metrics/dogstatsd_metrics_submission.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ statsd = Datadog::Statsd.new('localhost', 8125, tags: ['environment:dev'])
8686

8787
while true do
8888
statsd.increment('example_metric.increment')
89-
statsd.increment('example_metric.increment', tags: ['another': 'tag'])
89+
statsd.increment('example_metric.increment', tags: ['another:tag'])
9090
statsd.decrement('example_metric.decrement')
9191
statsd.count('example_metric.count', 2)
9292
sleep 10

0 commit comments

Comments
 (0)