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

Graphs loaded with proxy refresh off do not reload when refresh is turned on #286

Open
thomasfusion opened this issue Feb 2, 2022 · 0 comments

Comments

@thomasfusion
Copy link

thomasfusion commented Feb 2, 2022

Expected Behavior

While "Refresh on indirect proxy" is enabled, graphs should reload when the page loads/reloads

Current Behavior

Graphs that are loaded while "Refresh on indirect proxy" is disabled are cached and when "Refresh on indirect proxy" is then enabled the graphs do not reload.

Possible Solution

Best would be to fix the logic for clearing cached graphs, but in addition it would be nice to
have a button for clearing and reloading a graph when in indirect proxy mode especially for when "Refresh on indirect proxy" is disabled

Steps to Reproduce (for bugs)

  1. Set Grafana access to indirect proxy
  2. make sure "Refresh on indirect proxy" is disabled
  3. view a service/host and have the graph load
  4. Go back to the module config and set "Refresh on indirect proxy" to enabled

Context

Some graphs are now stuck and will not update. This is only so long as the cache is not cleared and it's only an issue when switching between "Refresh on indirect proxy" so it's not a common issue but it can create some confusion and wasted time during configuration if graphs stop updating when testing configs.

Your Environment

  • Icinga Web 2 Grafana version (System - About): 1.4.2
  • Icinga Web 2 version and modules (System - About): 2.8.2
    director | 1.8.0
    incubator | 0.6.0
    ipl | v0.5.0
    monitoring | 2.8.2
    reactbundle | 0.9.0
  • Version used (icinga2 --version): r2.13.2-1
  • Operating System and version: Ubuntu 20.04.3 LTS
  • Enabled features (icinga2 feature list): Enabled features: api checker command debuglog ido-mysql influxdb2 mainlog notification
  • Config validation (icinga2 daemon -C): no errors.
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

No branches or pull requests

1 participant