From a56703e1c533ff80352ed3e772a8c25489cb2fd9 Mon Sep 17 00:00:00 2001 From: James Moessis Date: Tue, 25 Jan 2022 17:05:17 +1100 Subject: [PATCH] remove unneeded duplicate files --- .../data/markdown/metrics_tables/general.yaml | 86 ------------------- .../markdown/metrics_tables/http_metrics.yaml | 65 -------------- 2 files changed, 151 deletions(-) delete mode 100644 semantic-conventions/src/tests/data/markdown/metrics_tables/general.yaml delete mode 100644 semantic-conventions/src/tests/data/markdown/metrics_tables/http_metrics.yaml diff --git a/semantic-conventions/src/tests/data/markdown/metrics_tables/general.yaml b/semantic-conventions/src/tests/data/markdown/metrics_tables/general.yaml deleted file mode 100644 index 5e91e7e6..00000000 --- a/semantic-conventions/src/tests/data/markdown/metrics_tables/general.yaml +++ /dev/null @@ -1,86 +0,0 @@ -groups: - - id: network - prefix: net - type: span - brief: > - These attributes may be used for any network related operation. - attributes: - - id: transport - type: - allow_custom_values: false - members: - - id: ip.tcp - value: "IP.TCP" - - id: ip.udp - value: "IP.UDP" - - id: ip - value: "IP" - brief: 'Another IP-based protocol' - - id: unix - value: "Unix" - brief: 'Unix Domain socket. See below.' - - id: pipe - value: "pipe" - brief: 'Named or anonymous pipe. See note below.' - - id: inproc - value: "inproc" - brief: 'In-process communication.' - note: > - Signals that there is only in-process communication not using a "real" network protocol - in cases where network attributes would normally be expected. Usually all other network - attributes can be left out in that case. - - id: other - value: "other" - brief: 'Something else (non IP-based).' - brief: > - Transport protocol used. See note below. - examples: 'ip.tcp' - - id: peer.ip - type: string - brief: > - Remote address of the peer (dotted decimal for IPv4 or - [RFC5952](https://tools.ietf.org/html/rfc5952) for IPv6) - examples: '127.0.0.1' - - id: peer.port - type: int - brief: 'Remote port number.' - examples: [80, 8080, 443] - - id: peer.name - type: string - brief: 'Remote hostname or similar, see note below.' - examples: 'example.com' - - id: host.ip - type: string - brief: 'Like `net.peer.ip` but for the host IP. Useful in case of a multi-IP host.' - examples: '192.168.0.1' - - id: host.port - type: int - brief: 'Like `net.peer.port` but for the host port.' - examples: 35555 - - id: host.name - type: string - brief: 'Local hostname or similar, see note below.' - examples: 'localhost' - - id: identity - type: span - prefix: enduser - brief: > - These attributes may be used for any operation with an authenticated and/or authorized enduser. - attributes: - - id: id - type: string - brief: > - Username or client_id extracted from the access token or Authorization header - in the inbound request from outside the system. - examples: 'username' - - id: role - type: string - brief: 'Actual/assumed role the client is making the request under extracted from token or application security context.' - examples: 'admin' - - id: scope - type: string - brief: > - Scopes or granted authorities the client currently possesses extracted from token - or application security context. The value would come from the scope associated - with an OAuth 2.0 Access Token or an attribute value in a SAML 2.0 Assertion. - examples: 'read:message, write:files' diff --git a/semantic-conventions/src/tests/data/markdown/metrics_tables/http_metrics.yaml b/semantic-conventions/src/tests/data/markdown/metrics_tables/http_metrics.yaml deleted file mode 100644 index 65045c87..00000000 --- a/semantic-conventions/src/tests/data/markdown/metrics_tables/http_metrics.yaml +++ /dev/null @@ -1,65 +0,0 @@ -groups: - - id: metric.http - prefix: http - type: metric - brief: "This document defines semantic convention for HTTP client and server metrics." - note: > - These conventions can be used for http and https schemes - and various HTTP versions like 1.1, 2 and SPDY. - attributes: - - ref: http.method - required: always - - ref: http.host - required: - conditional: "See attribute alternatives" - - ref: http.scheme - required: - conditional: "See attribute alternative" - - ref: http.status_code - - - id: metric.http.client - prefix: http - type: metric - extends: metric.http - brief: 'Semantic Convention for HTTP Client' - constraints: - - any_of: - - [http.url] - - [http.scheme, http.host, http.target] - - [http.scheme, net.peer.name, net.peer.port, http.target] - - [http.scheme, net.peer.ip, net.peer.port, http.target] - attributes: - - ref: net.peer.name - - ref: net.peer.port - - ref: net.peer.ip - metrics: - - id: metric.http.client.duration - brief: "Measures the duration of the outbound HTTP request." - extends: metric.http.client - instrument: Histogram - units: ms - - - id: metric.http.server - prefix: http - type: metric - extends: metric.http - brief: 'Semantic Convention for HTTP Server' - constraints: - - any_of: - - [http.scheme, http.host, http.target] - - [http.scheme, http.server_name, net.host.port, http.target] - - [http.scheme, net.host.name, net.host.port, http.target] - - [http.url] - attributes: - - ref: http.server_name - - ref: net.host.name - - ref: net.host.port - metrics: - - id: metric.http.server.duration - brief: "Measures the duration of the inbound HTTP request." - instrument: Histogram - units: ms - - id: metric.http.server.active_requests - brief: "Measures the number of concurrent HTTP requests that are currently in-flight." - instrument: AsynchronousUpDownCounter - units: "{requests}"