This repository owns the backend service for the Argo CD extension.
GET /healthz- Health check endpointGET /api/links- Context-aware links (Phase 1.1+)GET /api/datasources/proxy/prometheus/api/v1/query- Prometheus query proxyGET /api/datasources/proxy/tempo/api/search- Tempo search proxy
Returns context-aware links for an application (Grafana logs/traces, Vault secrets, deployment config).
Request Headers:
Argocd-Application-Name:namespace:appName(required)Argocd-Project-Name: Project name (optional)
Response:
{
"categories": [
{
"id": "logs",
"label": "Logs",
"icon": "📋",
"status": "ok",
"links": [
{
"url": "https://grafana.example.com/d/logs?var-namespace=default&var-pod=myapp-xyz",
"label": "View Logs"
}
]
}
],
"metadata": {
"last_updated": "2026-06-23T10:00:00.000Z",
"max_rows": 4
}
}PORT(default:8000, valid range1..65535)LOG_LEVEL(INFOorDEBUG, default:INFO)REQUEST_TIMEOUT_MS(default:8000, valid range1..2147483647)
PROMETHEUS_BASE_URL(required for metrics proxy)TEMPO_BASE_URL(optional; if unset, traces return empty)TEMPO_SEARCH_PATH(default:/api/search, must be relative path)
GRAFANA_BASE_URL(optional; enables Grafana logs/traces links)VAULT_BASE_URL(optional; enables Vault secrets links)DEPLOYMENT_CONFIG_REPO_URL(optional; enables deployment config links)ALLOWED_NAMESPACES(default:*; comma-separated list or wildcard)
npm install
PORT=8000 \
PROMETHEUS_BASE_URL=http://localhost:9090 \
TEMPO_BASE_URL=http://localhost:3200 \
GRAFANA_BASE_URL=https://grafana.example.com \
VAULT_BASE_URL=https://vault.example.com \
DEPLOYMENT_CONFIG_REPO_URL=https://github.com/org/deployment-configs \
npm startThis repository publishes the backend image independently from the UI extension repository.