Telemetry
TelemetryEnterprise Edition+Overview
The Telemetry module in NocoBase is built on top of OpenTelemetry, providing unified and extensible observability capabilities for NocoBase applications. This module supports collecting and exporting various application metrics, including HTTP requests and system resource usage.
Environment Variables
To enable the telemetry module, you need to configure the relevant environment variables.
TELEMETRY_ENABLED
Set to on.
TELEMETRY_SERVICE_NAME
Service name.
TELEMETRY_METRIC_READER
Metric exporters. Multiple exporters are supported and separated by commas. Refer to the documentation of existing exporters for available values.
TELEMETRY_METRICS
Metrics to export, separated by commas. Available values can be found in Metrics.
TELEMETRY_HTTP_RECORD_THRESHOLD
Threshold for recording HTTP request duration (http_request_cost), in milliseconds. The default value is 0, meaning all requests are recorded. When set to a value greater than 0, only requests whose duration exceeds this threshold will be recorded.
Metrics
The current metrics recorded by the application are listed below. If you need additional metrics, you can refer to the development documentation for extension or contact us.

