Skip to content

Commit dd889a4

Browse files
committed
WIP
1 parent 1c5bcb1 commit dd889a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fluent/plugin/in_opentelemetry_metrics.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def metrics_value(time, record, attrs, metrics = [])
114114
record.each do |key, value|
115115
if value.is_a?(Numeric)
116116
metrics << {
117-
"name" => key.to_s,
117+
"name" => "fluentd_" + key.to_s,
118118
"unit" => "1",
119119
# TODO: "description"
120120
"gauge" => {

0 commit comments

Comments
 (0)