Skip to content

Commit b7965be

Browse files
committed
Fix monitoring config types
1 parent e4032c1 commit b7965be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/pkg/agent/application/monitoring/component/v1_monitor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (b *BeatsMonitor) injectLogsInput(
531531
"type": "filestream",
532532
useOutputKey: monitoringOutput,
533533
"streams": streams,
534-
"_runtime_experimental": monitoringRuntime,
534+
"_runtime_experimental": string(monitoringRuntime),
535535
}
536536

537537
inputs := []any{input}
@@ -594,7 +594,7 @@ func (b *BeatsMonitor) injectMetricsInput(
594594
"namespace": monitoringNamespace,
595595
},
596596
"streams": beatsStreams,
597-
"_runtime_experimental": monitoringRuntime,
597+
"_runtime_experimental": string(monitoringRuntime),
598598
},
599599
map[string]interface{}{
600600
idKey: fmt.Sprintf("%s-agent", monitoringMetricsUnitID),
@@ -605,7 +605,7 @@ func (b *BeatsMonitor) injectMetricsInput(
605605
"namespace": monitoringNamespace,
606606
},
607607
"streams": httpStreams,
608-
"_runtime_experimental": monitoringRuntime,
608+
"_runtime_experimental": string(monitoringRuntime),
609609
},
610610
}
611611

0 commit comments

Comments
 (0)