Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/instrumentation-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6573,12 +6573,33 @@ libraries:
type: STRING
jfinal:
- name: jfinal-3.2
display_name: JFinal
description: |
This instrumentation enriches HTTP server spans with route information, and enables controller spans for JFinal controller methods (controller spans are disabled by default).
library_link: https://github.com/jfinal/jfinal
features:
- HTTP_ROUTE
- CONTROLLER_SPANS
source_path: instrumentation/jfinal-3.2
scope:
name: io.opentelemetry.jfinal-3.2
target_versions:
javaagent:
- com.jfinal:jfinal:[3.2,)
configurations:
- name: otel.instrumentation.common.experimental.controller-telemetry.enabled
description: Enables the creation of experimental controller spans.
type: boolean
default: false
telemetry:
- when: default
spans:
- span_kind: INTERNAL
attributes:
- name: code.function
type: STRING
- name: code.namespace
type: STRING
jms:
- name: jms-1.1
display_name: JMS (Java Message Service)
Expand Down
1 change: 1 addition & 0 deletions instrumentation-docs/instrumentations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ readonly INSTRUMENTATIONS=(
"jsf:jsf-myfaces-3.0:javaagent:test"
"jsp-2.3:javaagent:test"
"jsp-2.3:javaagent:testExperimental"
"jfinal-3.2:javaagent:test"
"kafka:kafka-clients:kafka-clients-2.6:library:test"
"kafka:kafka-connect-2.6:testing:test"
"ktor:ktor-1.0:library:test"
Expand Down
1 change: 1 addition & 0 deletions instrumentation/jfinal-3.2/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ dependencies {

tasks.withType<Test>().configureEach {
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
}
13 changes: 13 additions & 0 deletions instrumentation/jfinal-3.2/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
display_name: JFinal
description: >
This instrumentation enriches HTTP server spans with route information, and enables
controller spans for JFinal controller methods (controller spans are disabled by default).
features:
- HTTP_ROUTE
- CONTROLLER_SPANS
library_link: https://github.com/jfinal/jfinal
configurations:
- name: otel.instrumentation.common.experimental.controller-telemetry.enabled
description: Enables the creation of experimental controller spans.
type: boolean
default: false
Loading