2023-09-21 17:50:19 +02:00
|
|
|
{
|
|
|
|
"listeners": {
|
|
|
|
"*:8000": {
|
|
|
|
"pass": "applications/posthog"
|
2023-11-07 16:12:03 +01:00
|
|
|
},
|
|
|
|
"*:8001": {
|
|
|
|
"pass": "routes/metrics"
|
|
|
|
},
|
2023-11-27 11:06:22 +01:00
|
|
|
"*:8181": {
|
2023-11-07 16:12:03 +01:00
|
|
|
"pass": "routes/status"
|
2023-09-21 17:50:19 +02:00
|
|
|
}
|
|
|
|
},
|
2023-11-07 16:12:03 +01:00
|
|
|
"routes": {
|
|
|
|
"metrics": [
|
|
|
|
{
|
|
|
|
"match": {
|
2023-11-07 22:56:59 +01:00
|
|
|
"uri": ["/metrics"]
|
2023-11-07 16:12:03 +01:00
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/metrics"
|
|
|
|
}
|
2023-11-07 22:56:59 +01:00
|
|
|
}
|
2023-11-07 16:12:03 +01:00
|
|
|
],
|
|
|
|
"status": [
|
|
|
|
{
|
|
|
|
"match": {
|
2023-11-07 22:56:59 +01:00
|
|
|
"uri": ["/status"]
|
2023-11-07 16:12:03 +01:00
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"proxy": "http://unix:/var/run/control.unit.sock"
|
|
|
|
}
|
2023-11-07 22:56:59 +01:00
|
|
|
}
|
|
|
|
]
|
2023-11-07 16:12:03 +01:00
|
|
|
},
|
2023-09-21 17:50:19 +02:00
|
|
|
"applications": {
|
|
|
|
"posthog": {
|
|
|
|
"type": "python 3.10",
|
2023-11-27 15:59:27 +01:00
|
|
|
"processes": 4,
|
2023-09-21 17:50:19 +02:00
|
|
|
"working_directory": "/code",
|
|
|
|
"path": ".",
|
2023-11-07 16:12:03 +01:00
|
|
|
"module": "posthog.wsgi",
|
|
|
|
"user": "nobody"
|
|
|
|
},
|
|
|
|
"metrics": {
|
|
|
|
"type": "python 3.10",
|
|
|
|
"processes": 1,
|
|
|
|
"working_directory": "/code/bin",
|
|
|
|
"path": ".",
|
|
|
|
"module": "unit_metrics",
|
|
|
|
"user": "nobody"
|
2023-11-07 22:56:59 +01:00
|
|
|
}
|
2023-09-21 17:50:19 +02:00
|
|
|
}
|
|
|
|
}
|