Skip to content

Commit fa6df5f

Browse files
authored
Merge pull request #154 from OpenLiberty/staging
Merge staging to prod: Update README.adoc (#153)
2 parents 333fdf9 + 62f5bc1 commit fa6df5f

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.adoc

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ mvn liberty:stop-server
158158
== Running the services
159159

160160
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::[]
161168

162169
You'll need to start the services to see basic traces appear in Zipkin.
163170
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
278285

279286
The [hotspot=Traced file=0]`@Traced` annotation can be configured with the following two parameters:
280287

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::[]
290295

291296
Next, run the following command from the `start` directory to recompile your services.
292297
[role='command']

0 commit comments

Comments
 (0)