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 local dev env with datadog #279

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Fix local dev env with datadog #279

merged 1 commit into from
Oct 9, 2024

Conversation

jt-dd
Copy link
Contributor

@jt-dd jt-dd commented Oct 9, 2024

Fix local dev by adding the correct docker label.

@jt-dd jt-dd requested a review from a team as a code owner October 9, 2024 11:46
Copy link
Contributor

@edznux-dd edznux-dd left a comment

Choose a reason for hiding this comment

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

Does it fail silently if the kubehound.env is missing?

LGTM if so

env_file:
- kubehound.env
labels:
com.datadoghq.ad.logs: '[{"app": "grpc", "service": "kubehound"}]'
Copy link
Contributor

Choose a reason for hiding this comment

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

seems weird to have app:grpc tbh

Copy link
Contributor

Choose a reason for hiding this comment

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

(app:kubehound would seem more logical, or kubehound-ingestor if you want (i would rather have the service named kubehound-ingestor and the app named kubehound)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just put the name of container for the app. Same as all the others labels.
This is only for local dev anyway.

@jt-dd
Copy link
Contributor Author

jt-dd commented Oct 9, 2024

Does it fail silently if the kubehound.env is missing?

LGTM if so

Only the kubehound.env.tpl is pushed as it might contained secrets.

@jt-dd jt-dd merged commit f802174 into main Oct 9, 2024
8 checks passed
@jt-dd jt-dd deleted the jt-dd/fix-datadog-dev-env branch October 9, 2024 12:48
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.

2 participants