diff --git a/semantic-conventions/src/opentelemetry/semconv/main.py b/semantic-conventions/src/opentelemetry/semconv/main.py index 0877185e..b88a1886 100644 --- a/semantic-conventions/src/opentelemetry/semconv/main.py +++ b/semantic-conventions/src/opentelemetry/semconv/main.py @@ -65,7 +65,6 @@ def main(): args = parser.parse_args() check_args(args, parser) semconv = parse_semconv(args, parser) - filter_semconv(semconv, args.only) if len(semconv.models) == 0: parser.error("No semantic convention model found!") diff --git a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py index 4b3d79e4..5127cd71 100644 --- a/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py +++ b/semantic-conventions/src/opentelemetry/semconv/model/semantic_convention.py @@ -250,7 +250,7 @@ class MetricGroupSemanticConvention(BaseSemanticConvention): GROUP_TYPE_NAME = "metric_group" -class gitMetricSemanticConvention(MetricGroupSemanticConvention): +class MetricSemanticConvention(MetricGroupSemanticConvention): GROUP_TYPE_NAME = "metric" allowed_keys: Tuple[str, ...] = BaseSemanticConvention.allowed_keys + (