Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 34 additions & 73 deletions sqle/locale/active.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,58 +17,22 @@ ApMetaAliRdsMySQLAuditLog = "AliRDS MySQL audit log"
ApMetaAliRdsMySQLSlowLog = "AliRDS MySQL slow log"
ApMetaAllAppExtract = "Application SQL extraction"
ApMetaBaiduRdsMySQLSlowLog = "Baidu Cloud RDS MySQL slow log"
ApMetaCollectTime = "collect time"
ApMetaCustom = "Custom"
ApMetaDB2SlowLog = "DB2 slow log"
ApMetaDB2TopSQL = "DB2 Top SQL"
ApMetaDistributedLock = "Distributed Lock"
ApMetaDmProcesslist = "DM ProcessList"
ApMetaDmSlowLog = "DM slow log"
ApMetaDmTopSQL = "DM TOP SQL"
ApMetaGaussDBProcesslist = "GaussDB Processlist"
ApMetaGaussDBSlowLog = "GaussDB Slow Log"
ApMetaGoldenDBTopSQL = "GoldenDB TOP SQL"
ApMetaHanaTopSQL = "HANA TOP SQL"
ApMetaHiveSlowLog = "Hive slow log"
ApMetaHuaweiRdsMySQLSlowLog = "Huawei Cloud RDS MySQL slow log"
ApMetaMDBSlowLog = "slow log(Monitor DB)"
ApMetaMSSQLTopSQL = "SQL Server TOP SQL"
ApMetaMySQLProcesslist = "Processlist"
ApMetaMySQLSchemaMeta = "Database schema metadata"
ApMetaMySQLTopSQL = "MySQL TOP SQL"
ApMetaObForOracleTopSQL = "OceanBase For Oracle TOP SQL"
ApMetaObForOracleSlowLog = "OceanBase For Oracle Slow Log"
ApMetaProcesslist = "active sessions"
ApMetaOceanBaseForMySQLFullCollect = "Full Collect"
ApMetaOceanBaseForMySQLProcesslist = "Processlist"
ApMetaOceanBaseForMySQLSlowLog = "OceanBase For MySQL slow log"
ApMetaOracleProcesslist = "Oracle active sessions"
ApMetaOracleSlowLog = "Oracle slow log"
ApMetaOracleTopSQL = "Oracle TOP SQL"
ApMetaPerformanceCollect = "Performance metrics"
ApMetaPerformanceCollectTips = "Performance metric collection will incur significant performance overhead, so please enable it with caution. Once enabled, the system will continuously collect performance data (such as QPS, number of connections, etc.) for this data source and generate performance trend charts, which will be displayed on the Performance Insights page."
ApMetaPostgreSQLTopSQL = "TOP SQL"
ApMetaPostgreSQLProcesslist = "PostgreSQL active sessions"
ApMetaPostgreSQLSlowLog = "Slow log"
ApMetaQueries = "QPS"
ApMetaSQLServerPerformanceCollect = "SQLServer performance collect"
ApMetaSQLServerPerformanceCollectTips = "Periodically collect performance metrics such as connections and QPS from SQLServer instances"
ApMetaSQLServerProcesslist = "SQLServer active sessions"
ApMetaHanaProcesslist = "HANA active sessions"
ApMetaHanaSlowLog = "HANA slow log"
ApMetaHiveProcesslist = "Hive active sessions"
ApMetaSQLServerSlowLog = "SQLServer slow SQL collect"
ApMetaSchemaMeta = "Database schema metadata"
ApMetaSlowLog = "Slow log"
ApMetaThreadsConnected = "ThreadsConnected"
ApMetaTiDBAuditLog = "TiDB audit log"
ApMetaTiDBSlowLog = "TiDB slow log"
ApMetaTiDBTopSQL = "TiDB TOP SQL"
ApMetaTBaseProcesslist = "TBase Active Session Collection"
ApMetaTiDBProcesslist = "TiDB Processlist"
ApMetaTopSQL = "Top SQL"
ApMetricEngine = "engine"
ApMetricHiveSlowLogDbUser = "Execution user"
ApMetricNameActiveTimeTotal = "Total active time (ms)"
ApMetricNameActiveWaitTimeTotal = "Total active wait time (ms)"
ApMetricNameBufferGetCounter = "Logical read count"
Expand All @@ -79,17 +43,14 @@ ApMetricNameChecksum = "checksum"
ApMetricNameCounter = "Execution count"
ApMetricNameCounterMoreThan = "Occurrence count > "
ApMetricNameDBUser = "User"
ApMetricNameDiskMax = "Maximum disk space used"
ApMetricNameDiskReadAvg = "Average physical read count"
ApMetricNameDiskReadTotal = "Physical read count"
ApMetricNameFirstQueryAt = "First execution time"
ApMetricNameFullTableScanCount = "Full table scan count"
ApMetricNameGrantedLockConnectionId = "granted lock connection id"
ApMetricNameGrantedLockId = "granted lock id"
ApMetricNameGrantedLockSql = "granted lock SQL"
ApMetricNameGrantedLockTrxId = "granted lock transaction id"
ApMetricNameHost = "host"
ApMetricNameInstance = "Node address"
ApMetricNameIoWaitTimeAvg = "Average IO wait time (ms)"
ApMetricNameLastQueryAt = "Last execution time"
ApMetricNameLastReceiveTimestamp = "Last time matched to fingerprint"
Expand All @@ -101,11 +62,8 @@ ApMetricNameLockWaitTimeMax = "Max lock wait time(ms)"
ApMetricNameLockWaitTimeTotal = "Total lock wait time (ms)"
ApMetricNameLogicReadPageTotal = "Total logical read pages"
ApMetricNameMaxQueryTime = "Max execution time"
ApMetricNameMemMax = "Maximum memory used"
ApMetricNameMemorySizeTotal = "Total memory consumption(MB)"
ApMetricNameMetaName = "Object name"
ApMetricNameMetaType = "Object type"
ApMetricNameNoIndexUsedTotal = "Unused-index count"
ApMetricNamePhyReadPageTotal = "Physical read pages"
ApMetricNameQueryTimeAvg = "Average execution time(s)"
ApMetricNameQueryTimeAvgMS = "Average execution time(ms)"
Expand All @@ -114,14 +72,11 @@ ApMetricNameQueryTimeMax = "Max execution time(s)"
ApMetricNameQueryTimeMaxMS = "Max execution time(ms)"
ApMetricNameQueryTimeTotal = "Total execution time(s)"
ApMetricNameQueryTimeTotalMS = "Total execution time(ms)"
ApMetricNameQueryTimeTotalUS = "Total execution time(μs)"
ApMetricNameRequestTime = "Request Time"
ApMetricNameRowExaminedAvg = "Average examined rows"
ApMetricNameRowExaminedAvgMoreThan = "Average examined rows > "
ApMetricNameRowsAffectedAvg = "Average affected rows"
ApMetricNameRowsAffectedMax = "Max affected rows"
ApMetricNameTable = "table name"
ApMetricNameTenantName = "Tenant Name"
ApMetricNameTransactionStarted = "transaction started"
ApMetricNameTrxWaitStarted = "transaction wait started"
ApMetricNameUserIOWaitTimeTotal = "I/O wait time (s)"
Expand All @@ -131,7 +86,6 @@ ApMetricNameWaitingLockSql = "waiting lock sql"
ApMetricNameWaitingLockTrxId = "waiting lock transaction id"
ApMetricQueryTimeAvg = "Average query time(s)"
ApMetricRowExaminedAvg = "Average examined rows"
ApMetricUserClientIP = "Client IP"
ApNum = "Number"
ApPriority = "Priority"
ApPriorityHigh = "High priority"
Expand All @@ -147,18 +101,10 @@ AuditRecordTagIncrement = "Increment"
ConfigCodingTest = "This is a test message, used to test whether the function of SQLE push to Coding platform is normal."
ConfigFeishuTestContent = "This is a test approval, used to test whether the SQLE Feishu approval function is normal."
ConfigTestAudit = "Test approval"
DatabaseCompareNotSupportedByDbType = "Database type %s does not support structure comparison. Please ensure SQLE has loaded a driver that supports %s."
DefaultRuleTemplatesDesc = "Default rule template"
DefaultTemplatesDesc = "%s default template"
EnumKpiTypeDiskMax = "Maximum disk space used"
EnumKpiTypeExecuteCount = "Execution count"
EnumKpiTypeFullTableScan = "Full table scan count"
EnumKpiTypeLockWaitTotal = "Total lock wait time"
EnumKpiTypeMemMax = "Maximum memory used"
EnumKpiTypeNoIndexUsedTotal = "Unused-index count"
EnumSlowLogFileSource = "Collected from slow.log file, need to adapt scanner"
EnumSlowLogTableSource = "Collected from mysql.slow_log table"
EnumkpiTypeQueryTime = "Execution time"
ExportCreateTime = "Created time"
ExportCreator = "Creator"
ExportDataSource = "Db instance"
Expand Down Expand Up @@ -187,14 +133,6 @@ ExportWorkflowName = "Task name"
ExportWorkflowNumber = "Task ID"
FileOrderMethodPrefixNumAsc = "Prefix number ascending"
FileOrderMethodSuffixNumAsc = "Suffix number ascending"
HiveSlowLogErrAuthInvalid = "Invalid Hive datasource `auth` parameter. Allowed values: `NOSASL` / `NONE` / `LDAP` / `CUSTOM`. Please correct it on the SQLE datasource management page. Origin error: %s"
HiveSlowLogErrColumnMismatch = "Hive slow log collection SQL failed: invalid column reference. The Hive version may differ from the SQLE adapted baseline (Hive 4.2). Please share the output of `SELECT version()` with the SQLE maintainer. Origin error: %s"
HiveSlowLogErrConnectFailed = "Hive instance connection failed: HiveServer2 may have SASL/LDAP authentication enabled while the datasource `auth` is set to `NOSASL`. Please edit this Hive datasource on the SQLE datasource management page and change `auth` to `NONE` or `LDAP`. Origin error: %s"
HiveSlowLogErrHS2ServerError = "Hive HS2 server returned an error. Common causes: 1) `sys.query_history` table does not exist - please ensure `hive.query.history.enabled=true` is set in HS2 `hive-site.xml` and Restart HS2; 2) `sys` database does not exist - same as above, HS2 auto-creates it after restart; 3) Hive version differs from the SQLE adapted baseline (Hive 4.2). Please inspect HS2 server-side logs for details. Origin error: %s"
HiveSlowLogErrPluginTransportClosing = "Hive slow log collection failed: the sqle-hive-plugin subprocess exited abnormally (gRPC channel closed with the signal `transport is closing`). The most common trigger is an invalid Hive datasource `auth` value (gohive panics inside `innerConnect` with `panic: Unrecognized auth`, and the panic message is not propagated across the gRPC channel after the plugin process crashes). Please self-check in the following order: 1) Verify on the SQLE datasource management page that `auth` is one of the allowed values: `NOSASL` / `NONE` / `LDAP` / `CUSTOM`; 2) Confirm host / port reachability; 3) Inspect the plugin / HS2 server-side logs for the panic stack. Origin error: %s"
HiveSlowLogErrSysDbNotFound = "Hive instance `sys` database does not exist. Please contact your Hive platform operator: 1) set `hive.query.history.enabled=true` in HS2 `hive-site.xml`; 2) restart HS2 so that it auto-creates the `sys.query_history` table. Origin error: %s"
HiveSlowLogErrTableNotFound = "Hive instance `sys.query_history` table does not exist. HS2 may not have query history enabled. Please verify that `hive.query.history.enabled` is true and HS2 has been restarted. Origin error: %s"
HiveSlowLogErrUnknown = "Hive slow log collection failed: %s"
LicenseDurationOfRunning = "Running days"
LicenseEstimatedMaturity = "Estimated maturity date"
LicenseInstanceNum = "Instance count"
Expand All @@ -213,15 +151,13 @@ NotifyManageRecordBodyProj = "Project: %v"
NotifyManageRecordBodyRecord = "- SQL ID: %v\n- Data Source Name: %v\n- Environment: %v\n- SQL: %v\n- Trigger Rule Level: %v\n- SQL Audit Recommendation: %v\n================================"
NotifyManageRecordBodyTime = "Record Time Period: %v - %v"
NotifyManageRecordSubject = "SQL Management Record"
NotifyWorkflowBodyCancel = "🚫 Workflow has been canceled\n"
NotifyWorkflowBodyComplete = "✅ Workflow has been manually completed\n"
NotifyWorkflowBodyConfigUrl = "Please add a global URL in the system settings - global configuration"
NotifyWorkflowBodyHead = "\n📋 Workflow Topic: %v\n📍 Project: %v\n🆔 Workflow ID: %v\n📝 Workflow Description: %v\n👤 Applicant: %v\n⏰ Creation Time: %v\n"
NotifyWorkflowBodyInstanceAndSchema = "🗄️ Data Source: %v\n📊 Schema: %v\n"
NotifyWorkflowBodyInstanceErr = "❌ Failed to obtain data source instance: %v\n"
NotifyWorkflowBodyLink = "🔗 Workflow Link: %v"
NotifyWorkflowBodyReason = "❌ Rejection Reason: %v\n"
NotifyWorkflowBodyReport = "✅ Workflow Audit Score: %v\n"
NotifyWorkflowBodyReport = "✅ Workflow Audit Score: %v\n📈 Workflow Audit Pass Rate: %v%%\n"
NotifyWorkflowBodyStartEnd = "▶️ Execute Start Time: %v\n◀️ Execute End Time: %v\n"
NotifyWorkflowBodyWorkFlowErr = "❌ Failed to read workflow task content, please check the workflow status through the SQLE interface"
OpAuditPlanSave = "Create audit task"
Expand Down Expand Up @@ -275,6 +211,31 @@ OprActionUpdateSystemVariables = "Edit system variables"
OprActionUpdateUser = "Edit user"
OprActionUpdateWechatConfiguration = "Edit WeChat configuration"
OprActionUpdateWorkflowTemplate = "Edit workflow template"
OprActionUpdateWorkflow = "Update workflow"
OprActionUpdateFeishuAuditConfiguration = "Edit Feishu audit configuration"
OprActionUpdateWechatAuditConfiguration = "Edit WeChat audit configuration"
OprActionUpdateCodingConfiguration = "Edit Coding configuration"
OprActionCreateAuditWhitelist = "Create audit whitelist"
OprActionUpdateAuditWhitelist = "Update audit whitelist"
OprActionDeleteAuditWhitelist = "Delete audit whitelist"
OprActionCreateBlacklist = "Create blacklist"
OprActionUpdateBlacklist = "Update blacklist"
OprActionDeleteBlacklist = "Delete blacklist"
OprActionUpdateReportPushConfig = "Edit report push configuration"
OprActionCreateCustomRule = "Create custom rule"
OprActionUpdateCustomRule = "Update custom rule"
OprActionDeleteCustomRule = "Delete custom rule"
OprActionCreateSqlVersion = "Create SQL version"
OprActionUpdateSqlVersion = "Update SQL version"
OprActionDeleteSqlVersion = "Delete SQL version"
OprActionLockSqlVersion = "Lock SQL version"
OprActionCreateInstanceAuditPlan = "Create instance audit plan"
OprActionUpdateInstanceAuditPlan = "Update instance audit plan"
OprActionDeleteInstanceAuditPlan = "Delete instance audit plan"
OprActionCreatePipeline = "Create pipeline"
OprActionUpdatePipeline = "Update pipeline"
OprActionDeletePipeline = "Delete pipeline"
OprActionGenSSHKey = "Generate SSH key"
OprAddAuditPlanWithName = "Create audit plan, name: %v"
OprAddAuditWhitelist = "Add SQL whitelist"
OprAddBlacklist = "Add blacklist"
Expand Down Expand Up @@ -336,6 +297,14 @@ OprTypeGlobalUser = "Platform user"
OprTypeInstance = "DB Instance"
OprTypeProject = "Project"
OprTypeProjectMember = "Project Member"
OprTypeAuditWhitelist = "Audit whitelist"
OprTypeBlacklist = "Blacklist"
OprTypeReportPush = "Report push"
OprTypeCustomRule = "Custom rule"
OprTypeSqlVersion = "SQL version"
OprTypeInstanceAuditPlan = "Instance audit plan"
OprTypePipeline = "Pipeline"
OprTypeRuleKnowledge = "Rule knowledge"
OprTypeProjectRuleTemplate = "Project Rule Template"
OprTypeSystemConfiguration = "System Configuration"
OprTypeWorkflow = "Workflow"
Expand All @@ -353,20 +322,14 @@ ParamDBInstanceId = "DB Instance ID"
ParamFirstCollectDurationWithMaxDays = "Log collection time range when starting task (unit: hour, max %d days)"
ParamFirstSqlsScrappedHours = "Slow log collection time range when starting task (unit: hour, only for mysql.slow_log)"
ParamIndicator = "Indicator"
ParamInstance = "Node address(0 means all nodes)"
ParamOrderByColumn = "Sort Column in V$SQLAREA"
ParamOrderByColumnGeneric = "Sort Column"
ParamProjectId = "Project ID"
ParamRdsPath = "RDS Open API Address"
ParamRegion = "Region of current RDS Instance (Example: cn-east-2)"
ParamSQLMinSecond = "SQL Minimum Execution Time (Second)"
ParamSlowSqlThreshold = "Slow SQL Threshold (Second)"
ParamFirstSqlsScrappedHoursGeneric = "Time range for pulling slow logs on task startup (unit: hours)"
ParamSlowLogCollectInput = "Collect Source"
ParamTimeSpan = "Time span(hours)"
ParamTopN = "Top N"
ParamPgSlowSQLMinSecond = "Slow SQL threshold (seconds)"
ParamkpiType = "Metrics"
PipelineCmdUsage = "#Usage#\n1. Ensure the user running this command has execution permission for scannerd.\n2. Execute the start command in the directory where the scannerd file is located.\n#Start Command#\n"
RuleLevelError = "Error"
RuleLevelNormal = "Normal"
Expand Down Expand Up @@ -431,8 +394,6 @@ TaskStatusExecuteSucceeded = "Execution succeeded"
TaskStatusExecuting = "Executing"
TaskStatusManuallyExecuted = "Manually executed"
WordIs = "is"
WorkflowNotifyTypeCancel = "SQL Workflow Canceled"
WorkflowNotifyTypeComplete = "SQL Workflow Manually Completed"
WorkflowNotifyTypeDefault = "SQL Workflow Unknown Requests"
WorkflowNotifyTypeExecuteFail = "SQL Workflow Execute Failed"
WorkflowNotifyTypeExecuteSuccess = "SQL Workflow Execute Succeeded"
Expand Down
Loading
Loading