Skip to content

Commit b28a8e0

Browse files
committed
overrides
1 parent 5ba6965 commit b28a8e0

File tree

3 files changed

+80
-2
lines changed

3 files changed

+80
-2
lines changed

instrumentation-docs/instrumentations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ readonly INSTRUMENTATIONS=(
1818
"apache-httpasyncclient-4.1:javaagent:test"
1919
"apache-httpclient:apache-httpclient-2.0:javaagent:test"
2020
"apache-httpclient:apache-httpclient-4.0:javaagent:test"
21-
"apache-httpclient:apache-httpclient-4.3:library:test"
21+
# "apache-httpclient:apache-httpclient-4.3:library:test" # See https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/14771
2222
"apache-httpclient:apache-httpclient-5.0:javaagent:test"
23-
"apache-httpclient:apache-httpclient-5.2:library:test"
23+
# "apache-httpclient:apache-httpclient-5.2:library:test" # See https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/14771
2424
"armeria:armeria-1.3:javaagent:test"
2525
"armeria:armeria-grpc-1.14:javaagent:test"
2626
"async-http-client:async-http-client-1.9:javaagent:test"

instrumentation/apache-httpclient/apache-httpclient-4.3/metadata.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,42 @@ library_link: https://hc.apache.org/index.html
44
semantic_conventions:
55
- HTTP_CLIENT_SPANS
66
- HTTP_CLIENT_METRICS
7+
additional_telemetry:
8+
- when: default
9+
metrics:
10+
- name: http.client.request.duration
11+
description: Duration of HTTP client requests.
12+
type: HISTOGRAM
13+
unit: s
14+
attributes:
15+
- name: http.request.method
16+
type: STRING
17+
- name: http.response.status_code
18+
type: LONG
19+
- name: network.protocol.version
20+
type: STRING
21+
- name: server.address
22+
type: STRING
23+
- name: server.port
24+
type: LONG
25+
spans:
26+
- span_kind: CLIENT
27+
attributes:
28+
- name: error.type
29+
type: STRING
30+
- name: http.request.method
31+
type: STRING
32+
- name: http.request.method_original
33+
type: STRING
34+
- name: http.request.resend_count
35+
type: LONG
36+
- name: http.response.status_code
37+
type: LONG
38+
- name: network.protocol.version
39+
type: STRING
40+
- name: server.address
41+
type: STRING
42+
- name: server.port
43+
type: LONG
44+
- name: url.full
45+
type: STRING

instrumentation/apache-httpclient/apache-httpclient-5.2/metadata.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,42 @@ library_link: https://hc.apache.org/index.html
44
semantic_conventions:
55
- HTTP_CLIENT_SPANS
66
- HTTP_CLIENT_METRICS
7+
additional_telemetry:
8+
- when: default
9+
metrics:
10+
- name: http.client.request.duration
11+
description: Duration of HTTP client requests.
12+
type: HISTOGRAM
13+
unit: s
14+
attributes:
15+
- name: http.request.method
16+
type: STRING
17+
- name: http.response.status_code
18+
type: LONG
19+
- name: network.protocol.version
20+
type: STRING
21+
- name: server.address
22+
type: STRING
23+
- name: server.port
24+
type: LONG
25+
spans:
26+
- span_kind: CLIENT
27+
attributes:
28+
- name: error.type
29+
type: STRING
30+
- name: http.request.method
31+
type: STRING
32+
- name: http.request.method_original
33+
type: STRING
34+
- name: http.request.resend_count
35+
type: LONG
36+
- name: http.response.status_code
37+
type: LONG
38+
- name: network.protocol.version
39+
type: STRING
40+
- name: server.address
41+
type: STRING
42+
- name: server.port
43+
type: LONG
44+
- name: url.full
45+
type: STRING

0 commit comments

Comments
 (0)