You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,13 @@ mvn liberty:stop-server
158
158
== Running the services
159
159
160
160
Navigate to the `start` directory to begin.
161
+
//cloud hosted instructions
162
+
ifdef::cloud-hosted[]
163
+
```
164
+
cd /home/project/guide-microprofile-opentracing/start
165
+
```
166
+
{: codeblock}
167
+
endif::[]
161
168
162
169
You'll need to start the services to see basic traces appear in Zipkin.
163
170
So, before you proceed, build and start the provided `system` and `inventory`
@@ -278,15 +285,13 @@ Enable tracing of the [hotspot=list file=0]`list()` non-JAX-RS method by adding
278
285
279
286
The [hotspot=Traced file=0]`@Traced` annotation can be configured with the following two parameters:
280
287
281
-
* The `value=[true|false]` parameter indicates whether a particular class or method is traced.
282
-
For example, while all JAX-RS methods are traced by default,
283
-
you can disable their tracing by using the `@Traced(false)` annotation.
284
-
This parameter is set to `true` by default.
285
-
* The `operationName=<Span name>` parameter indicates the name of the span that is assigned to the
286
-
particular method that is traced. If you omit this parameter, the span will be named with the following
287
-
form: `<package name>.<class name>.<method name>`. If you use this parameter at a class level, then
288
-
all methods within that class will have the same span name unless they're explicitly overridden by
289
-
another `@Traced` annotation.
288
+
* The `value=[true|false]` parameter indicates whether a particular class or method is traced. For example, while all JAX-RS methods are traced by default, you can disable their tracing by using the `@Traced(false)` annotation. This parameter is set to `true` by default.
289
+
ifndef::cloud-hosted[]
290
+
* The `operationName=<Span name>` parameter indicates the name of the span that is assigned to the particular method that is traced. If you omit this parameter, the span will be named with the following form: `<package name>.<class name>.<method name>`. If you use this parameter at a class level, then all methods within that class will have the same span name unless they're explicitly overridden by another `@Traced` annotation.
291
+
endif::[]
292
+
ifdef::cloud-hosted[]
293
+
* The **operationName=<Span name>** parameter indicates the name of the span that is assigned to the particular method that is traced. If you omit this parameter, the span will be named with the following form: **<package name>.<class name>.<method name>**. If you use this parameter at a class level, then all methods within that class will have the same span name unless they're explicitly overridden by another **@Traced** annotation.
294
+
endif::[]
290
295
291
296
Next, run the following command from the `start` directory to recompile your services.
0 commit comments