Skip to content

Commit 4880997

Browse files
authored
bug: fix type of the counter metric sent to Datadog (#35)
1 parent 8b2a23e commit 4880997

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

report_github_metrics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def submit_metrics(metrics, datadog_client, metric_prefix)
4242
metric = metric_prefix + metric
4343
puts "#{metric}, #{value}, #{tags}"
4444
datadog_client.emit_point(metric, value, :tags => tags, :type => 'gauge')
45-
datadog_client.emit_point(metric + ".count", 1, :tags => tags, :type => 'counter')
45+
datadog_client.emit_point(metric + ".count", 1, :tags => tags, :type => 'count')
4646
end
4747
end
4848
end

0 commit comments

Comments
 (0)