actions-runner-controller
actions-runner-controller copied to clipboard
Add the way to configure bucket size for actions-metric-server
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
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
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.
@Link- @mumoshu do we need this or we can drop it?
As this relates to the community modes, I'll leave it to @mumoshu to take action on this