Yea, i fixed it. Using same flag on command.

Now I have one question. How to verify Prometheus working as a agent mode?

How we can verify prometheus work as a agent mode?

Thanks and Regards
Ritesh Patel

On Thu, 21 Jul 2022 at 5:49 PM, Stuart Clark <[email protected]>
wrote:

> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAPxUNF8qhDCOWxCLLMHnN4Hyx_ExN-fADTEmsA1fhxSLMUpXmA%40mail.gmail.com.

Reply via email to