Skip to content

Commit 0d56601

Browse files
committed
cleanup
1 parent bdef3df commit 0d56601

File tree

5 files changed

+1
-148
lines changed

5 files changed

+1
-148
lines changed

api/include/opentelemetry/trace/semantic_conventions.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
// FIXME, DEBUG
7-
#error "Die"
8-
96
/*
107
DO NOT EDIT, this is an Auto-generated file
118
from buildscripts/semantic-convention/templates/SemanticAttributes.h.j2

buildscripts/semantic-convention/templates/SemanticAttributes.h.j2

Lines changed: 0 additions & 123 deletions
This file was deleted.

buildscripts/semantic-convention/templates/registry/common.j2

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,3 @@
3535

3636
{% endmacro -%}
3737

38-
{%- macro str_or_empty(str) -%}
39-
{% if str is none %}{{""}}{% else %}{{str}}{% endif %}
40-
{%- endmacro %}
41-
42-
{%- macro remove_trailing_dots(str) -%}
43-
{%- if str[-1:] == '.' -%}{{ remove_trailing_dots(str[:-1]) }}{%- else -%}{{ str }}{%- endif -%}
44-
{%- endmacro -%}
45-
46-
{%- macro comment_with_prefix(str, prefix) -%}
47-
{{remove_trailing_dots(str | trim(' \n')) | comment_with_prefix(prefix) | replace("\\", "\\\\")}}
48-
{%- endmacro %}
49-
50-
{%- macro import_deprecated(semconv) -%}
51-
{%- if (semconv | select("deprecated") | list | count > 0) or (ctx.filter == "any" and semconv | select("stable") | list | count > 0) -%}
52-
from deprecated import deprecated
53-
{%- endif -%}
54-
{%- endmacro-%}

examples/common/metrics_foo_library/foo_library.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ void foo_library::semconv_counter_example()
135135
auto provider = metrics_api::Provider::GetMeterProvider();
136136
opentelemetry::nostd::shared_ptr<metrics_api::Meter> meter = provider->GetMeter("demo", "1.2.0");
137137
auto double_counter =
138-
opentelemetry::semconv::container::CreateSyncDoubleMetricContainerDiskIo(
139-
meter.get());
138+
opentelemetry::semconv::container::CreateSyncDoubleMetricContainerDiskIo(meter.get());
140139

141140
for (uint32_t i = 0; i < 20; ++i)
142141
{

sdk/include/opentelemetry/sdk/resource/semantic_conventions.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
// FIXME, DEBUG
7-
#error "Die"
8-
96
/*
107
DO NOT EDIT, this is an Auto-generated file
118
from buildscripts/semantic-convention/templates/SemanticAttributes.h.j2

0 commit comments

Comments
 (0)