Skip to content

Commit 9b132dc

Browse files
committed
WIP
1 parent dd889a4 commit 9b132dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/fluent/plugin/in_opentelemetry_metrics.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ def scope_metrics
8585
monitor.plugins_info_all.map do |record|
8686
attrs = {
8787
plugin_id: record["plugin_id"],
88-
plugin: "#{record['plugin_category']}_#{record['type']}"
88+
plugin: "#{record['plugin_category']}_#{record['type']}",
89+
plugin_category: record["plugin_category"],
90+
plugin_type: record["type"]
8991
}
9092
metrics_value(time, record, attrs, metrics)
9193
end

0 commit comments

Comments
 (0)