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

NH-76996 - Disabled platform events log processing #25

Merged
merged 3 commits into from
Jun 5, 2024
Merged

Conversation

jerrytfleung
Copy link

@jerrytfleung jerrytfleung commented Jun 4, 2024

Disabled platform events log processing

https://swicloud.atlassian.net/browse/NH-76996

@jerrytfleung jerrytfleung requested a review from a team June 4, 2024 17:08
} else {
r.logger.Error("error parsing time", zap.Error(err))
return plog.Logs{}, err
}
if el.Type == string(telemetryapi.Function) || el.Type == string(telemetryapi.Extension) {
Copy link

Choose a reason for hiding this comment

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

I thought we agreed not to forward Extension events as logs?

Copy link
Author

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

I see. Can we just not subscribe to anything other than Function events for this round to minimize overhead?

Copy link
Author

Choose a reason for hiding this comment

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

Sure. Done

@jerrytfleung jerrytfleung requested a review from cheempz June 4, 2024 19:58
@jerrytfleung
Copy link
Author

Disabled log forwarding by commenting out logs pipeline in config.yaml

Copy link

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@jerrytfleung jerrytfleung merged commit 00cd03b into swo Jun 5, 2024
2 checks passed
@jerrytfleung jerrytfleung deleted the no_platform branch June 5, 2024 00:02
jerrytfleung added a commit that referenced this pull request Jul 18, 2024
* Disable platform events log stringify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants