Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 9c03568

Browse files
committed
remove the images with descriptive text
Signed-off-by: shreyagupta30 <shreyagupta3011@gmail.com>
1 parent c8bfd37 commit 9c03568

1 file changed

Lines changed: 12 additions & 16 deletions

File tree

jupyter/README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,30 +40,26 @@ After succesfully running the docker script, you will be able to see a URL in yo
4040
## Analysis
4141

4242
For the analysis we have to generate some data, so in the HotROD UI click on the blue boxes to order a car that generates nice traces. To verify that the trace reached Jaeger open Jaeger UI and search for traces from the `frontend` service.
43-
The trace should look like this:
43+
You'll be able to see the generated traces for the services and operation.
4444

45-
![Trace from the HotROD example application.](https://user-images.githubusercontent.com/33135343/97009620-f0268780-1561-11eb-9711-a73193b075ce.png)
45+
Once we know that the data is stored in Jaeger we can move to Jupyter notebook and load the trace there. Jaeger notebooks are stored in the jupyter directory. This directory can either be opened from the project root directory or from work in case the notebooks from host filesystem are injected into the docker container.
4646

47-
Once we know that the data is stored in Jaeger we can move to Jupyter notebook and load the trace there. Jaeger notebooks are stored in thejupyter directory. This directory can either be opened from the project root directory or from work in case the notebooks from host filesystem are injected into the docker container.
48-
49-
Before running the analysis we have to load dependencies into the notebook’s classpath. Just click on the dependencies cell to make it active and then on the play icon in the top navigation menu.
50-
51-
![Jupyter notebook for loading data from jaeger-query.](https://user-images.githubusercontent.com/33135343/97009611-ee5cc400-1561-11eb-8c12-eef1ffa38265.png)
47+
Before running the analysis we have to load dependencies into the notebook’s classpath. Just click on the dependencies cell to make it active and then on the play icon in the top navigation menu.
5248

5349
Before running the code we have to update the variable `traceIdStr` to point into one of the traces we have generated earlier in the HotROD app.
54-
55-
![Jupyter notebook for loading data from jaeger-query.](https://user-images.githubusercontent.com/33135343/97009628-f1f04b00-1561-11eb-8384-7fbb0553940b.png)
56-
50+
It should look something like:
51+
``` java
52+
String queryHostPort = "jaeger:16686";
53+
String traceIdStr = "2cb1f0c274c3b4a5"
54+
```
5755
The results are written below the code cell. In this case the trace has the height 3 and there is one calculated network latency between frontend and server service of 0.00102 ms . The latency is small because all services are run as part of the same process and there is no real network overhead.
5856

5957
The last code cell shows the direct use of Trace DSL with Apache Gremlin. Gremlin is a graph traversal language and class TraceTraversalSource.class it extends and adds methods for trace filtering and feature extraction. For instance, it adds a method like `hasName(String name)` to filter spans by operation name. In our example the query verifies whether two spans with given operation names are directly or indirectly connected, or in other words one is a descendant of the other.
6058

61-
![Jupyter notebook for loading data from jaeger-query.](https://user-images.githubusercontent.com/33135343/97009631-f3217800-1561-11eb-8fb7-408a1ba425d7.png)
62-
6359
This feature provides a powerful interface to write a custom query and hypothesis analysis against traces retrieved from the Jaeger server. The example can easily be extended to collect a stream of traces from Kafka and experiment on the live data.
6460

6561
## References
66-
67-
1. [Data analytics with Jaeger blog post](https://medium.com/jaegertracing/data-analytics-with-jaeger-aka-traces-tell-us-more-973669e6f848)
68-
2. [Apache Gremlin documentation](http://tinkerpop.apache.org/docs/current/reference/)
69-
3. [Jaeger HotROD example application demo](https://medium.com/opentracing/take-opentracing-for-a-hotrod-ride-f6e3141f7941)
62+
1. [Main Instruction README](https://github.com/jaegertracing/jaeger-analytics-java/blob/master/README.md)
63+
2. [Data analytics with Jaeger blog post](https://medium.com/jaegertracing/data-analytics-with-jaeger-aka-traces-tell-us-more-973669e6f848)
64+
3. [Apache Gremlin documentation](http://tinkerpop.apache.org/docs/current/reference/)
65+
4. [Jaeger HotROD example application demo](https://medium.com/opentracing/take-opentracing-for-a-hotrod-ride-f6e3141f7941)

0 commit comments

Comments
 (0)