Skip to content

Commit

Permalink
fix service name
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Oct 3, 2024
1 parent da34239 commit 01de8e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/rapids-otel-wrap
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mkfifo "$tmpdir/status_pipe"

start=$(date ${TIME_FORMAT});

RAPIDS_SERVICE_NAME="${RAPIDS_SERVICE_NAME:-${GITHUB_JOB:-"default-telemetry-service-name"}}"
RAPIDS_OTEL_SERVICE_NAME="${RAPIDS_OTEL_SERVICE_NAME:-${GITHUB_JOB:-"default-telemetry-service-name"}}"
RAPIDS_OTEL_TRACES_EXPORTER="${RAPIDS_OTEL_TRACES_EXPORTER:-${RAPIDS_OTEL_EXPORTER:-"console"}}"
RAPIDS_OTEL_METRICS_EXPORTER="${RAPIDS_OTEL_METRICS_EXPORTER:-${RAPIDS_OTEL_EXPORTER:-"console"}}"
RAPIDS_OTEL_LOGS_EXPORTER="${RAPIDS_OTEL_LOGS_EXPORTER:-${RAPIDS_OTEL_EXPORTER:-"console"}}"
Expand All @@ -39,7 +39,7 @@ if [[ $(type otel-cli >/dev/null 2>&1) -eq 0 ]]; then
(
set -x
opentelemetry-instrument \
--service_name "${RAPIDS_SERVICE_NAME}" \
--service_name "${RAPIDS_OTEL_SERVICE_NAME}" \
--traces_exporter "${RAPIDS_OTEL_TRACES_EXPORTER}" \
--metrics_exporter "${RAPIDS_OTEL_METRICS_EXPORTER}" \
--logs_exporter "${RAPIDS_OTEL_LOGS_EXPORTER}" \
Expand Down

0 comments on commit 01de8e2

Please sign in to comment.