Help about setting the GOGC environment variable on promstack helm chart
81 views
Skip to first unread message
David B G.
unread,
Nov 21, 2023, 5:53:51 PM11/21/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
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:
but it seems that the value is not supported, Where I can put that environment variable on prometheus configuration ?
Thank you !
David B G.
unread,
Nov 21, 2023, 5:55:36 PM11/21/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prometheus Users
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
Bjoern Rabenstein
unread,
Dec 13, 2023, 7:20:37 AM12/13/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to David B G., Prometheus Users
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.