Skip to content

Commit a772a73

Browse files
fix: add file path to filelog/agent-config receiver (#156)
### Description Add file path to filelog/agent-config receiver. Our provided content extracts this field as a separate column, so we should set this attribute in all provided receivers.
1 parent 3ddd945 commit a772a73

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

packaging/docker/observe-agent/connections/self_monitoring/logs_and_metrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
receivers:
22
filelog/agent-config: # TODO: Add observe-agent.yaml once we can obfuscate sensitive config fields
33
include: [/etc/observe-agent/otel-collector.yaml]
4+
include_file_path: true
45
start_at: beginning
56
poll_interval: 5m
67
multiline:

packaging/linux/etc/observe-agent/connections/self_monitoring/logs_and_metrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
receivers:
22
filelog/agent-config: # TODO: Add observe-agent.yaml once we can obfuscate sensitive config fields
33
include: [/etc/observe-agent/otel-collector.yaml]
4+
include_file_path: true
45
start_at: beginning
56
poll_interval: 5m
67
multiline:

packaging/macos/connections/self_monitoring/logs_and_metrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
receivers:
22
filelog/agent-config: # TODO: Add observe-agent.yaml once we can obfuscate sensitive config fields
33
include: [/usr/local/observe-agent/config/otel-collector.yaml]
4+
include_file_path: true
45
start_at: beginning
56
poll_interval: 5m
67
multiline:

packaging/windows/connections/self_monitoring/logs_and_metrics.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
receivers:
22
filelog/agent-config: # TODO: Add observe-agent.yaml once we can obfuscate sensitive config fields
33
include: ['C:\Program Files\Observe\observe-agent\config\otel-collector.yaml']
4+
include_file_path: true
45
start_at: beginning
56
poll_interval: 5m
67
multiline:

0 commit comments

Comments
 (0)