On 21/07/2022 11:31, ritesh patel wrote:
Hello Team,

I have prometheus running ad a docker container on docker. I want to use prometheus as aagent mode. So can someone guide me where I need to put this flag —enable-feature=agent .
On prometheus.yml or something else.

On kubernet i did same things on pass this flag on deployment but on docker where?

You need to adjust the command line to add that.

How you do it depends on how you are managing your Docker containers. For example using Terraform, Docker Compose, etc. all have different methods for setting the command line for a container.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/26de563a-bb0d-b3ad-363d-c4a3b0dfa9db%40Jahingo.com.

Reply via email to