Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Aug 7, 2024
1 parent 9f71652 commit f496eea
Show file tree
Hide file tree
Showing 6 changed files with 1,025 additions and 94 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
CRATE_DIR="${SCRIPT_DIR}/../"

# freeze the spec version and generator version to make generation reproducible
SPEC_VERSION=1.26.0
SEMCOVGEN_VERSION=0.24.0
SPEC_VERSION=1.27.0
SEMCOVGEN_VERSION=0.25.0

cd "$CRATE_DIR"

Expand Down Expand Up @@ -35,7 +35,7 @@ docker run --rm \
-v "${CRATE_DIR}/scripts/templates:/templates" \
-v "${CRATE_DIR}/src:/output" \
otel/semconvgen:$SEMCOVGEN_VERSION \
--only span,event,scope \
--only span,event \
-f /source code \
--template /templates/semantic_attributes.rs.j2 \
--output /output/trace.rs \
Expand Down
Loading

0 comments on commit f496eea

Please sign in to comment.