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

Support tracing in filter plugin #463

Merged
merged 9 commits into from
Mar 6, 2020

Conversation

sumo-drosiek
Copy link
Contributor

@sumo-drosiek sumo-drosiek commented Mar 4, 2020

Description

I have a PR under discussion. We have requirement for traces to tag sourceHost and sourceCategory. There is few possible way to solve this. This PR represents moreless set of changes/differences between traces and logs/metrics.
I see few possible solutions for this issue:

  1. Separate filter plugin
  2. Extract common part to another plugin (and logs related to another one
  3. Filter which behaves little bit different depending on source (like in this PR)

@rvmiller89 @samjsong @vsinghal13 @perk-sumo @pmaciolek
I would like to know your thoughs

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@sumo-drosiek sumo-drosiek changed the title [WIP][DO NOT MERGE] Support tracing in filter plugin [WIP] Support tracing in filter plugin Mar 5, 2020
@sumo-drosiek sumo-drosiek changed the title [WIP] Support tracing in filter plugin Support tracing in filter plugin Mar 5, 2020
@perk-sumo perk-sumo added this to the v0.16 milestone Mar 5, 2020
Copy link
Contributor

@perk-sumo perk-sumo left a comment

Choose a reason for hiding this comment

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

I'm fine with the changes for now.
Someday we'd need to revisit this and try to upstream whatever is possible (and make sense).

@sumo-drosiek sumo-drosiek force-pushed the drosiek-filter-sumologic-tracing-source-host branch from 1d2a888 to bf0ad55 Compare March 6, 2020 08:18
Copy link
Contributor

@pmm-sumo pmm-sumo left a comment

Choose a reason for hiding this comment

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

LGTM

@sumo-drosiek sumo-drosiek merged commit 329bf7b into master Mar 6, 2020
@sumo-drosiek sumo-drosiek deleted the drosiek-filter-sumologic-tracing-source-host branch March 6, 2020 13:23
@samjsong
Copy link
Contributor

samjsong commented Mar 6, 2020

Retroactive LGTM

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.

4 participants