Skip to content

Commit

Permalink
Merge pull request #1224 from jsonwan/github_perf/apm
Browse files Browse the repository at this point in the history
perf: 接入蓝鲸监控APM调用链追踪 #1161
  • Loading branch information
wangyu096 authored Aug 25, 2022
2 parents d55a5b1 + a8181c4 commit 2266a04
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ fi
cp -r support-files/bk-cmdb/ release/job/support-files/
cp -r support-files/bkiam/ release/job/support-files/
cp -r support-files/dependJarInfo/ release/job/support-files/
cp support-files/javaagent/* release/job/backend/
# Package dependJarLists
if [[ -d "support-files/dependJarLists/" ]]; then
cp -r support-files/dependJarLists/ release/job/support-files/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<conversionRule conversionWord="wEx" converterClass="org.springframework.boot.logging.logback.ExtendedWhitespaceThrowableProxyConverter" />

<include resource="logback/logback-app-props.xml"/>
<property name="CONSOLE_LOG_PATTERN" value="${CONSOLE_LOG_PATTERN:-%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/>
<property name="CONSOLE_LOG_PATTERN" value="${CONSOLE_LOG_PATTERN:-%clr(%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}}){faint} %clr(%5p [${APP_NAME:-anon-service},%X{trace_id:-},%X{span_id:-}]) %clr(${PID:- }){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/>
<property name="FILE_LOG_PATTERN" value="${FILE_LOG_PATTERN:-%d{${LOG_DATEFORMAT_PATTERN:-[yyyy-MM-dd HH:mm:ss.SSS]}} %5p [${APP_NAME:-anon-service},%X{trace_id:-},%X{span_id:-}] ${PID:- } --- [%t] %-40.40logger{39} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}}"/>
<property name="APP_LOG_FILE" value="${APP_LOG_DIR}/${APP_LOG_NAME}"/>
<property name="ERROR_LOG_FILE" value="${APP_LOG_DIR}/error.log"/>
Expand Down
4 changes: 2 additions & 2 deletions support-files/kubernetes/charts/bk-job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: "bk-job"
description: The BK-JOB is a ops script management and execution system with the capability of dealing with multiple tasks simultaneously.
type: application
version: 0.3.0-rc.24
appVersion: "3.6.0-rc.24"
version: 0.3.0-rc.25
appVersion: "3.6.0-rc.25"

dependencies:
- name: common
Expand Down
22 changes: 11 additions & 11 deletions support-files/kubernetes/charts/bk-job/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ gatewayConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-gateway
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -743,7 +743,7 @@ manageConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-manage
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -801,7 +801,7 @@ executeConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-execute
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -852,7 +852,7 @@ crontabConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-crontab
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -912,7 +912,7 @@ logsvrConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-logsvr
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -967,7 +967,7 @@ backupConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-backup
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -1017,7 +1017,7 @@ analysisConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-analysis
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -1067,7 +1067,7 @@ fileGatewayConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-file-gateway
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -1117,7 +1117,7 @@ fileWorkerConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-file-worker
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -1190,7 +1190,7 @@ frontendConfig:
image:
registry: hub.bktencent.com
repository: blueking/job-frontend
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1
Expand Down Expand Up @@ -1251,7 +1251,7 @@ migration:
# 镜像拉取仓库组织与镜像名称
repository: "blueking/job-migration"
# 镜像标签
tag: 3.6.0-rc.24
tag: 3.6.0-rc.25
# 镜像拉取策略
pullPolicy: IfNotPresent

Expand Down
2 changes: 1 addition & 1 deletion support-files/kubernetes/images/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ build_backend_module () {
fi
rm -rf tmp/*
cp $BACKEND_DIR/release/$SERVICE-$VERSION.jar tmp/$SERVICE.jar
cp lib/opentelemetry-javaagent.jar tmp/
cp $SUPPORT_FILES_DIR/javaagent/opentelemetry-javaagent.jar tmp/
cp backend/startup.sh tmp/
docker build -f backend/backend.Dockerfile -t $REGISTRY/$SERVICE:$VERSION tmp --network=host
if [[ $PUSH -eq 1 ]] ; then
Expand Down

0 comments on commit 2266a04

Please sign in to comment.