Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 8 forks source link

Modifying Ray config variables #56

Closed aksld closed 4 months ago

aksld commented 9 months ago

I'm trying to use DecaLog on my development environment (docker container). Despite setting up the Ray logger, no events arrive on Ray.

Perhaps you should allow variables to be modified or use the ray.php ? Or a better solution? ;)

protected $defaultSettings = [
        'enable' => true,
        'host' => 'host.docker.internal',
        'port' => 23517,
        'remote_path' => null,
        'local_path' => null,
        'always_send_raw_values' => false,
    ];
Pierre-Lannoy commented 9 months ago

Hello Axel! Of course, you're right: for now Ray settings are fixed. I will refactor the logger, so that it can take into account not only generic settings. Thanks for the suggestion…

Pierre-Lannoy commented 6 months ago

Hello Axel! It will be available in 3.10.0 release (expected release in some days).