diff --git a/semantic-conventions/src/opentelemetry/semconv/templating/markdown/__init__.py b/semantic-conventions/src/opentelemetry/semconv/templating/markdown/__init__.py index 84faf9b8..3219bdab 100644 --- a/semantic-conventions/src/opentelemetry/semconv/templating/markdown/__init__.py +++ b/semantic-conventions/src/opentelemetry/semconv/templating/markdown/__init__.py @@ -449,12 +449,6 @@ def _render_group(self, semconv, parameters, output): ) ) - if ( - isinstance(semconv, MetricSemanticConvention) - and self.render_ctx.is_metric_table - ): - self.to_markdown_metric_table(semconv, output) - attr_to_print = [] attr: SemanticAttribute for attr in sorted( diff --git a/semantic-conventions/src/tests/data/markdown/metrics_tables/input.md b/semantic-conventions/src/tests/data/markdown/metrics_tables/input.md index b9966675..e03f49e0 100644 --- a/semantic-conventions/src/tests/data/markdown/metrics_tables/input.md +++ b/semantic-conventions/src/tests/data/markdown/metrics_tables/input.md @@ -4,14 +4,6 @@ The following attributes SHOULD be included on all HTTP metrics for both server and client. -| Attribute | Type | Description | Examples | Required | -|---|---|---|---|---| -| [`http.host`](../../trace/semantic_conventions/http.md) | string | The value of the [HTTP host header](https://tools.ietf.org/html/rfc7230#section-5.4). An empty Host header should also be reported, see note. [1] | `www.example.org` | See attribute alternatives | -| [`http.method`](../../trace/semantic_conventions/http.md) | string | HTTP request method. | `GET`; `POST`; `HEAD` | Yes | -| [`http.scheme`](../../trace/semantic_conventions/http.md) | string | The URI scheme identifying the used protocol. | `http`; `https` | See attribute alternative | -| [`http.status_code`](../../trace/semantic_conventions/http.md) | int | [HTTP response status code](https://tools.ietf.org/html/rfc7231#section-6). | `200` | No | - -**[1]:** When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned [section of RFC 7230](https://tools.ietf.org/html/rfc7230#section-5.4). When the header is not set the attribute MUST NOT be set. ## HTTP Client