Skip to content

Conversation

@ktsaou
Copy link
Member

@ktsaou ktsaou commented Oct 18, 2025

Summary

  • move the global update_every assignment so only instances with queried metrics update it
  • keep metadata for filtered instances untouched so dashboards still expose available filters

Why

  • previously /api/v3/data reported the minimum cadence of every instance in scope, even ones filtered out of the actual query, because metadata collection runs before filters
  • this made the top-level db.update_every disagree with tier 0 when dashboards sliced by instance or label

Testing

  • not run

@stelfrag stelfrag merged commit c7f7929 into netdata:master Oct 20, 2025
142 of 143 checks passed
stelfrag pushed a commit to stelfrag/netdata that referenced this pull request Oct 27, 2025
Restrict db.update_every to metrics selected for querying

(cherry picked from commit c7f7929)
@stelfrag stelfrag mentioned this pull request Oct 27, 2025
Ferroin pushed a commit that referenced this pull request Oct 28, 2025
Restrict db.update_every to metrics selected for querying

(cherry picked from commit c7f7929)
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.

2 participants