Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Aug 2, 2024
1 parent 3c2edf6 commit da223b6
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 377 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
10 changes: 1 addition & 9 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 @@ -35,8 +31,4 @@
{%- if (semconv | select("deprecated") | list | count > 0) or (ctx.filter == "any" and semconv | select("stable") | list | count > 0) -%}
from deprecated import deprecated
{%- endif -%}
{%- endmacro-%}

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

0 comments on commit da223b6

Please sign in to comment.