As an administrator, I want to retrieve counts for organizations, users (with various filters), projects, applications, and authorizations within my ZITADEL instance, so that I can gain insights into resource utilization and manage my instance effectively.
Description
To effectively manage a ZITADEL instance, administrators need to understand resource utilization. This feature provides metrics for resource counts, including organizations, users (with filtering options), projects, applications, and authorizations. For users, we will offer filters to retrieve the total count, counts per organization, and counts by user type (human or machine). These metrics will provide administrators with valuable insights into the scale and complexity of their ZITADEL instance.
Acceptance Criteria:
Architecture
- This is implemented in a grpc analytics API
- We don't add an additional storage, all of this will be implemented with postgreSQL
- The metrics will be calculated in a scheduled job and stored to a specific table (e.g resource counts)
- Computed number should be stored. (e.g users, count, day)
- Granularity should be on days
- Interval should be defined
- Counts for different resources should be sequentially to avoid blocking when we compute all the metrics
As an administrator, I want to retrieve counts for organizations, users (with various filters), projects, applications, and authorizations within my ZITADEL instance, so that I can gain insights into resource utilization and manage my instance effectively.
Description
To effectively manage a ZITADEL instance, administrators need to understand resource utilization. This feature provides metrics for resource counts, including organizations, users (with filtering options), projects, applications, and authorizations. For users, we will offer filters to retrieve the total count, counts per organization, and counts by user type (human or machine). These metrics will provide administrators with valuable insights into the scale and complexity of their ZITADEL instance.
Acceptance Criteria:
Architecture