Download the PHP package orinokko/state-monitor without Composer
On this page you can find all versions of the php package orinokko/state-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download orinokko/state-monitor
More information about orinokko/state-monitor
Files in orinokko/state-monitor
Package state-monitor
Short Description State Monitor
License GPL-3.0-or-later
Homepage https://github.com/orinokko/state-monitor
Informations about the package state-monitor
application part of state-monitor
Collects data about exceptions, manual events and some logs. Supports writing to BigQuery. For further data analysis, you can use Google Data Studio or your own application.
For example:
Installation
1. Require the Package
2. Add to .env
The service identifier of your application
Whether or not to use mailing for errors
Whether or not to use BigQuery
Settings for BigQuery, more details
Whether or not to log queries
Enable or disable kernel middleware (default "true"-enabled)
3. Run config test and installation
You must get one of or both lines
In the process, additional actions will be performed:
- If sending by email is activated, a test letter will be sent to the specified address (using application mail settings).
- If saving in BigQuery is activated, the existence of the “monitor” data set will be checked. And it will be created if there is no such data set yet. Also the existence of tables "errors", "events", "checks", "queries" will be checked. If they are not there they will be created.
Example output after installation:
4. Publish assets
Advices
If the site package is used in different applications
Ensure that real data is listed in APP_NAME and APP_URL. They are can be used to find the sender.
Usage
Exceptions monitoring
Exceptions automatically will be caught on web and api middleware groups. You can disable this middleware in .env file.
Also exist middleware for custom routes and other:
Checks monitoring
Called manually
Events monitoring
Called manually
Database monitoring
If STATE_MONITOR_LOG_QUERIES is enabled, it will automatically log all queries to the appropriate table.
Front
After publishing assets add to html
Calling
Contribution
All versions of state-monitor with dependencies
google/cloud-bigquery Version ^1.6
illuminate/support Version ~5.5.0|~5.6.0|~5.7.0|~5.8.0