I'm not a Helm expert, but it looks like you are adding a command line
argument. GOGC has to be set as an environment variable. So you have
to find out how to do that with Helm.

On 21.11.23 14:55, David B G. wrote:
> 
> The error I got was:
> 
> Error parsing command line arguments: unknown long flag '--set GOGC'
> prometheus: error: unknown long flag '--set GOGC'
> on the prometheus log pod
> El martes, 21 de noviembre de 2023 a las 16:53:51 UTC-6, David B G. 
> escribió:
> 
> > Greetings !,
> >
> > Hi everyone hope you are doing great, Today I am trying to improve my 
> > prometheus performance by playing with the GOGC environment variable , 
> > Right now I am using the promstack helm values.yaml definition and I was 
> > trying the set the value here:
> >
> >   prometheusSpec:
> >     additionalArgs: 
> >     - name: "set GOGC"
> >       value: "60"
> >
> > but it seems that the value is not supported, Where I can put that 
> > environment variable on prometheus  configuration ?
> >
> > Thank you !
> >
> 
> -- 
> 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/e921947b-7c8d-401f-95b3-0f35971eedcdn%40googlegroups.com.


-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] bjo...@rabenste.in

-- 
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/ZXmhjKQ2jOC1xqLl%40mail.rabenste.in.

Reply via email to