You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/docs/en/quick-start/installation.md
+100Lines changed: 100 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,106 @@ For complete port mapping details, see our [Dev Container Guide](../deployment/d
173
173
174
174
## 🔧 Advanced Configuration
175
175
176
+
### Monitoring Configuration
177
+
178
+
Select the `monitoring` component in the deployment script UI to enable OpenTelemetry monitoring. The script synchronizes `ENABLE_TELEMETRY`, `MONITORING_PROVIDER`, and `MONITORING_DASHBOARD_URL`in`docker/.env`, then starts the matching observability services from `docker/docker-compose-monitoring.yml`.
179
+
180
+
```bash
181
+
cd nexent/docker
182
+
bash deploy.sh
183
+
```
184
+
185
+
If `docker/deploy.options` already exists, the script asks whether to reuse local configuration. Choose to reconfigure/overwrite local configuration, thenselect`monitoring`in the component menu and manually choose `grafana`, `phoenix`, `langfuse`, `langsmith`, `zipkin`, or `otlp`in the provider menu.
186
+
187
+
Supported providers:
188
+
189
+
| Provider | Purpose | Default URL |
190
+
|----------|---------|-------------|
191
+
|`otlp`| OpenTelemetry Collector only, useful for forwarding to an external platform | No dashboard |
192
+
|`phoenix`| Local Phoenix trace analysis |`http://localhost:6006`|
193
+
|`langfuse`| Local Langfuse observability stack |`http://localhost:3001`|
194
+
|`langsmith`| Forwarding to hosted LangSmith |`https://smith.langchain.com/`|
195
+
|`grafana`| Local Grafana + Tempo |`http://localhost:3002/d/nexent-llm-agent/nexent-agent-trace-monitoring?orgId=1`|
196
+
|`zipkin`| Local Zipkin |`http://localhost:9411`|
197
+
198
+
To change ports, image versions, or local Langfuse bootstrap credentials, copy and edit the monitoring environment file first:
|`LANGFUSE_INIT_USER_EMAIL` / `LANGFUSE_INIT_USER_PASSWORD`| Local Langfuse bootstrap admin |
212
+
|`GRAFANA_ADMIN_USER` / `GRAFANA_ADMIN_PASSWORD`| Local Grafana admin |
213
+
214
+
Before choosing the `langsmith` provider, configure `LANGSMITH_API_KEY`in`docker/monitoring/monitoring.env`. If you only need to connect to an existing external Collector, adjust the OTLP target in`docker/.env`:
>**Production note**: Replace default passwords, secrets, and the Langfuse `ENCRYPTION_KEY`. Restrict dashboard and Collector access with a reverse proxy or firewall.
225
+
226
+
### OAuth Login Configuration
227
+
228
+
OAuth login requires the `supabase` component. When enabling third-party login, deploy `supabase` and set`OAUTH_CALLBACK_BASE_URL` to the browser-accessible Nexent Web URL.
For local Docker, a GitHub callback example is `http://localhost:3000/api/user/oauth/callback?provider=github`. In production, use a public HTTPS domain such as `https://nexent.example.com/api/user/oauth/callback?provider=github` and register the exact same URL in the OAuth provider console.
Copy file name to clipboardExpand all lines: doc/docs/en/quick-start/kubernetes-installation.md
+96Lines changed: 96 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,102 @@ Helm uninstall does not delete local hostPath data by default. Use `./uninstall.
195
195
./uninstall.sh delete-all --keep-local-data
196
196
```
197
197
198
+
## 🔧 Advanced Configuration
199
+
200
+
### Monitoring Configuration
201
+
202
+
Kubernetes deployments enable monitoring through the `monitoring` component in the deployment script UI. The deployment script renders runtime Helm values for `global.monitoring.enabled`, `global.monitoring.provider`, and `global.monitoring.dashboardUrl`, and enables the `nexent-monitoring` subchart.
203
+
204
+
```bash
205
+
cd nexent/k8s/helm
206
+
./deploy.sh
207
+
```
208
+
209
+
If `k8s/helm/deploy.options` already exists, the script asks whether to reuse local configuration. Choose to reconfigure/overwrite local configuration, then select `monitoring` in the component menu and manually choose `grafana`, `phoenix`, `langfuse`, `langsmith`, `zipkin`, or `otlp` in the provider menu.
210
+
211
+
Supported providers:
212
+
213
+
| Provider | Purpose | Default URL |
214
+
|----------|---------|-------------|
215
+
|`otlp`| OpenTelemetry Collector only, useful for forwarding to an external platform | No dashboard |
216
+
|`phoenix`| Local Phoenix trace analysis |`http://localhost:30006`|
217
+
|`langfuse`| Local Langfuse observability stack |`http://localhost:30001`|
218
+
|`langsmith`| Forwarding to hosted LangSmith |`https://smith.langchain.com/`|
219
+
|`grafana`| Local Grafana + Tempo |`http://localhost:30002/d/nexent-llm-agent/nexent-agent-trace-monitoring?orgId=1`|
220
+
|`zipkin`| Local Zipkin |`http://localhost:30011`|
221
+
222
+
Before choosing the `langsmith` provider, configure `global.monitoring.langsmithApiKey` and `global.monitoring.langsmithProject` in `k8s/helm/nexent/values.yaml`. To change local Grafana, Langfuse, or dashboard ports, adjust the values file first, then re-run the deployment script, choose to reconfigure, and manually select `monitoring`.
223
+
224
+
Common Helm values:
225
+
226
+
| Value | Description |
227
+
|-------|-------------|
228
+
|`global.monitoring.enabled`| Enables OpenTelemetry export in the Nexent backend |
|`global.monitoring.dashboardUrl`| Frontend monitoring entry URL; leave empty to hide the entry |
232
+
|`global.monitoring.traceContentMode`| Trace content capture mode: `summary`, `metrics`, or `full`|
233
+
|`nexent-monitoring.<provider>.service.nodePort`| NodePort override for provider dashboards |
234
+
|`nexent-monitoring.langfuse.init.*`| Local Langfuse bootstrap organization, project, and admin account |
235
+
|`nexent-monitoring.grafana.adminUser` / `adminPassword`| Local Grafana admin credentials |
236
+
237
+
Check monitoring status:
238
+
239
+
```bash
240
+
kubectl get pods -n nexent | grep -E 'otel|phoenix|grafana|tempo|zipkin|langfuse'
241
+
kubectl get svc -n nexent | grep -E 'otel|phoenix|grafana|zipkin|langfuse'
242
+
```
243
+
244
+
> **Production note**: Replace default passwords, secrets, and the Langfuse `encryptionKey`. Prefer ClusterIP services or a controlled Ingress for dashboards.
245
+
246
+
### OAuth Login Configuration
247
+
248
+
OAuth login requires the `supabase` component. When enabling third-party login, deploy `supabase` and set `config.oauth.callbackBaseUrl` to the browser-accessible Nexent Web URL.
For local NodePort, a GitHub callback example is `http://localhost:30000/api/user/oauth/callback?provider=github`. In production, use a public HTTPS domain and register the exact same URL in the OAuth provider console.
| GDE |`GDE_URL`、`GDE_OAUTH_CLIENT_ID`、`GDE_OAUTH_CLIENT_SECRET`|`{OAUTH_CALLBACK_BASE_URL}/api/user/oauth/callback?provider=gde`|
267
+
| Link App |`LINK_APP_URL`、`LINK_APP_OAUTH_CLIENT_ID`、`LINK_APP_OAUTH_CLIENT_SECRET`|`{OAUTH_CALLBACK_BASE_URL}/api/user/oauth/callback?provider=link_app`|
0 commit comments