tachybase_todo/packages/core/telemetry/src/config.ts

10 lines
224 B
TypeScript
Raw Normal View History

export const telemetryOptions = {
enabled: process.env.TELEMETRY_ENABLED === 'on',
metric: {
readerName: process.env.OTEL_METRICS_READER,
},
trace: {
processorName: process.env.OTEL_TRACES_PROCESSOR,
},
};