Skip to content

Commit

Permalink
apps: hostmetrics use mute_process_exe_error (#1748)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpeshansky authored Jul 4, 2024
1 parent 3544a7b commit 96c4733
Show file tree
Hide file tree
Showing 694 changed files with 694 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/hostmetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func (r MetricsReceiverHostmetrics) Pipelines(ctx context.Context) ([]otel.Recei
p := platform.FromContext(ctx)
processConfig := map[string]interface{}{
"mute_process_name_error": true,
"mute_process_exe_error": true,
}
if p.Type == platform.Windows {
processConfig["metrics"] = map[string]interface{}{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
otlp/otlp:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
nvml/hostmetrics_1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ receivers:
network: {}
paging: {}
process:
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ receivers:
metrics:
process.handles:
enabled: true
mute_process_exe_error: true
mute_process_name_error: true
processes: {}
prometheus/fluentbit:
Expand Down
Loading

0 comments on commit 96c4733

Please sign in to comment.