-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
type: bugSomething isn't working as expectedSomething isn't working as expected
Description
Environment
- Python version: 3.11
- Nautobot version: 2.4.6
- nautobot-capacity-metrics version: 3.1.1
- netobs version: 0.102.0
Expected Behavior
Prometheus queries are performant and minimize load on the database
Observed Behavior
N+1 errors are observed using a performance and error reporting tool like Sentry
Steps to Reproduce
So long as Prometheus scrapes the capacity metrics endpoint, N+1 queries will be reported by Sentry. Here are some examples:

Metadata
Metadata
Assignees
Labels
type: bugSomething isn't working as expectedSomething isn't working as expected