Files
n8n_Demo/n8n-n8n-1.109.2/packages/@n8n/config/src/configs/sentry.config.ts
2025-09-08 04:48:28 +08:00

29 lines
578 B
TypeScript
Executable File

import { Config, Env } from '../decorators';
@Config
export class SentryConfig {
/** Sentry DSN (data source name) for the backend. */
@Env('N8N_SENTRY_DSN')
backendDsn: string = '';
/** Sentry DSN (data source name) for the frontend. */
@Env('N8N_FRONTEND_SENTRY_DSN')
frontendDsn: string = '';
/**
* Environment of the n8n instance.
*
* @example 'production'
*/
@Env('ENVIRONMENT')
environment: string = '';
/**
* Name of the deployment, e.g. cloud account name.
*
* @example 'janober'
*/
@Env('DEPLOYMENT_NAME')
deploymentName: string = '';
}