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

add support for tailing custom host files #300

Merged
merged 3 commits into from
Nov 18, 2021

Conversation

rockb1017
Copy link
Contributor

to pick up logs on emptydir or a filemount ( non stderr/stdout logs, stuck in container filesystem or audit log etc)

Copy link
Contributor

@dmitryax dmitryax left a comment

Choose a reason for hiding this comment

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

Looks good to me. just one suggestion

@@ -394,6 +394,21 @@ logsCollection:

checkpointPath: "/var/addon/splunk/otel_pos"

# Files on k8s nodes to tail.
# Make sure to configure volume mounts properly at `otelAgent.extraVolumes` and `otelAgent.extraVolumeMounts`.
extraFileLogs: {}
Copy link
Contributor

@chaitanyaphalak chaitanyaphalak Nov 18, 2021

Choose a reason for hiding this comment

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

An example of how to use volumes/emptydir would be nice to have!

Copy link
Contributor

Choose a reason for hiding this comment

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

This should go to examples https://github.com/signalfx/splunk-otel-collector-chart/tree/main/examples, and this values.yaml comment can get a link to it. Just to avoid mixing comment for different config parts here.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd recommend submit another PR for that. This one LGTM. Let me know if we shold merge it

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, its cool to merge it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, added issue for this #307

@dmitryax dmitryax merged commit b9f6234 into signalfx:main Nov 18, 2021
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.

3 participants