Skip to content

Commit aa9f5a4

Browse files
authored
Merge pull request #554 from tapdata/feat/TAP-11439-hearttask
Feat/tap 11439 hearttask
2 parents b06cc38 + af8a86a commit aa9f5a4

8 files changed

Lines changed: 30 additions & 6 deletions

File tree

packages/business/src/locale/lang/en.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,9 +1520,14 @@ export default {
15201520
'Click to view the IP address information for the fully managed agent.',
15211521
packages_business_demo_database_desc:
15221522
'Demo data source, allows for quick creation of data source information, with no need to prepare database details for an immediate experience.',
1523-
packages_business_api_server_p95_warn: 'When the time taken for any API Server request exceeds the alarm threshold P95',
1524-
packages_business_api_server_p99_warn: 'When the response time P99 of any API Server request exceeds the alarm threshold',
1525-
packages_business_api_server_error_rate_warn: 'When the error rate of any API Server request exceeds the alarm threshold',
1523+
packages_business_api_server_p95_warn:
1524+
'When the time taken for any API Server request exceeds the alarm threshold P95',
1525+
packages_business_api_server_p99_warn:
1526+
'When the response time P99 of any API Server request exceeds the alarm threshold',
1527+
packages_business_api_server_error_rate_warn:
1528+
'When the error rate of any API Server request exceeds the alarm threshold',
1529+
packages_business_task_source_no_incremental_event:
1530+
'When the source has enabled the heartbeat table but no incremental events have been received for 60 consecutive seconds',
15261531
packages_business_use_ssl: 'Use SSL',
15271532
packages_business_certificate_authority: 'CA File',
15281533
packages_business_client_certificate: 'Client Certificate File',

packages/business/src/locale/lang/zh-CN.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,9 +781,14 @@ export default {
781781
packages_business_milestone_list_haoshi: '耗时',
782782
packages_business_milestone_list_guanjianbuzhou: '关键步骤',
783783
packages_business_nodes_list_laiyuan: '来源',
784-
packages_business_api_server_p95_warn: '当任一API Server 请求耗时P95超过告警阈值时',
785-
packages_business_api_server_p99_warn: '当任一API Server 请求耗时P99超过告警阈值时',
786-
packages_business_api_server_error_rate_warn: '当任一API Server 请求错误率超过告警阈值时',
784+
packages_business_api_server_p95_warn:
785+
'当任一API Server 请求耗时P95超过告警阈值时',
786+
packages_business_api_server_p99_warn:
787+
'当任一API Server 请求耗时P99超过告警阈值时',
788+
packages_business_api_server_error_rate_warn:
789+
'当任一API Server 请求错误率超过告警阈值时',
790+
packages_business_task_source_no_incremental_event:
791+
'当源端已开启心跳表,连续 60 秒未接收到增量事件时',
787792
//表详情
788793
daas_data_discovery_previewdrawer_qingshurumingcheng: '请输入名称',
789794
daas_data_discovery_previewdrawer_jiedian: '节点',

packages/business/src/locale/lang/zh-TW.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,7 @@ export default {
719719
packages_business_api_server_p95_warn: '當任一API Server請求耗時P95超過告警閾值時',
720720
packages_business_api_server_p99_warn: '當任一API Server請求耗時P99超過告警閾值時',
721721
packages_business_api_server_error_rate_warn: '當任一API Server請求錯誤率超過告警閾值時',
722+
packages_business_task_source_no_incremental_event: '當源端已開啟心跳表,連續 60 秒未接收到增量事件時',
722723
packages_business_setting_alarmnotification_dangrenwuuP: 'Agent服务啓動時',
723724
packages_business_setting_alarmnotification_msshigaojing: ' 時告警',
724725
packages_business_setting_alarmnotification_lianxu: '連續',

packages/business/src/views/setting/AlarmSetting.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ const keyMapping = reactive({
229229
API_SERVER_P95_WARN: t('packages_business_api_server_p95_warn'),
230230
API_SERVER_P99_WARN: t('packages_business_api_server_p99_warn'),
231231
API_SERVER_ERROR_RATE_WARN: t('packages_business_api_server_error_rate_warn'),
232+
TASK_SOURCE_NO_INCREMENTAL_EVENT: t(
233+
'packages_business_task_source_no_incremental_event',
234+
),
232235
})
233236
const variables = ref([])
234237

packages/dag/src/MonitorView.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { batchMeasurements } from '@tap/api/src/core/measurement'
33
import { getTaskById, getTaskRecords } from '@tap/api/src/core/task'
44
import TaskStatus from '@tap/business/src/components/TaskStatus.vue'
5+
import { ALARM_LEVEL_SORT } from '@tap/business/src/shared/const'
56
import SharedCacheDetails from '@tap/business/src/views/shared-cache/Details.vue'
67
import SharedCacheEditor from '@tap/business/src/views/shared-cache/Editor.vue'
78
import SharedMiningEditor from '@tap/business/src/views/shared-mining/Editor.vue'

packages/i18n/src/locale/lang/en.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,4 +659,7 @@ export default {
659659
public_import_count: '{0} items imported',
660660
public_apply_to_form: 'Apply to Form',
661661
public_copy_text: 'Copy Text',
662+
public_last_capture_time: 'Last Capture Time',
663+
public_alarm_date: 'Alarm Time',
664+
public_duration: 'Duration',
662665
}

packages/i18n/src/locale/lang/zh-CN.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,4 +651,7 @@ export default {
651651
public_import_count: '已导入 {0} 条',
652652
public_apply_to_form: '应用到表单',
653653
public_copy_text: '复制文本',
654+
public_last_capture_time: '最近观测时间',
655+
public_alarm_date: '告警时间',
656+
public_duration: '时长',
654657
}

packages/i18n/src/locale/lang/zh-TW.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,4 +648,7 @@ export default {
648648
public_import_count: '已匯入 {0} 條',
649649
public_apply_to_form: '套用到表單',
650650
public_copy_text: '複製文字',
651+
public_last_capture_time: '最近觀測時間',
652+
public_alarm_date: '告警時間',
653+
public_duration: '時長',
651654
}

0 commit comments

Comments
 (0)