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

Fix subdomain for integration log pipelines #296

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

michael-richey
Copy link
Collaborator

What does this PR do?

Alters the subdomain when submitting logs

Description of the Change

The subdomain for the logs intake needs to be http-intake.logs.us5 not http-intake.logs

@michael-richey michael-richey marked this pull request as ready for review October 29, 2024 19:32
@michael-richey michael-richey requested a review from a team as a code owner October 29, 2024 19:32
Comment on lines +84 to +85
if destination_client.url_object.subdomain != "api":
subdomain = f"{self.logs_intake_subdomain}.{destination_client.url_object.subdomain}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Code Quality Violation

too many nesting levels (...read more)

Avoid to nest too many loops together. Having too many loops make your code harder to understand.
Prefer to organize your code in functions and unit of code you can clearly understand.

Learn More

View in Datadog  Leave us feedback  Documentation

@michael-richey michael-richey merged commit 2f6dfe7 into main Oct 29, 2024
10 of 11 checks passed
@michael-richey michael-richey deleted the michael.richey/fix-logs-pipeline branch October 29, 2024 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants