I referred to an article on how to enable the Prometheus configuration feature because I wanted to register an etcd service with Prometheus, but it was not effective.
Eventually, I logged into the container and modified /etc/victoriametrics-promscrape.yml.
After restarting the container, the successful registration of the etcd service could be observed at the following URL
http://[pmm ip]/prometheus/targets.
However, at the beginning of this config file, I noticed a comment:
#Managed by pmm-managed. DO NOT EDIT.
I understand that this method might not be the standard way to do it.
If there is any other way to achieve this requirement?
Is this method of registering a service, as opposed to using the pmm-admin tool to push data, considered as the docker server actively pulling data?