actions-runner-controller icon indicating copy to clipboard operation
actions-runner-controller copied to clipboard

Add the way to configure bucket size for actions-metric-server

Open kirillbilchenko opened this issue 1 year ago • 4 comments

Add the way to configure bucket size for actions-metric-server histogram metrics To set the different bucket need to set the env variable in the values file under actionsMetricsServer.env PROMETHEUS_RUN_BUCKET_INTERVALS: 1,5,10,300 etc. PROMETHEUS_QUEUE_BUCKET_INTERVALS: 0.5,1,3,5,10,30 etc

resolve https://github.com/actions/actions-runner-controller/issues/2739

kirillbilchenko avatar Sep 16 '23 06:09 kirillbilchenko

If you haven't seen this one already it might be worth looking into as well:

  • https://github.com/actions/actions-runner-controller/issues/2873

MPV avatar Sep 21 '23 14:09 MPV

If you haven't seen this one already it might be worth looking into as well:

@MPV Hey thanks for pointing but in my case metrics relabelling not solving the issue, to relabel prometheus first need to scrape it, in my case the payload produced by metric server with default amount of bucket is 30+ megabyte, so prometheus simply fail to do it. By controlling this on application level I can reduce the amount of produced data and better control the buckets, for example for scheduling I'm not sure if we need to have 3000+ second bucket or even 1800 and 600, because this is already a bad indication that something going wrong with queue.

kirillbilchenko avatar Sep 22 '23 04:09 kirillbilchenko

@Link- @mumoshu do we need this or we can drop it?

kirillbilchenko avatar Dec 07 '23 12:12 kirillbilchenko

As this relates to the community modes, I'll leave it to @mumoshu to take action on this

Link- avatar Dec 07 '23 15:12 Link-