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

Clone processor #6529

Merged
merged 1 commit into from
Oct 21, 2019
Merged

Conversation

adrianlzt
Copy link
Contributor

Add an option to keep the original metric and modify the a copy of the
metric.
This allows "multiplexing" of metrics, having one input, generate
metrics for multiple hosts.
Example:

[[inputs.kernel]]

[[processors.override]]
  clone = true
  [processors.override.tags]
    host = "virtualHost"

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson
Copy link
Contributor

Let's make this a new "clone" processor?

Allows "multiplexing" of metrics, having one input, generate
metrics for multiple hosts.
Example:
```
[[inputs.kernel]]

[[processors.clone]]
  [processors.clone.tags]
    host = "virtualHost"
```
@adrianlzt adrianlzt force-pushed the feature/override_clone branch from b207967 to 03d0d6b Compare October 16, 2019 05:53
@adrianlzt
Copy link
Contributor Author

Yeah, it will be easier to find a new processor than a parameter in an existing one.

@adrianlzt adrianlzt changed the title Override processor clone option Clone processor Oct 16, 2019
@danielnelson danielnelson merged commit 89c4c1d into influxdata:master Oct 21, 2019
@danielnelson danielnelson added this to the 1.13.0 milestone Oct 21, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants