From ab6b053cb3e7ebff44369dd304e45a446ce22f40 Mon Sep 17 00:00:00 2001 From: jsonwan Date: Wed, 15 Feb 2023 16:42:17 +0800 Subject: [PATCH 1/3] =?UTF-8?q?perf:=20=E4=BA=8C=E8=BF=9B=E5=88=B6?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E6=A8=A1=E6=9D=BF=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=8C=87=E5=AE=9Atrace=E6=98=AF=E5=90=A6=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E4=B8=8E=E4=B8=8A=E6=8A=A5=E6=AF=94=E4=BE=8B=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=20#1746?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- support-files/templates/#etc#job#job-common#application.yml | 6 ++++-- support-files/templates/job.env | 4 ---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/support-files/templates/#etc#job#job-common#application.yml b/support-files/templates/#etc#job#job-common#application.yml index 569ee1d801..5f1031977d 100644 --- a/support-files/templates/#etc#job#job-common#application.yml +++ b/support-files/templates/#etc#job#job-common#application.yml @@ -11,13 +11,15 @@ spring: sleuth: otel: exporter: - enabled: __BK_JOB_TRACE_REPORT_ENABLED__ + # 是否上报trace数据至蓝鲸监控APM + enabled: false otlp: endpoint: __BK_JOB_TRACE_REPORT_PUSH_URL__ resource: bkDataToken: __BK_JOB_TRACE_REPORT_SECURE_KEY__ config: - traceIdRatioBased: __BK_JOB_TRACE_REPORT_RATIO__ + # trace数据上报比率,取值范围为0~1,根据作业平台与监控平台负载适当调节该比率 + traceIdRatioBased: 0.1 app: code: __BK_JOB_APP_CODE__ secret: __BK_JOB_APP_SECRET__ diff --git a/support-files/templates/job.env b/support-files/templates/job.env index 6e0d88a381..c608e244de 100644 --- a/support-files/templates/job.env +++ b/support-files/templates/job.env @@ -25,14 +25,10 @@ BK_JOB_SECURITY_USERNAME=job BK_JOB_SECURITY_PASSWORD= BK_JOB_ACTUATOR_USERNAME=job BK_JOB_ACTUATOR_PASSWORD= -# 是否上报trace数据至蓝鲸监控APM -BK_JOB_TRACE_REPORT_ENABLED=false # trace数据上报地址:监控平台中目标APM应用的PUSH URL BK_JOB_TRACE_REPORT_PUSH_URL= # trace数据上报密钥:监控平台中目标APM应用的SecureKey BK_JOB_TRACE_REPORT_SECURE_KEY= -# trace数据上报比率,取值范围为0~1,根据作业平台与监控平台负载适当调节该比率 -BK_JOB_TRACE_REPORT_RATIO=0.1 # 3.3.3新增 Job Encryption and decryption key,一旦确认不能修改 BK_JOB_ENCRYPT_PASSWORD= From 99feda50467d68386abc6a591b7a3f28c4cd6115 Mon Sep 17 00:00:00 2001 From: hLinx <327159425@qq.com> Date: Mon, 20 Feb 2023 17:10:33 +0800 Subject: [PATCH 2/3] =?UTF-8?q?hotfix:=20=E5=A4=8D=E5=88=B6IP=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E7=A1=AE=E8=AE=A4=EF=BC=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E4=BA=864=E4=B8=AA=EF=BC=8C=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E4=B8=8A=E7=B2=98=E8=B4=B4=E5=8F=AA=E6=9C=893?= =?UTF-8?q?=E4=B8=AA=EF=BC=8C=E5=9B=A0=E4=B8=BA1=E4=B8=AA=E6=B2=A1?= =?UTF-8?q?=E6=9C=89IPv4=EF=BC=88=E6=88=96=E8=80=85=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E8=83=BD=E9=80=89=E6=8B=A9=E5=A4=8D=E5=88=B6=20IPv6=EF=BC=89?= =?UTF-8?q?=20#1680?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../choose-ip/components/action-extend.vue | 4 +- .../components/dropdown-menu/group.vue | 90 +++++++++++++++ .../components/dropdown-menu/index.vue | 68 ++++++++++++ .../components/dropdown-menu/item.vue | 29 +++++ .../task-step/common/execute-target/index.vue | 104 ++++++++++-------- src/frontend/src/i18n/local.js | 14 ++- 6 files changed, 259 insertions(+), 50 deletions(-) create mode 100644 src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/group.vue create mode 100644 src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/index.vue create mode 100644 src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/item.vue diff --git a/src/frontend/src/components/choose-ip/components/action-extend.vue b/src/frontend/src/components/choose-ip/components/action-extend.vue index 56e92261d9..1e12b25e09 100644 --- a/src/frontend/src/components/choose-ip/components/action-extend.vue +++ b/src/frontend/src/components/choose-ip/components/action-extend.vue @@ -41,12 +41,12 @@
- {{ $t('复制全部IP') }} + {{ $t('复制所有 IP') }}
- {{ $t('复制异常IP') }} + {{ $t('复制异常 IP') }}
diff --git a/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/group.vue b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/group.vue new file mode 100644 index 0000000000..f987653c35 --- /dev/null +++ b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/group.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/index.vue b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/index.vue new file mode 100644 index 0000000000..bcab63ce2a --- /dev/null +++ b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/index.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/item.vue b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/item.vue new file mode 100644 index 0000000000..7b05d4fa2d --- /dev/null +++ b/src/frontend/src/components/task-step/common/execute-target/components/dropdown-menu/item.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/frontend/src/components/task-step/common/execute-target/index.vue b/src/frontend/src/components/task-step/common/execute-target/index.vue index 923a86c592..067e18a282 100644 --- a/src/frontend/src/components/task-step/common/execute-target/index.vue +++ b/src/frontend/src/components/task-step/common/execute-target/index.vue @@ -89,23 +89,40 @@ + - - -