You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means the environment variable $DD_AGENT_HOST will be filled with the IP address that faktory should send the statsd metrics to. The problem is that to configure faktory to send statsd metrics you have to pass a toml file which it appears does not support environment variable expansion.
But unfortunately it appears the variable is not expanded because of these logs lines
opslevel-faktory-0 server I 2024-06-05T02:15:11.997Z Web server now listening at :7420
opslevel-faktory-0 server I 2024-06-05T02:15:11.997Z Sending statsd metrics to ${DD_AGENT_HOST}:8125 with namespace faktory
Is there a way to support this?
The text was updated successfully, but these errors were encountered:
Thanks @mperham - I've setup a internal service that creates a cluster DNS entry datadog-agent.datadog.svc.cluster.local and that seems to work. Would be nice to have a go template or env expansion applied to the TOML file at runtime before being loaded - though I understand the constraints.
Are you using an old version? Just off by 1 version
Have you checked the changelogs to see if your issue has been fixed in a later version? Yes
I'm trying to setup https://github.com/contribsys/faktory/wiki/Ent-Metrics in an kubernetes cluster with a datadog agent setup.
Normally for statsd you configure the downward API to target datadog pod like this
This means the environment variable
$DD_AGENT_HOST
will be filled with the IP address that faktory should send the statsd metrics to. The problem is that to configure faktory to send statsd metrics you have to pass a toml file which it appears does not support environment variable expansion.Here is the toml file I want to use
But unfortunately it appears the variable is not expanded because of these logs lines
Is there a way to support this?
The text was updated successfully, but these errors were encountered: