Skip to content

Commit 54450af

Browse files
committed
cleanup telemetry data to start smaller
1 parent 4e0cfa8 commit 54450af

10 files changed

+0
-225
lines changed

docs/instrumentation-list.yaml

-111
Original file line numberDiff line numberDiff line change
@@ -32,55 +32,11 @@ alibaba:
3232
instrumentations:
3333
- name: alibaba-druid-1.0
3434
srcPath: instrumentation/alibaba-druid-1.0
35-
scope:
36-
name: io.opentelemetry.alibaba-druid-1.0
37-
version: 2.14.0-alpha-SNAPSHOT
38-
schemaUrl: null
3935
target_versions:
4036
javaagent:
4137
- com.alibaba:druid:(,)
4238
library:
4339
- com.alibaba:druid:1.0.0
44-
metrics:
45-
- name: db.client.connections.usage
46-
description: The number of connections that are currently in state described
47-
by the state attribute.
48-
type: LONG_SUM
49-
unit: connections
50-
attributes:
51-
- name: pool.name
52-
type: STRING
53-
- name: state
54-
type: STRING
55-
- name: db.client.connections.pending_requests
56-
description: The number of pending requests for an open connection, cumulative
57-
for the entire pool.
58-
type: LONG_SUM
59-
unit: requests
60-
attributes:
61-
- name: pool.name
62-
type: STRING
63-
- name: db.client.connections.max
64-
description: The maximum number of open connections allowed.
65-
type: LONG_SUM
66-
unit: connections
67-
attributes:
68-
- name: pool.name
69-
type: STRING
70-
- name: db.client.connections.idle.min
71-
description: The minimum number of idle open connections allowed.
72-
type: LONG_SUM
73-
unit: connections
74-
attributes:
75-
- name: pool.name
76-
type: STRING
77-
- name: db.client.connections.idle.max
78-
description: The maximum number of idle open connections allowed.
79-
type: LONG_SUM
80-
unit: connections
81-
attributes:
82-
- name: pool.name
83-
type: STRING
8440
apache:
8541
instrumentations:
8642
- name: apache-shenyu-2.4
@@ -90,39 +46,9 @@ apache:
9046
- org.apache.shenyu:shenyu-web:[2.4.0,)
9147
- name: apache-httpclient-2.0
9248
srcPath: instrumentation/apache-httpclient/apache-httpclient-2.0
93-
scope:
94-
name: io.opentelemetry.apache-httpclient-2.0
95-
version: 2.14.0-alpha-SNAPSHOT
96-
schemaUrl: null
9749
target_versions:
9850
javaagent:
9951
- commons-httpclient:commons-httpclient:[2.0,4.0)
100-
span_data:
101-
span_kinds:
102-
- SERVER
103-
- CLIENT
104-
- INTERNAL
105-
attributes:
106-
- name: server.address
107-
type: STRING
108-
- name: http.response.header.x-test-response
109-
type: STRING_ARRAY
110-
- name: error.type
111-
type: STRING
112-
- name: test.request.id
113-
type: LONG
114-
- name: http.request.method
115-
type: STRING
116-
- name: network.protocol.version
117-
type: STRING
118-
- name: server.port
119-
type: LONG
120-
- name: http.request.header.x-test-request
121-
type: STRING_ARRAY
122-
- name: http.response.status_code
123-
type: LONG
124-
- name: url.full
125-
type: STRING
12652
- name: apache-httpasyncclient-4.1
12753
srcPath: instrumentation/apache-httpasyncclient-4.1
12854
target_versions:
@@ -286,46 +212,9 @@ clickhouse:
286212
description: Instruments the V1 ClickHouseClient, providing database client spans
287213
and metrics.
288214
srcPath: instrumentation/clickhouse-client-0.5
289-
scope:
290-
name: io.opentelemetry.clickhouse-client-0.5
291-
version: 2.14.0-alpha-SNAPSHOT
292-
schemaUrl: null
293215
target_versions:
294216
javaagent:
295217
- com.clickhouse.client:clickhouse-client:[0.5.0,)
296-
metrics:
297-
- name: db.client.operation.duration
298-
description: Duration of database client operations.
299-
type: HISTOGRAM
300-
unit: s
301-
attributes:
302-
- name: db.namespace
303-
type: STRING
304-
- name: db.operation.name
305-
type: STRING
306-
- name: db.system.name
307-
type: STRING
308-
- name: server.address
309-
type: STRING
310-
- name: server.port
311-
type: LONG
312-
span_data:
313-
span_kinds:
314-
- CLIENT
315-
- INTERNAL
316-
attributes:
317-
- name: server.address
318-
type: STRING
319-
- name: server.port
320-
type: LONG
321-
- name: db.system.name
322-
type: STRING
323-
- name: db.query.text
324-
type: STRING
325-
- name: db.namespace
326-
type: STRING
327-
- name: db.operation.name
328-
type: STRING
329218
couchbase:
330219
instrumentations:
331220
- name: couchbase-3.1.6

instrumentation-docs/collect.sh

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ for instrumentation in "${instrumentations[@]}"; do
2424
# Remove any occurrence of /javaagent/ or /library/ from the path
2525
path=$(echo "$path" | sed -e 's/\/javaagent//g' -e 's/\/library//g')
2626

27-
# Debugging: Print the path being checked
28-
echo "Checking path: $path/.telemetry"
29-
3027
# Check if the .telemetry directory exists and remove it if it does
3128
if [ -d "$path/.telemetry" ]; then
3229
echo "Removing directory: $path/.telemetry"

instrumentation/alibaba-druid-1.0/.telemetry/metrics-8bd65c28-55ae-482b-87da-d500766653f0.yaml

-38
This file was deleted.

instrumentation/alibaba-druid-1.0/.telemetry/scope.yaml

-5
This file was deleted.

instrumentation/alibaba-druid-1.0/.telemetry/spans-1356d513-d7c2-4a37-87c1-24f3ac804af6.yaml

-1
This file was deleted.

instrumentation/apache-httpclient/apache-httpclient-2.0/.telemetry/scope.yaml

-5
This file was deleted.

instrumentation/apache-httpclient/apache-httpclient-2.0/.telemetry/spans-e69afd2a-3c98-4f09-96cb-ca3ae39d8b05.yaml

-25
This file was deleted.

instrumentation/clickhouse-client-0.5/.telemetry/metrics-8c595030-d9da-4bfb-a9a2-2af9e17479a1.yaml

-16
This file was deleted.

instrumentation/clickhouse-client-0.5/.telemetry/scope.yaml

-5
This file was deleted.

instrumentation/clickhouse-client-0.5/.telemetry/spans-c41c140d-ee68-4266-8340-6797868907fa.yaml

-16
This file was deleted.

0 commit comments

Comments
 (0)