spatie/laravel-prometheus

[Bug]: Can not override `RenderCollectorsAction` in config

Closed this issue · 1 comments

What happened?

As we have actions.render_collectors config, I would expect that changing this would change how the output behaves. However, this config is not used anywhere and RenderCollectorsAction is called straight from the container.

How to reproduce the bug

Change actions.render_collectors config value and run the /prometheus endpoint. You will see that it has no impact.

Package Version

1.0.4

PHP Version

8.2.14

Laravel Version

10.18.0

Which operating systems does with happen with?

No response

Notes

No response

Thanks for reporting. This has been fixed in the latest version.