Search
遥测指标导出器类型。
TELEMETRY_METRIC_READER=prometheus
是否启动单独的服务。
off
/api/prometheus:metrics
on
host:port:metrics
TELEMETRY_PROMETHEUS_SERVER=off
启动单独服务时的服务端口,默认为 9464.
9464
TELEMETRY_PROMETHEUS_PORT=9464
使用 NocoBase 内部 API.
scrape_configs: - job_name: 'nocobase' metrics_path: '/api/prometheus:metrics' static_configs: - targets: ['localhost:13001']
启动单独服务。
scrape_configs: - job_name: 'nocobase' static_configs: - targets: ['localhost:9464']