talaria / silverstripe
Silverstripe adapter for Talaria — Monolog, Injector, browser SDK inject, and optional request/DB/queue tracing
Package info
github.com/newtalaria/talaria-silverstripe
Type:silverstripe-vendormodule
pkg:composer/talaria/silverstripe
Requires
- php: ^8.1
- monolog/monolog: ^1.25 || ^3.0
- silverstripe/framework: ^4.13 || ^5 || ^6
- silverstripe/vendor-plugin: ^1.0 || ^2.0
- talaria/talaria: ^2.1.0
Requires (Dev)
- phpunit/phpunit: ^11.0
Suggests
- symbiote/silverstripe-queuedjobs: Producer/consumer spans via TracingQueuedJobService
Provides
None
Conflicts
None
Replaces
None
README
Silverstripe 4.13+ / 5 / 6 adapter for Talaria.
Docs: Silverstripe guide · Project configuration
Install
PHP 8.1+ and Silverstripe 4.13, 5, or 6.
composer require talaria/silverstripe
The DSN defaults to https://ingest.newtalaria.com. Set the API key, then flush:
TALARIA_API_KEY="tal_live_…" # Optional. CMS and public pages use this project. PHP keeps TALARIA_API_KEY. # TALARIA_BROWSER_API_KEY="tal_live_…"
The API key decides the environment.
vendor/bin/sake dev/build flush=1
Optional YAML for log level, service name, and browser inject is in the Silverstripe guide. Tracing and analytics follow Project settings.
SiteHost
vendor/bin/talaria-sitehost install reads talaria/sitehost/monitors.json and reconciles one crontab block, the supervisord probe, and an OpenTelemetry Collector that tails container logs to /otlp/v1/logs. A second run reuses the stored ping tokens and the collector binary. Cron jobs still ping with curl. The SiteHost deploy action runs this command.
License
MIT