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

feat(plugin): Added Mongodb log plugin #374

Merged
merged 4 commits into from
Apr 27, 2022
Merged

feat(plugin): Added Mongodb log plugin #374

merged 4 commits into from
Apr 27, 2022

Conversation

cpheps
Copy link
Contributor

@cpheps cpheps commented Apr 26, 2022

Proposed Change

Added the Mongodb log plugin MVP as a port from stanza-plugins.

Note1: The stanza-plugin included the ability to read from k8s. There is no way I could find in otel to get logs from k8s and add the operator parsing. The k8seventsreceiver does not support operators. This would be doable if the logs transforms processor is approved open-telemetry/opentelemetry-collector-contrib#9133.

Note2: The remove operator is currently not present in the filelog receiver. There is a PR to add it so I commented out that operator until the PR is approved. Tracked in open-telemetry/opentelemetry-collector-contrib#9524

Checklist
  • Changes are tested
  • CI has passed

Corbin Phelps added 4 commits April 26, 2022 12:28
Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
@cpheps cpheps requested a review from a team as a code owner April 26, 2022 18:59
Copy link
Member

@jsirianni jsirianni left a comment

Choose a reason for hiding this comment

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

I think it is okay to remove k8s support for now, allowing us to re-asses how we handle it going forward.

@cpheps cpheps merged commit 93de7df into main Apr 27, 2022
@cpheps cpheps deleted the mongodb-log-plugin branch April 27, 2022 13:00
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