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: support additional processor injection from values #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

imZack
Copy link
Contributor

@imZack imZack commented Sep 22, 2022

Description:

Currently, there is no easy way to add more processors in the pipeline. With this PR, it can be done by injecting the values.

For instance, I want to exclude some namespaces, I can inject values like the below to make it work.

adotCollector:
    processors:
      timeout: 60s
      additionalProcessors: |
        filter/no-kube:
          metrics:
            exclude:
              match_type: regexp
              resource_attributes:
                - Key: Namespace
                  Value: (kube-*)
    service:
      metrics:
        receivers: ["prometheus"]
        processors: ["batch/metrics", "filter/no-kube"]
        exporters: ["prometheusremotewrite"]

Link to tracking Issue:

Testing:

Documentation:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@imZack imZack requested a review from a team as a code owner September 22, 2022 07:29
@imZack
Copy link
Contributor Author

imZack commented Sep 27, 2022

Can someone help to review this PR?

@github-actions
Copy link

This PR is stale because it has been open 60 days with no activity.

@crigertg
Copy link

crigertg commented Dec 9, 2022

It would be nice if this merge request is reviewed and merged. This is an important feature which should be supported.

@github-actions
Copy link

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label Feb 12, 2023
@sukrit007
Copy link

Bump (to remove stale action)

@github-actions github-actions bot removed the stale label Sep 17, 2023
Copy link

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label Nov 19, 2023
@github-actions github-actions bot removed the stale label Nov 26, 2023
Copy link

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants