feat(coding-agent): added Grafana Pyroscope continuous profiling integration

- Added Grafana Pyroscope continuous profiling integration for CPU and heap profiling.
- Added seven new Pyroscope configuration settings: enabled, serverAddress, appName, basicAuthUser, basicAuthPassword, tenantID, and flushIntervalMs.
- Added support for Pyroscope configuration via environment variables: PYROSCOPE_URL, PYROSCOPE_APP_NAME, PYROSCOPE_BASIC_AUTH_USER, PYROSCOPE_BASIC_AUTH_PASSWORD, PYROSCOPE_TENANT_ID, and PYROSCOPE_FLUSH_INTERVAL_MS.
- Integrated Pyroscope initialization and shutdown into the main application lifecycle with automatic profiling start/stop.
- Added @pyroscope/nodejs dependency for continuous profiling capabilities.
This commit is contained in:
can1357
2026-02-05 02:17:26 +01:00
parent 76cdce7dda
commit 1b81e820bf
7 changed files with 243 additions and 2 deletions
+1
View File
@@ -87,6 +87,7 @@
"@oh-my-pi/pi-tui": "workspace:*",
"@oh-my-pi/pi-utils": "workspace:*",
"@openai/agents": "^0.4.5",
"@pyroscope/nodejs": "^0.4.9",
"@sinclair/typebox": "^0.34.48",
"ajv": "^8.17.1",
"chalk": "^5.6.2",