Skip to content

Commit 3aa23db

Browse files
committed
fix document
1 parent e0a2323 commit 3aa23db

File tree

5 files changed

+5
-14
lines changed

5 files changed

+5
-14
lines changed

.chloggen/support-extensions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ change_type: enhancement
55
component: auto-instrumentation
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: Instrumentations support Java extensions
8+
note: Support Java auto-instrumentation extensions.
99

1010
# One or more tracking issues related to the change
1111
issues: [1785]

apis/v1alpha1/instrumentation_types.go

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ type Java struct {
135135
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
136136

137137
// Extensions defines java specific extensions.
138+
// All extensions are copied to a single directory; if a JAR with the same name exists, it will be overwritten.
138139
// +optional
139140
Extensions []Extensions `json:"extensions,omitempty"`
140141
}

bundle/manifests/opentelemetry.io_instrumentations.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -566,16 +566,11 @@ spec:
566566
type: object
567567
type: array
568568
extensions:
569-
description: Extensions defines java specific extensions.
570569
items:
571570
properties:
572571
dir:
573-
description: Dir is a directory with extensions auto-instrumentation
574-
JAR.
575572
type: string
576573
image:
577-
description: Image is a container image with extensions
578-
auto-instrumentation JAR.
579574
type: string
580575
required:
581576
- dir

config/crd/bases/opentelemetry.io_instrumentations.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -564,16 +564,11 @@ spec:
564564
type: object
565565
type: array
566566
extensions:
567-
description: Extensions defines java specific extensions.
568567
items:
569568
properties:
570569
dir:
571-
description: Dir is a directory with extensions auto-instrumentation
572-
JAR.
573570
type: string
574571
image:
575-
description: Image is a container image with extensions
576-
auto-instrumentation JAR.
577572
type: string
578573
required:
579574
- dir

docs/api.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ Resource Types:
18291829
<td><b><a href="#instrumentationspecjavaextensionsindex">extensions</a></b></td>
18301830
<td>[]object</td>
18311831
<td>
1832-
Extensions defines java specific extensions.<br/>
1832+
<br/>
18331833
</td>
18341834
<td>false</td>
18351835
</tr><tr>
@@ -2123,14 +2123,14 @@ Resource Types:
21232123
<td><b>dir</b></td>
21242124
<td>string</td>
21252125
<td>
2126-
Dir is a directory with extensions auto-instrumentation JAR.<br/>
2126+
<br/>
21272127
</td>
21282128
<td>true</td>
21292129
</tr><tr>
21302130
<td><b>image</b></td>
21312131
<td>string</td>
21322132
<td>
2133-
Image is a container image with extensions auto-instrumentation JAR.<br/>
2133+
<br/>
21342134
</td>
21352135
<td>true</td>
21362136
</tr></tbody>

0 commit comments

Comments
 (0)