You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
Each example task manifest refers to /intel/dummy in collector's config section. That results in following error (this one is for psutil) when trying to run these tasks:
Policy defined for metric, ([psutil load load1]) version (0), but no config defined in manifest
Policy defined for metric, ([psutil load load15]) version (0), but no config defined in manifest
Policy defined for metric, ([psutil load load5]) version (0), but no config defined in manifest
Policy defined for metric, ([psutil net all bytes_recv]) version (0), but no config defined in manifest
Policy defined for metric, ([psutil net all bytes_sent]) version (0), but no config defined in manifest
The text was updated successfully, but these errors were encountered:
Marking this as a bug. There is no Policy defined for these metrics per the plugin, so it should not matter what's in the config section of the example task, even though the example task shouldn't specify a config for a metric that is not being collected.
Looks like the issue is here. We recently fixed a bug where we were not validating a config against a policy defined by a plugin if no config was present (#380). However, looking at the code above, we do not set Policy to nil if the metric is not found in the ConfigPolicy for the plugin, we just create an empty ConfigPolicyNode and store it in the metric's policy. Checking if policy is nil will not work in this case.
Each example task manifest refers to
/intel/dummy
in collector's config section. That results in following error (this one is for psutil) when trying to run these tasks:The text was updated successfully, but these errors were encountered: