Re: [prometheus-users] Prometheus agent mode flag

2022-07-21 Thread ritesh patel
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 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAPxUNF8qhDCOWxCLLMHnN4Hyx_ExN-fADTEmsA1fhxSLMUpXmA%40mail.gmail.com.


Re: [prometheus-users] Prometheus agent mode flag

2022-07-21 Thread Stuart Clark

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.


[prometheus-users] Prometheus agent mode flag

2022-07-21 Thread ritesh patel
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?


Thanks and regards
Ritesh Patel

-- 
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/CAPxUNF-As_eLECOPPwq%3DXYt6xQueDZYZQ4N-a%3DCzeugn7MWRRw%40mail.gmail.com.