Skip to content

Commit d673314

Browse files
committed
Merge branch 'main' into mark-swift-data-grid-header-toolbar
2 parents a55a17f + 2db15e8 commit d673314

44 files changed

Lines changed: 2918 additions & 1363 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
"@cobaltcore-dev/aurora": minor
3+
"@cobaltcore-dev/dashboard": minor
4+
---
5+
6+
Migrate policy files from YAML to JSON and unify storage policies
7+
8+
- Convert all policy files from YAML to JSON format (compute, image, networking, storage)
9+
- Unify Swift and Ceph policies into single storage.json with consistent Swift terminology
10+
- Add startup validation for engine configuration in createPermissionRouter
11+
- Update router definitions to use .json filenames instead of .yaml
12+
13+
Benefits:
14+
- Better tooling support (schema validation, editor autocomplete)
15+
- Consistent naming: storage:containers:*, storage:objects:*, storage:folders:*
16+
- Backend-agnostic API (UI doesn't distinguish Swift vs Ceph)
17+
- Fewer files to maintain (4 instead of 6 policy files)
18+
- Errors caught at startup instead of runtime

.changeset/afraid-worms-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cobaltcore-dev/aurora": patch
3+
---
4+
5+
Compute, network, and service overview routes now redirect to the project overview

.changeset/brave-eagles-rescue.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
"@cobaltcore-dev/aurora": minor
3+
---
4+
5+
feat(metrics): add Prometheus metrics for infrastructure monitoring
6+
7+
Added comprehensive Prometheus metrics collection for HTTP requests, including:
8+
9+
- `aurora_requests_total`: Counter tracking total HTTP requests with labels for status_code, method, route, endpoint_type, and project_id
10+
- `aurora_request_duration_seconds`: Histogram measuring request latency with the same label dimensions
11+
- `aurora_exceptions_total`: Counter tracking unhandled exceptions by exception type
12+
13+
Key features:
14+
- Intelligent route normalization to control cardinality (tRPC procedures, static assets, SPA routes, Vite dev paths)
15+
- Per-project visibility via project_id label extracted from URLs and query parameters
16+
- tRPC batch request support (comma-separated procedures in route label)
17+
- Excludes /metrics endpoint from collection to prevent recursion
18+
- Debug logging for skipped metrics to aid troubleshooting
19+
20+
New endpoint: `GET /metrics` exposes metrics in Prometheus text format for scraping.
21+
22+
Note: project_id label creates one time series per unique project. Monitor Prometheus memory usage in production deployments with thousands of projects.

0 commit comments

Comments
 (0)