Skip to content

Commit

Permalink
Issue #94: Create WindowsProcess connector
Browse files Browse the repository at this point in the history
* Add comments to explain the connector variables configuration in
  WindowsProcess.yaml
  • Loading branch information
MedMaalej committed Aug 21, 2024
1 parent ed427ff commit 57ed1aa
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/main/connector/system/WindowsProcess/WindowsProcess.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,23 @@ monitors:
FROM
processQuery
WHERE
Name IN ${var::processName}
Name IN ${var::processNames}
# The value of the variable 'processNames'
# is set in MetricsHub configuration file 'metricshub.yaml'. Here is an example:
# resources:
# localhost:
# attributes:
# host.name: localhost:
# host.type: windows
# protocols:
# wmi:
# timeout: 120
# connectors: ["+WindowsProcess"]
# variables:
# WindowsProcess:
# processNames: ('msedge.exe', 'process2.exe')
mapping:
source: ${source::sqlQuery}
attributes:
Expand Down

0 comments on commit 57ed1aa

Please sign in to comment.