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

disable logging to datadog by default #2653

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Nov 7, 2024

Resolves #2651. Determined by downloading the VCL for current service version and the version active before #2519.

I think this is a result of a bit of an inconsistency in how rate limiting is configured in the UI vs terraform. The log statement is added by default to vcl_log routine.

This should disable logging by default, and only be called in the rate limit section.

When the logging_datadog section was added in #2519, there was no logging condition applied leading to all requests being logged to datadog.

this adds a "False" condition so that logs are only emitted from the rate limiter
@ewdurbin ewdurbin requested a review from JacobCoffee as a code owner November 7, 2024 17:11
infra/cdn/main.tf Outdated Show resolved Hide resolved
@ewdurbin ewdurbin requested a review from JacobCoffee November 7, 2024 17:29
@ewdurbin ewdurbin merged commit 452480d into main Nov 7, 2024
6 checks passed
@ewdurbin ewdurbin deleted the disable_logging_to_datadog_by_default branch November 7, 2024 17:33
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

Successfully merging this pull request may close these issues.

Investigate logs forwarding to Datadog after IaC conversion
2 participants