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

[processor/cumulativetodelta] Add metric type filter #34407

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

bacherfl
Copy link
Contributor

@bacherfl bacherfl commented Aug 5, 2024

Description: Add metric type filter for cumulativetodelta processor

Link to tracking Issue: #33673

Testing: Added unit tests

Documentation: Extended the readme of this component to describe this new filter

@github-actions github-actions bot added the processor/cumulativetodelta Cumulative To Delta processor label Aug 5, 2024
@github-actions github-actions bot requested a review from TylerHelmuth August 5, 2024 09:11
@bacherfl bacherfl changed the title Feat/ctdprocessor type filter [processor/cumulativetodelta] Add metric type filter Aug 5, 2024
@bacherfl bacherfl marked this pull request as ready for review August 7, 2024 05:25
@bacherfl bacherfl requested a review from a team August 7, 2024 05:25
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Aug 22, 2024
@github-actions github-actions bot removed the Stale label Aug 23, 2024
Copy link
Contributor

github-actions bot commented Sep 6, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Sep 6, 2024
@github-actions github-actions bot removed the Stale label Sep 17, 2024
@bacherfl bacherfl requested a review from a team as a code owner September 23, 2024 13:50
Copy link
Contributor

github-actions bot commented Oct 8, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 8, 2024
@github-actions github-actions bot removed the Stale label Oct 9, 2024
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 25, 2024
@vaibhhavv
Copy link

Hi @TylerHelmuth, can we review this PR so it will unlock a new feature for the processor

@github-actions github-actions bot removed the Stale label Oct 29, 2024
processor/cumulativetodeltaprocessor/config.go Outdated Show resolved Hide resolved
processor/cumulativetodeltaprocessor/processor.go Outdated Show resolved Hide resolved
processor/cumulativetodeltaprocessor/config.go Outdated Show resolved Hide resolved
processor/cumulativetodeltaprocessor/README.md Outdated Show resolved Hide resolved
@bacherfl
Copy link
Contributor Author

Thank you for the review @TylerHelmuth - I will address the comments in the following days

res[pmetric.MetricTypeSum] = true
case strings.ToLower(pmetric.MetricTypeHistogram.String()):
res[pmetric.MetricTypeHistogram] = true
default:
Copy link
Member

Choose a reason for hiding this comment

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

If there are metric types we don't support we should error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/cumulativetodelta Cumulative To Delta processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants