fix: various fixes to things + simply app proxy sentry setup
This commit is contained in:
@@ -1587,58 +1587,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_kv": {
|
||||
"type": "object",
|
||||
"description": "Valkey/Redis settings for the App Proxy.",
|
||||
"required": [
|
||||
"url"
|
||||
],
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "Full URL to Valkey/Redis."
|
||||
},
|
||||
"timeout_ms": {
|
||||
"type": "number",
|
||||
"description": "Request timeout for Valkey/Redis in milliseconds.",
|
||||
"default": 5000
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_sentry_rate_limit": {
|
||||
"type": "object",
|
||||
"description": "Rate limiting for Sentry error reporting requests.",
|
||||
"properties": {
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"description": "Number of Sentry requests allowed per window.",
|
||||
"default": 100
|
||||
},
|
||||
"window_ms": {
|
||||
"type": "number",
|
||||
"description": "Time window for Sentry rate limiting in milliseconds.",
|
||||
"default": 1000
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_rate_limit": {
|
||||
"type": "object",
|
||||
"description": "Rate limit settings for the App Proxy.",
|
||||
"properties": {
|
||||
"sentry": {
|
||||
"description": "Sentry reporting rate limit configuration.",
|
||||
"$ref": "#/$defs/app_proxy_sentry_rate_limit",
|
||||
"default": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_service": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the App Proxy service (frontend server).",
|
||||
"required": [
|
||||
"sentry_report_host",
|
||||
"sentry_dsn"
|
||||
],
|
||||
"properties": {
|
||||
"port": {
|
||||
"type": "number",
|
||||
@@ -1650,32 +1601,10 @@
|
||||
"description": "URL endpoint for serving static assets via CDN.",
|
||||
"default": ""
|
||||
},
|
||||
"sentry_proxy_path": {
|
||||
"type": "string",
|
||||
"description": "URL path for proxying Sentry requests.",
|
||||
"default": "/error-reporting-proxy"
|
||||
},
|
||||
"sentry_report_host": {
|
||||
"type": "string",
|
||||
"description": "Hostname to which Sentry reports should be sent."
|
||||
},
|
||||
"sentry_dsn": {
|
||||
"type": "string",
|
||||
"description": "Sentry DSN (Data Source Name) for frontend error tracking."
|
||||
},
|
||||
"assets_dir": {
|
||||
"type": "string",
|
||||
"description": "Filesystem directory containing static assets.",
|
||||
"default": "./assets"
|
||||
},
|
||||
"kv": {
|
||||
"description": "Valkey/Redis configuration for the proxy.",
|
||||
"$ref": "#/$defs/app_proxy_kv"
|
||||
},
|
||||
"rate_limit": {
|
||||
"description": "Rate limiting configuration for the App Proxy.",
|
||||
"$ref": "#/$defs/app_proxy_rate_limit",
|
||||
"default": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -2120,26 +2049,6 @@
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Frontend Sentry DSN."
|
||||
},
|
||||
"sentry_proxy_path": {
|
||||
"type": "string",
|
||||
"default": "/error-reporting-proxy",
|
||||
"description": "Path to proxy Sentry requests."
|
||||
},
|
||||
"sentry_report_host": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Host for Sentry reporting."
|
||||
},
|
||||
"sentry_project_id": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sentry Project ID."
|
||||
},
|
||||
"sentry_public_key": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sentry Public Key."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ function makeMinimalConfig(overrides: Record<string, unknown> = {}): Record<stri
|
||||
secret_key_base: 'abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789',
|
||||
oauth_client_secret: 'fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210',
|
||||
},
|
||||
app_proxy: {port: 8773, sentry_report_host: 'sentry.io', sentry_dsn: 'https://test@sentry.io/1'},
|
||||
app_proxy: {port: 8773},
|
||||
marketing: {
|
||||
enabled: false,
|
||||
port: 8774,
|
||||
|
||||
@@ -1,55 +1,8 @@
|
||||
{
|
||||
"app_proxy_kv": {
|
||||
"type": "object",
|
||||
"description": "Valkey/Redis settings for the App Proxy.",
|
||||
"additionalProperties": false,
|
||||
"required": ["url"],
|
||||
"properties": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "Full URL to Valkey/Redis."
|
||||
},
|
||||
"timeout_ms": {
|
||||
"type": "number",
|
||||
"description": "Request timeout for Valkey/Redis in milliseconds.",
|
||||
"default": 5000
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_sentry_rate_limit": {
|
||||
"type": "object",
|
||||
"description": "Rate limiting for Sentry error reporting requests.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"limit": {
|
||||
"type": "number",
|
||||
"description": "Number of Sentry requests allowed per window.",
|
||||
"default": 100
|
||||
},
|
||||
"window_ms": {
|
||||
"type": "number",
|
||||
"description": "Time window for Sentry rate limiting in milliseconds.",
|
||||
"default": 1000
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_rate_limit": {
|
||||
"type": "object",
|
||||
"description": "Rate limit settings for the App Proxy.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"sentry": {
|
||||
"description": "Sentry reporting rate limit configuration.",
|
||||
"$ref": "#/$defs/app_proxy_sentry_rate_limit",
|
||||
"default": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"app_proxy_service": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the App Proxy service (frontend server).",
|
||||
"additionalProperties": false,
|
||||
"required": ["sentry_report_host", "sentry_dsn"],
|
||||
"properties": {
|
||||
"port": {
|
||||
"type": "number",
|
||||
@@ -61,32 +14,10 @@
|
||||
"description": "URL endpoint for serving static assets via CDN.",
|
||||
"default": ""
|
||||
},
|
||||
"sentry_proxy_path": {
|
||||
"type": "string",
|
||||
"description": "URL path for proxying Sentry requests.",
|
||||
"default": "/error-reporting-proxy"
|
||||
},
|
||||
"sentry_report_host": {
|
||||
"type": "string",
|
||||
"description": "Hostname to which Sentry reports should be sent."
|
||||
},
|
||||
"sentry_dsn": {
|
||||
"type": "string",
|
||||
"description": "Sentry DSN (Data Source Name) for frontend error tracking."
|
||||
},
|
||||
"assets_dir": {
|
||||
"type": "string",
|
||||
"description": "Filesystem directory containing static assets.",
|
||||
"default": "./assets"
|
||||
},
|
||||
"kv": {
|
||||
"description": "Valkey/Redis configuration for the proxy.",
|
||||
"$ref": "#/$defs/app_proxy_kv"
|
||||
},
|
||||
"rate_limit": {
|
||||
"description": "Rate limiting configuration for the App Proxy.",
|
||||
"$ref": "#/$defs/app_proxy_rate_limit",
|
||||
"default": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,26 +111,6 @@
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Frontend Sentry DSN."
|
||||
},
|
||||
"sentry_proxy_path": {
|
||||
"type": "string",
|
||||
"default": "/error-reporting-proxy",
|
||||
"description": "Path to proxy Sentry requests."
|
||||
},
|
||||
"sentry_report_host": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Host for Sentry reporting."
|
||||
},
|
||||
"sentry_project_id": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sentry Project ID."
|
||||
},
|
||||
"sentry_public_key": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sentry Public Key."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user