Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Aug 2, 2024
1 parent 3c2edf6 commit 364f01e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 384 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/semconv/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT_DIR="${SCRIPT_DIR}/../.."

# freeze the spec version to make SemanticAttributes generation reproducible
SEMCONV_VERSION=1.26.0
SEMCONV_VERSION=1.27.0
SEMCONV_VERSION_TAG=v$SEMCONV_VERSION
OTEL_WEAVER_IMG_VERSION=0.7.0
OTEL_WEAVER_IMG_VERSION=0.8.0
INCUBATING_DIR=_incubating
cd ${SCRIPT_DIR}

Expand Down
8 changes: 0 additions & 8 deletions scripts/semconv/templates/registry/common.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@

{% endmacro -%}

{%- macro to_const_name(attr_name) -%}
{{attr_name | upper | replace('.', '_')}}
{%- endmacro %}

{%- macro str_or_empty(str) -%}
{% if str is none %}{{""}}{% else %}{{str}}{% endif %}
{%- endmacro %}
Expand All @@ -36,7 +32,3 @@
from deprecated import deprecated
{%- endif -%}
{%- endmacro-%}

{%- macro print_value(type, value) -%}
{%- if type == "string" -%}"{{value}}"{%-else-%}{{value}}{%-endif-%}
{%- endmacro -%}
Loading

0 comments on commit 364f01e

Please sign in to comment.