Skip to content

Conversation

@jpalac
Copy link
Contributor

@jpalac jpalac commented Jul 18, 2024

Currently the report download button on the Usage page is enabled as long as there is 1 day of data in the last 30 days.
This could produce incomplete reports if a broker transport is used but not configured correctly, and the data is only coming from a subset of endpoints that have Audit and/or Monitoring configured.

This change ensures that the report download button is not enabled if a broker transport is being used, but there's no data from the broker.

johnsimons
johnsimons previously approved these changes Jul 18, 2024
Copy link
Member

@johnsimons johnsimons left a comment

Choose a reason for hiding this comment

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

LGTM.

@johnsimons johnsimons self-requested a review July 18, 2024 23:13
@johnsimons johnsimons dismissed their stale review July 18, 2024 23:14

need to review again

@abparticular abparticular force-pushed the disable-report-generation-if-broker-issues branch from df93814 to 23e08b5 Compare July 19, 2024 02:51
…it not matching how ServicePulse refers to brokers
@jpalac jpalac added this to the 5.4.2 milestone Jul 21, 2024
@jpalac jpalac changed the title Disable report generation if no broker data for last 30 days, even if audit or monitoring data exists Disable report generation if using a broker but there is no data for last 30 days Jul 21, 2024
@jpalac jpalac changed the title Disable report generation if using a broker but there is no data for last 30 days Disable report download if using a broker but there is no broker data for last 30 days Jul 21, 2024
@jpalac jpalac requested a review from johnsimons July 22, 2024 00:26
@jpalac jpalac merged commit 77e9051 into master Jul 22, 2024
@jpalac jpalac deleted the disable-report-generation-if-broker-issues branch July 22, 2024 00:43
@jpalac jpalac modified the milestones: 5.4.2, 5.5.0 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants