Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datadog metrics do not work outside of a Racecar process #380

Open
jalford14 opened this issue Aug 8, 2024 · 0 comments
Open

Datadog metrics do not work outside of a Racecar process #380

jalford14 opened this issue Aug 8, 2024 · 0 comments

Comments

@jalford14
Copy link

jalford14 commented Aug 8, 2024

When enable_datadog is set to true, only processes running Racecar are able to report Racecar-specific metrics to Datadog. For example, if we call Racecar.produce_sync in a Rails process (which is not running Racecar), the metrics won’t be reported to Datadog. This happens because Racecar::Cli, which configures Datadog, is never invoked in this context.

As a temporary workaround, we configured Racecar::Datadog directly in our initializer. Would this be considered a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant