Skip to content

Commit 903bb90

Browse files
committed
update core desc
1 parent b56b157 commit 903bb90

File tree

4 files changed

+277
-136
lines changed

4 files changed

+277
-136
lines changed

docs/instrumentation-list.yaml

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,7 @@ libraries:
923923
- name: aws-lambda-core-1.0
924924
description: |
925925
Provides lightweight instrumentation of the Lambda core library, supporting all versions. It generates FaaS SERVER spans with the `faas.invocation_id` attribute. Use this package if you only use `RequestStreamHandler` or know you don't use any event classes from `aws-lambda-java-events`. This also includes when you are using `aws-serverless-java-container` to run e.g., a Spring Boot application on Lambda.
926+
For custom wrappers when using library instrumentation, you can configure the `OTEL_INSTRUMENTATION_AWS_LAMBDA_HANDLER` env property to your lambda handler method in following format `package.ClassName::methodName` and use one of wrappers as your lambda `Handler`.
926927
source_path: instrumentation/aws-lambda/aws-lambda-core-1.0
927928
scope:
928929
name: io.opentelemetry.aws-lambda-core-1.0
@@ -2922,6 +2923,43 @@ libraries:
29222923
target_versions:
29232924
javaagent:
29242925
- org.apache.geode:geode-core:[1.4.0,)
2926+
telemetry:
2927+
- when: default
2928+
spans:
2929+
- span_kind: CLIENT
2930+
attributes:
2931+
- name: db.name
2932+
type: STRING
2933+
- name: db.operation
2934+
type: STRING
2935+
- name: db.statement
2936+
type: STRING
2937+
- name: db.system
2938+
type: STRING
2939+
- when: otel.semconv-stability.opt-in=database
2940+
metrics:
2941+
- name: db.client.operation.duration
2942+
description: Duration of database client operations.
2943+
type: HISTOGRAM
2944+
unit: s
2945+
attributes:
2946+
- name: db.namespace
2947+
type: STRING
2948+
- name: db.operation.name
2949+
type: STRING
2950+
- name: db.system.name
2951+
type: STRING
2952+
spans:
2953+
- span_kind: CLIENT
2954+
attributes:
2955+
- name: db.namespace
2956+
type: STRING
2957+
- name: db.operation.name
2958+
type: STRING
2959+
- name: db.query.text
2960+
type: STRING
2961+
- name: db.system.name
2962+
type: STRING
29252963
google:
29262964
- name: google-http-client-1.19
29272965
source_path: instrumentation/google-http-client-1.19
@@ -2969,6 +3007,11 @@ libraries:
29693007
target_versions:
29703008
javaagent:
29713009
- org.grails:grails-web-url-mappings:[3.0,)
3010+
telemetry:
3011+
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
3012+
spans:
3013+
- span_kind: INTERNAL
3014+
attributes: []
29723015
graphql:
29733016
- name: graphql-java-12.0
29743017
source_path: instrumentation/graphql-java/graphql-java-12.0
@@ -2979,6 +3022,17 @@ libraries:
29793022
- com.graphql-java:graphql-java:[12,20)
29803023
library:
29813024
- com.graphql-java:graphql-java:[12.0,19.+)
3025+
telemetry:
3026+
- when: default
3027+
spans:
3028+
- span_kind: INTERNAL
3029+
attributes:
3030+
- name: graphql.document
3031+
type: STRING
3032+
- name: graphql.operation.name
3033+
type: STRING
3034+
- name: graphql.operation.type
3035+
type: STRING
29823036
- name: graphql-java-20.0
29833037
source_path: instrumentation/graphql-java/graphql-java-20.0
29843038
minimum_java_version: 11
@@ -2989,6 +3043,31 @@ libraries:
29893043
- com.graphql-java:graphql-java:[20,)
29903044
library:
29913045
- com.graphql-java:graphql-java:20.0
3046+
telemetry:
3047+
- when: default
3048+
spans:
3049+
- span_kind: INTERNAL
3050+
attributes:
3051+
- name: graphql.document
3052+
type: STRING
3053+
- name: graphql.operation.name
3054+
type: STRING
3055+
- name: graphql.operation.type
3056+
type: STRING
3057+
- when: otel.instrumentation.graphql.data-fetcher.enabled=true
3058+
spans:
3059+
- span_kind: INTERNAL
3060+
attributes:
3061+
- name: graphql.document
3062+
type: STRING
3063+
- name: graphql.field.name
3064+
type: STRING
3065+
- name: graphql.field.path
3066+
type: STRING
3067+
- name: graphql.operation.name
3068+
type: STRING
3069+
- name: graphql.operation.type
3070+
type: STRING
29923071
grizzly:
29933072
- name: grizzly-2.3
29943073
source_path: instrumentation/grizzly-2.3
@@ -2997,6 +3076,53 @@ libraries:
29973076
target_versions:
29983077
javaagent:
29993078
- org.glassfish.grizzly:grizzly-http:[2.3,)
3079+
telemetry:
3080+
- when: default
3081+
metrics:
3082+
- name: http.server.request.duration
3083+
description: Duration of HTTP server requests.
3084+
type: HISTOGRAM
3085+
unit: s
3086+
attributes:
3087+
- name: http.request.method
3088+
type: STRING
3089+
- name: http.response.status_code
3090+
type: LONG
3091+
- name: network.protocol.version
3092+
type: STRING
3093+
- name: url.scheme
3094+
type: STRING
3095+
spans:
3096+
- span_kind: SERVER
3097+
attributes:
3098+
- name: client.address
3099+
type: STRING
3100+
- name: error.type
3101+
type: STRING
3102+
- name: http.request.method
3103+
type: STRING
3104+
- name: http.request.method_original
3105+
type: STRING
3106+
- name: http.response.status_code
3107+
type: LONG
3108+
- name: network.peer.address
3109+
type: STRING
3110+
- name: network.peer.port
3111+
type: LONG
3112+
- name: network.protocol.version
3113+
type: STRING
3114+
- name: server.address
3115+
type: STRING
3116+
- name: server.port
3117+
type: LONG
3118+
- name: url.path
3119+
type: STRING
3120+
- name: url.query
3121+
type: STRING
3122+
- name: url.scheme
3123+
type: STRING
3124+
- name: user_agent.original
3125+
type: STRING
30003126
grpc:
30013127
- name: grpc-1.6
30023128
source_path: instrumentation/grpc-1.6
@@ -3026,6 +3152,17 @@ libraries:
30263152
javaagent:
30273153
- com.google.gwt:gwt-servlet:[2.0.0,)
30283154
- org.gwtproject:gwt-servlet:[2.10.0,)
3155+
telemetry:
3156+
- when: default
3157+
spans:
3158+
- span_kind: SERVER
3159+
attributes:
3160+
- name: rpc.method
3161+
type: STRING
3162+
- name: rpc.service
3163+
type: STRING
3164+
- name: rpc.system
3165+
type: STRING
30293166
hibernate:
30303167
- name: hibernate-3.3
30313168
source_path: instrumentation/hibernate/hibernate-3.3

instrumentation-docs/collect.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,17 @@ main() {
154154
run_gradle_tasks "${gradle_tasks[@]}"
155155

156156
# Setup colima if needed
157-
setup_colima
158-
159-
# Process colima-specific instrumentations
160-
echo "Processing colima instrumentations..."
161-
gradle_tasks=()
162-
while IFS= read -r line; do
163-
gradle_tasks+=("$line")
164-
done < <(process_descriptors "${COLIMA_INSTRUMENTATIONS[@]}")
165-
run_gradle_tasks "${gradle_tasks[@]}"
166-
167-
colima stop
157+
# setup_colima
158+
#
159+
# # Process colima-specific instrumentations
160+
# echo "Processing colima instrumentations..."
161+
# gradle_tasks=()
162+
# while IFS= read -r line; do
163+
# gradle_tasks+=("$line")
164+
# done < <(process_descriptors "${COLIMA_INSTRUMENTATIONS[@]}")
165+
# run_gradle_tasks "${gradle_tasks[@]}"
166+
#
167+
# colima stop
168168

169169
# uncomment the next line to remove all .telemetry directories
170170
#find_and_remove_all_telemetry

0 commit comments

Comments
 (0)