Download the PHP package renoki-co/octane-exporter without Composer
On this page you can find all versions of the php package renoki-co/octane-exporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download renoki-co/octane-exporter
More information about renoki-co/octane-exporter
Files in renoki-co/octane-exporter
Package octane-exporter
Short Description Export Laravel Octane metrics using this Prometheus exporter.
License Apache-2.0
Homepage https://github.com/renoki-co/octane-exporter
Informations about the package octane-exporter
Laravel Octane Prometheus Exporter
Export Laravel Octane metrics using this Prometheus exporter.
🤝 Supporting
If you are using one or more Renoki Co. open-source packages in your production apps, in presentation demos, hobby projects, school projects or so, sponsor our work with Github Sponsors. 📦
🚀 Installation
You can install the package via composer:
In case you haven't published your Octane settings, do so:
Next up, add the following Octane tables in your config/octane.php
. These tables will be used to keep track of stats for the events:
The final step is to add the following listeners after the already existent ones in config/octane.php
:
🙌 Usage
This package is pretty straightforward. Upon installing it, it will register the route at /exporter/group/octane-metrics
and you can point Prometheus towards it for scraping.
Please keep in mind that the metrics are calculated by-process. Point your Prometheus scraper to all instances that run the Octane start command.
🐛 Testing
🤝 Contributing
Please see CONTRIBUTING for details.
🔒 Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
🎉 Credits
- Alex Renoki
- All Contributors
All versions of octane-exporter with dependencies
laravel/octane Version ^1.2.5
renoki-co/laravel-exporter-contracts Version ^1.4|^2.1.1