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 || ^3.0
- talaria/talaria: ^3.0.2
Requires (Dev)
- phpunit/phpunit: ^9.6 || ^10.5 || ^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:^3.0
Set a secret key, then flush. Leave TALARIA_URL empty to use https://ingest-<cell>.newtalaria.com from that key:
TALARIA_API_KEY="tal_sk_prod_nz1_…" # Publishable key for the injected browser SDK (config key browser_api_key). # TALARIA_BROWSER_API_KEY="tal_pk_prod_nz1_…"
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 and the supervisord probe. Registration uses a tal_sk_ key on POST /v1/monitors/{slug}/check-ins. Cron lines check in with the stored tal_mon_ token: Authorization: Bearer to POST /v1/check-ins. A second run reuses those tokens. The SiteHost deploy action runs this command, and that action also installs the log collector.
License
MIT