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

use before/after for sorting processors #8697

Closed
ssoroka opened this issue Jan 14, 2021 · 3 comments
Closed

use before/after for sorting processors #8697

ssoroka opened this issue Jan 14, 2021 · 3 comments
Assignees
Labels
area/agent feature request Requests for new plugin and for new features to existing plugins size/l 1 week or more effort waiting for response waiting for response from contributor

Comments

@ssoroka
Copy link
Contributor

ssoroka commented Jan 14, 2021

Feature Request

using order for numbering processors has some drawbacks. specifically inserting something into the list requires renumbering all other processors. This is especially difficult when the config comes from multiple files or places, for example writing configuration programmatically.

example use

[inputs.cpu]
[processors.rename]
  alias = "my_rename"
  before = "starlark"
[processors.starlark]
  after = "my_rename"
  before = "starlarkfoo"
[processors.starlark]
  alias = "starlarkfoo"
  after = "my_rename"
[outputs.file]

Current behavior:

uses ordering numbers

Desired behavior:

infer ordering from before/after field config

@ssoroka ssoroka added feature request Requests for new plugin and for new features to existing plugins area/agent labels Jan 14, 2021
@ssoroka ssoroka self-assigned this Jan 14, 2021
@mirkocomparetti-synesis

This is interesting for us as well!

@sspaink
Copy link
Contributor

sspaink commented Nov 1, 2022

@mirkocomparetti-synesis are you still interested in this?

@sspaink sspaink added the waiting for response waiting for response from contributor label Nov 1, 2022
@telegraf-tiger
Copy link
Contributor

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent feature request Requests for new plugin and for new features to existing plugins size/l 1 week or more effort waiting for response waiting for response from contributor
Projects
None yet
Development

No branches or pull requests

3 participants