How to add custom scrape target to prometheus.yml?

I want to scrape metrics from a (windows) node that exposes its metrics on port 9182 ( https://github.com/martinlindhe/wmi_exporter). Currently the only way to add nodes to PMM seems to be via pmm-admin which is not easily available on a Windows node (don’t want to run docker there). How would I add a new scrape target to prometheus.yml? The prometheus.yml reads “# Managed by pmm-managed. DO NOT EDIT.” … but pmm-managed does not seem to have an option to add scrape targets

I have same question.

There is now a feature request for this, you can follow that at https://jira.percona.com/browse/PMM-5122
Thanks to stefan-nl for creating that.