Skip to content

Keep Logs Enabled when Disabling Envelope Metrics #514

Merged
plowin merged 1 commit intocloudfoundry:developfrom
sap-contributions:disable-v1-metrics
Sep 29, 2025
Merged

Keep Logs Enabled when Disabling Envelope Metrics #514
plowin merged 1 commit intocloudfoundry:developfrom
sap-contributions:disable-v1-metrics

Conversation

@hoffmaen
Copy link
Contributor

@hoffmaen hoffmaen commented Sep 24, 2025

Summary

With the implementation of Prometheus metrics and the switches to enable/disable Prometheus and Envelope metrics (enable_envelope_v1_metrics, prometheus.enabled), we are able to replace the Envelope metrics with Prometheus metrics. With the current implementation, the switch to disable Envelope metrics also disables access logs. With this change, access logs are kept even if the Envelope metrics switch is disabled.

Backward Compatibility

Breaking Change? No
Setting enable_envelope_v1_metrics: False will enable access logs with this change. As the switch has been implemented recently, defaults to True and doesn't indicate log control, I consider this change as a fix, rather than a breaking change.

plowin
plowin previously approved these changes Sep 24, 2025
Copy link
Contributor

@plowin plowin left a comment

Choose a reason for hiding this comment

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

LGTM, agree to the breaking change assessment

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Application Runtime Platform Working Group Sep 24, 2025
@hoffmaen hoffmaen force-pushed the disable-v1-metrics branch 3 times, most recently from bc2985c to 1a2332c Compare September 24, 2025 12:07
@hoffmaen hoffmaen marked this pull request as ready for review September 24, 2025 12:21
@hoffmaen hoffmaen requested a review from a team as a code owner September 24, 2025 12:21
@Dariquest
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants