liip / LiipMonitorBundle

Integrates the LiipMonitor library into Symfony
http://liip.ch
467 stars 103 forks source link

Using %env% to resolve dsn value. #303

Open oleg-andreyev opened 7 months ago

oleg-andreyev commented 7 months ago

When trying to use env-variable within LiipMonitorBundle getting following error:

A dynamic value is not compatible with a "Symfony\Component\Config\Definition\ArrayNode" node type at path "liip_monitor.checks.groups.default.rabbit_mq.dsn".

It would be great if bundle could support %env% variables

kbond commented 7 months ago

Hey @oleg-andreyev, this is the intended behaviour of symfony/config. You can see some context here and some discussion on changing/workarounds.