Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 5|回復: 0

What is Tracing Tracing is an observability

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2023-12-28 18:24:38 | 顯示全部樓層 |閱讀模式
Sampling Summary and final comments Introduction In this tutorial you will Learn how to integrate tracing into existing applications you use and build. You will implement tracing using Initially you will create a manual trace for the endpoint and print it to the console. You will then learn how to use Visualize your traces. You'll also learn how to use the trace feature to automatically generate traces of database queries. Finally you'll learn about auto-detection and performance considerations when using tracing. tool used to record the path a request takes as it propagates through an application. Tracing helps you link the activities performed by your system in response to any specific request. Tracking also provides timing information about these activities such as start time, duration, etc.

A single trace gives you information about wh photo editing servies at happens when a user or application makes a request. Each trace consists of one or more traces that contain information about the individual steps or tasks that occurred during the request. Using the Trace tool, you can visualize the trace as a chart like the one below. Visualization of a single trace If all goes well you should be able to access it. The Jaeger UI will be empty since your application has not sent traces to it yet. Adding a trace exporter To view traces in you need to set up a new trace exporter which will send traces from your application to instead of just printing them to the console. First install the exporter package in your project .



Copy Now add the exporter to Copy Here you initialized a new one and added it to your tracker provider. Properties in the constructor point to the location where trace data is listened to. You also removed the console exporter because it is no longer needed. You should now be able to see your traces in . To see your first trace query the endpoint again. Go to. Select from the Services drop-down list on the left search tab. Click Find Tracking near the bottom of the Search tab. You should now see a list of tracks. Click on the first track in the list. You will see a detailed view of the trace. There should be a span named.


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|zv

GMT+8, 2025-1-31 01:54 , Processed in 0.032245 second(s), 18 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |