Draft
Conversation
Contributor
|
🔗 Redirect URIs Added to Logto The following redirect URIs have been automatically added to the Logto application configuration: Redirect URIs:
Post-logout redirect URIs:
These will be automatically removed when the PR is closed or merged. |
Contributor
🤖 My API structural change detectedStructural change detailsAdded (10)
Powered by Bump.sh |
8b5324c to
9ec5be6
Compare
b10c682 to
08c4b4c
Compare
Member
Author
|
update deploy |
Contributor
|
🚀 Build triggers updated! All |
Member
Author
|
update deploy |
- Add authenticated metrics proxy endpoint (ANY /api/mimir/*)
- HTTP Basic Auth: system_key + system_secret (no JWT)
- Adds X-Scope-OrgID = organization_id for multi-tenancy
- Add MIMIR_URL config field (default: http://localhost:9009)
- Update nginx to route /mimir/ -> backend
- Add mimir/docker-compose.yml for dedicated metrics VM (Server B)
- Add OpenAPI documentation for /api/mimir/{path} endpoint
- Add user documentation (EN+IT) and operator README
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- alert.py: push/resolve/silence/list alerts via collect Mimir proxy (HTTP Basic auth) - alerting_config.py: manage alerting config via backend API (Logto OIDC auth) - scripts/README.md: usage documentation for both scripts Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
229a761 to
ce80a92
Compare
Member
|
update deploy |
Auto-updated .render-build-trigger files to ensure all services are deployed in PR preview environments. 🤖 Generated by GitHub Actions
Contributor
|
🚀 Build triggers updated! All |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Description
This pull request introduces a complete proxy integration for Grafana Mimir, enabling secure, multi-tenant metrics and alerting management for each organization. It adds backend support for proxying all Mimir API calls (including Alertmanager), updates the API documentation, and provides user and developer documentation in both English and Italian. Additionally, it updates the CI workflow and NGINX configuration to support the new proxy endpoints.
Backend: Mimir Proxy Integration
ProxyMimirincollect/methods/mimir.go) that authenticates systems, resolves theirorganization_id, injects theX-Scope-OrgIDheader, and forwards any HTTP method to the configured Mimir backend. This supports all Prometheus and Alertmanager APIs, ensuring requests are properly scoped per organization. [1] [2] [3] [4] [5]API & Documentation Updates
/api/services/mimir/{path}endpoints, supporting GET, POST, PUT, and DELETE, with full details on authentication, multi-tenancy, and request/response formats. [1] [2]docs/en/08-alerting.md,docs/it/08-alerting.md). [1] [2]Configuration & CI Enhancements
collect/.env.exampleand loads it in the service configuration, defaulting tohttp://localhost:9009. [1] [2]Infrastructure: NGINX Proxy
/services/mimir/requests to the collect service's Mimir proxy endpoint, ensuring proper routing and header forwarding for the new API.Compression Handling
Related Issue: #[ISSUE_NUMBER]
🚀 Testing Environment
To trigger a fresh deployment of all services in the PR preview environment, comment:
Automatic PR environments:
✅ Merge Checklist
Code Quality:
Builds: