logmatic

Component ID

2660988

Component name

logmatic

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module is for you if you use Logmatic.io

PHP metrics

It allows you to send logs/metrics to logmatic.io with the HTTP input API (using CURL PHP library).

In a single request, it send logs by batch, to limit the call to logmatic. Most of the time, if you don't have a huge number of metrics, only one call will be done.
The logmatic class is fully inspired by the segment.io PHP library.

RUM metrics (Real User Monitoring)

If enabled, load the libraries given in the settings, and include an inline script in the head section of your pages :
You have to load these libraries either separately or aggregated all together.

- tracekit (optional)
- logmatic-js
- boomrang.js with 2 plugins: rt, restiming

It collects the Javascript errors (and try to grab stacktraces, but to be improved!), and the performance metrics of your page : load timing, etc.
It's perfectible, but it's a good start point to collect RUM metrics.

More information in README.txt