Implement new search_metrics function in custom_metrics.py to allow
filtering and sorting of metrics. Add corresponding endpoint in the
metrics router and supporting schema classes in schemas.py. The new
implementation provides pagination, filtering, and sorting capabilities
for metrics.
Refactors metrics list view to use server-side pagination and sorting
instead of client-side implementation. This improves performance for
large datasets by reducing client workload and network payload size.
Key changes:
- Add pagination API endpoint in MetricService
- Update MetricStore to handle server pagination
- Refactor ListView component to use server-side sorting
- Remove client-side sorting and pagination logic
Add a helper template to allow customizing the assets origin URL.
This gives users the ability to override the default S3 endpoint
construction when needed, while maintaining backward compatibility.
This can be used when try to use proxy the bucket like cloudfront or
some custom domain.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Add example values (frontend,api,sink) to the services input
description in the release deployment workflow to make it clearer
for users what format is expected.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Adds working_dir variable to track the initial directory and ensures
proper directory navigation when processing services in the release
deployment workflow.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
The wait command was placed inside the service loop,
causing the workflow to wait after each individual service build.
Moving it outside ensures all service builds run in parallel before
proceeding to the next step.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Add the required 'done' keywords at the end of for loops in the
Kubernetes deployment steps for both EE and FOSS clusters to ensure
proper script execution.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Improves build performance by running EE and FOSS builds in parallel
using depot's parallel build capabilities. Each service's builds now
run concurrently with proper process management via Bash background
jobs, reducing overall build time.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
The image tag generation in the release deployment workflow was simplified
by removing the redundant IMAGE_TAG variable prepending. Now the tag is
directly composed of the branch name and short SHA, resulting in cleaner
and more readable image tags.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Add parallel Enterprise Edition (-ee suffix) image building and update
K8s deployments to use the EE images in the EE cluster. This change
enables maintaining both community and enterprise edition deployments
from the same workflow.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
The workflow was missing a default value for the BUILD_SCRIPT_NAME
variable, which could cause failures when processing services. This
commit adds "build.sh" as the default value.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Replace all instances of RELEASE_OSS_REGISTRY secret with the already
defined IMAGE_REGISTRY_URL environment variable for consistency across
deployment steps. This eliminates duplicate references to the same
registry URL and simplifies future maintenance.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>