Skip to content

Updates to metrics fetching intervals are not applied #1084

@0xgouda

Description

@0xgouda

Describe the bug
If using individual metrics updates to fetching intervals done via the webui or in the yaml files are never applied, in contrast, if using preset updates to fetching intervals in the preset definition are directly applied after a new metrics refresh.

To Reproduce
Steps to reproduce the behavior:

  1. run pgwatch with individual metric (e.g., wal: 10)
  2. Let it run for a while
  3. update metric fetching interval to 60
  4. wait and observe that it will never be applied
  5. run pgwatch with preset (e.g., basic)
  6. Let it run for a while
  7. update fetching intervals in the preset definition
  8. Observe that it will get applied directly after sources + metrics refresh

Expected behavior
Updates to individual metrics fetching intervals must be applied.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingconfigConfiguration store relatedsourcesWhat sources and in what way to monitor

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions