-
-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
enhancementNew feature or requestNew feature or requestpriority: mediumA problem affecting a core component for which there is a workaroundA problem affecting a core component for which there is a workaround
Milestone
Description
Not list all environments
When a have more than 50 environments the /environments endpoint only returns 50 items because DEFAULT_PAGE_SIZE=50.
This affects when I need to create a blackout, then I can`t get it all.
Environment
-
OS: [Linux]
-
API version: [eg. 6.8.1]
-
Deployment: [ self-hosted]
-
Database: [ Postgres]
-
Server config:
Auth enabled? Yes
Auth provider? LDAP, etc
Customer views? No
(or provide the/configendpoint output) -
CLI version: [eg. 8.5.0]
To Reproduce
Steps to reproduce the behavior:
- Create more than 50 alerts with different environment
- Consume /environments endpoint
- See error (Only return the first 50 items)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority: mediumA problem affecting a core component for which there is a workaroundA problem affecting a core component for which there is a workaround
Type
Projects
Status
✅ Done