mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
converge/final lands on main's lineage: the 2026-08-01 upstream base with the ee tree deleted, the canary pipeline and the red fixes, melded with the live line's commits — project language, honest empty states, native flags, the assistant on Hanzo cloud, the replay writer chain, heatmaps, /v1 serving, and the rust purge. Crates whose planes the Go cloud binary serves stay deleted; the workspace keeps what python and nodejs actually build (insightsql/parser, deltalite, replay-anonymizer, cyclotron). Replay files by org, not project token; a token with no org goes to the DLQ.
64 lines
1.5 KiB
Smarty
64 lines
1.5 KiB
Smarty
{
|
|
"settings": {
|
|
"http": {
|
|
"max_body_size": 22020096
|
|
}
|
|
},
|
|
"listeners": {
|
|
"*:8000": {
|
|
"pass": "applications/insights"
|
|
},
|
|
"*:8001": {
|
|
"pass": "routes/metrics"
|
|
},
|
|
"*:8181": {
|
|
"pass": "routes/status"
|
|
}
|
|
},
|
|
"routes": {
|
|
"metrics": [
|
|
{
|
|
"match": {
|
|
"uri": ["/metrics"]
|
|
},
|
|
"action": {
|
|
"pass": "applications/metrics"
|
|
}
|
|
}
|
|
],
|
|
"status": [
|
|
{
|
|
"match": {
|
|
"uri": ["/status"]
|
|
},
|
|
"action": {
|
|
"proxy": "http://unix:/var/run/control.unit.sock"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"applications": {
|
|
"insights": {
|
|
"type": "python 3",
|
|
"processes": $NGINX_UNIT_APP_PROCESSES,
|
|
"threads": $NGINX_UNIT_APP_THREADS,
|
|
"working_directory": "/code",
|
|
"path": ".",
|
|
"module": "insights.$NGINX_UNIT_PYTHON_PROTOCOL",
|
|
"protocol": "$NGINX_UNIT_PYTHON_PROTOCOL",
|
|
"user": "nobody",
|
|
"limits": {
|
|
"requests": $NGINX_UNIT_REQUEST_LIMIT
|
|
}
|
|
},
|
|
"metrics": {
|
|
"type": "python 3",
|
|
"processes": 1,
|
|
"working_directory": "/code/bin",
|
|
"path": ".",
|
|
"module": "unit_metrics",
|
|
"user": "nobody"
|
|
}
|
|
}
|
|
}
|