Skip to content

Commit a910b6e

Browse files
authored
Updating detectors (#47)
Updating detectors
1 parent 82cc746 commit a910b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/otel_traces_detector_jenkins.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
log_info "Detected, Jenkins..."
2121

22-
return_spaces_to_dashes "${REPO_NAME}-pipelines" "OTEL_SERVICE_NAME"
22+
return_spaces_to_dashes "${JOB_NAME}-pipelines" "OTEL_SERVICE_NAME"
2323

2424
detector_resource_attributes=(
2525
"jenkins.branch.name:${BRANCH_NAME}"

0 commit comments

Comments
 (0)