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 filters and pdata being emitted from monitors #5379

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

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Sep 17, 2024

Description:
This adds the ability for the monitors to emit pdata.

A simplified cut of #4243, it no longer is applying the changes to the prometheus monitor.

@atoulme atoulme requested review from a team as code owners September 17, 2024 06:49
@atoulme atoulme force-pushed the support_pdata branch 5 times, most recently from 643ff99 to 15df734 Compare September 17, 2024 16:57
@@ -208,6 +209,41 @@ func (out *output) Copy() types.Output {
return &cp
}

func (out *output) SendMetrics(metrics ...pmetric.Metric) {
Copy link
Contributor

@dmitryax dmitryax Sep 27, 2024

Choose a reason for hiding this comment

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

Is this function wired to the code? I don't see it being used... It's unclear what the scope of the PR is. If this only adds filtering capability without using it, this function must be unrelated I guess.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not used yet, this PR is a smaller take on #4243 which wires this function into the prometheus monitor.

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.

2 participants