<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cloud Trace - 東東 GCP 教學 - GCP 實戰講師</title>
	<atom:link href="https://dongdonggcp.com/tag/cloud-trace/feed/" rel="self" type="application/rss+xml" />
	<link>https://dongdonggcp.com</link>
	<description>助你考取證照，轉職成功</description>
	<lastBuildDate>Mon, 07 Apr 2025 06:12:46 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://dongdonggcp.com/wp-content/uploads/2025/04/cropped-340838097_121391010914395_5443948698124160121_n-32x32.jpg</url>
	<title>Cloud Trace - 東東 GCP 教學 - GCP 實戰講師</title>
	<link>https://dongdonggcp.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">243235092</site>	<item>
		<title>[GCP 教學] Cloud Profiler 是 Cloud Trace 什麼東東？</title>
		<link>https://dongdonggcp.com/2024/12/02/gcp-cloud-profiler-vs-cloud-trace/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gcp-cloud-profiler-vs-cloud-trace</link>
					<comments>https://dongdonggcp.com/2024/12/02/gcp-cloud-profiler-vs-cloud-trace/#respond</comments>
		
		<dc:creator><![CDATA[東東]]></dc:creator>
		<pubDate>Mon, 02 Dec 2024 09:47:20 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Cloud Profiler]]></category>
		<category><![CDATA[Cloud Trace]]></category>
		<category><![CDATA[Profiler]]></category>
		<category><![CDATA[Trace]]></category>
		<category><![CDATA[效能監控]]></category>
		<category><![CDATA[維運]]></category>
		<guid isPermaLink="false">https://dongdonggcp.com/?p=8218</guid>

					<description><![CDATA[<p>我常常搞混這兩個東西，我每次考 GCP  [&#8230;]</p>
<p>The post <a href="https://dongdonggcp.com/2024/12/02/gcp-cloud-profiler-vs-cloud-trace/">[GCP 教學] Cloud Profiler 是 Cloud Trace 什麼東東？</a> first appeared on <a href="https://dongdonggcp.com">東東 GCP 教學 - GCP 實戰講師</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>我常常搞混這兩個東西，我每次考 GCP 證照都會弄錯，真的好幾十次，所以特別寫下來，防止再次搞混。</p>



<p>官網 Cloud Profiler 介紹：</p>



<p>Cloud Profiler 可持續分析在應用程式執行時，那些占用大量 CPU 運算資源或記憶體的函式效能，並據此改善問題。</p>



<p>Cloud Profiler 會以互動式火焰圖呈現相關函式的呼叫階層與資源耗用情形，協助開發人員瞭解哪些路徑使用最多資源，以及程式碼的各種實際呼叫方式。</p>



<p><a href="https://cloud.google.com/profiler?hl=zh-tw">https://cloud.google.com/profiler?hl=zh-tw</a></p>



<p>官網 Cloud Trace 介紹：</p>



<p>收集應用程式的 Latency 資料，並且即時呈現。</p>



<p>Cloud Trace 專門用於分散式追蹤，能夠追蹤和分析服務之間的請求 Latency，特別適合微服務架構中的效能監控。</p>



<p><a href="https://cloud.google.com/trace/docs">https://cloud.google.com/trace/docs</a></p>



<p></p>



<h1 class="wp-block-heading">Cloud Profiler vs Cloud Trace 比較表</h1>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>比較面向</th><th>Cloud Profiler</th><th>Cloud Trace</th></tr></thead><tbody><tr><td><strong>主要用途</strong></td><td>CPU 和記憶體使用情況分析</td><td>分贿式系統的 Request 追蹤</td></tr><tr><td><strong>監控重點</strong></td><td>&#8211; CPU 使用率</td><td>&#8211; 服務間的 Request Latency</td></tr><tr><td></td><td>&#8211; 記憶體分配</td><td>&#8211; 請求路徑追蹤</td></tr><tr><td></td><td>&#8211; 程式碼熱點 (Hot Spots)</td><td>&#8211; 服務依賴關係</td></tr><tr><td></td><td>&#8211; 函數執行時間</td><td>&#8211; 端到端 Latency 分析</td></tr><tr><td><strong>使用場景</strong></td><td>&#8211; 效能優化</td><td>&#8211; 微服務架構監控</td></tr><tr><td></td><td>&#8211; 資源使用分析</td><td>&#8211; API 延遲分析</td></tr><tr><td></td><td>&#8211; 程式碼效率提升</td><td>&#8211; 服務依賴診斷</td></tr><tr><td></td><td>&#8211; 記憶體洩漏檢測</td><td>&#8211; 系統瓶頸識別</td></tr><tr><td><strong>收集數據類型</strong></td><td>&#8211; CPU profiles</td><td>&#8211; 請求延遲</td></tr><tr><td></td><td>&#8211; Heap profiles</td><td>&#8211; 請求路徑</td></tr><tr><td></td><td>&#8211; Wall-time profiles</td><td>&#8211; HTTP headers</td></tr><tr><td></td><td>&#8211; Contention profiles</td><td>&#8211; RPC 調用信息</td></tr><tr><td><strong>支援語言</strong></td><td>&#8211; Java</td><td>&#8211; Java</td></tr><tr><td></td><td>&#8211; Go</td><td>&#8211; Go</td></tr><tr><td></td><td>&#8211; Node.js</td><td>&#8211; Node.js</td></tr><tr><td></td><td>&#8211; Python</td><td>&#8211; Python</td></tr><tr><td></td><td>&#8211; C++</td><td>&#8211; PHP</td></tr><tr><td></td><td>&#8211; .NET</td><td>&#8211; Ruby</td></tr><tr><td><strong>視覺化方式</strong></td><td>&#8211; 火焰圖 (Flame Graphs)</td><td>&#8211; 分布式追蹤圖</td></tr><tr><td></td><td>&#8211; 調用樹</td><td>&#8211; 瀑布圖</td></tr><tr><td></td><td>&#8211; 熱點圖</td><td>&#8211; 延遲分佈圖</td></tr><tr><td><strong>性能影響</strong></td><td>較低，通常 &lt; 5%</td><td>極低，通常 &lt; 1%</td></tr><tr><td><strong>適用開發階段</strong></td><td>&#8211; 開發環境</td><td>&#8211; 所有環境</td></tr><tr><td></td><td>&#8211; 測試環境</td><td>&#8211; 特別適合生產環境</td></tr><tr><td></td><td>&#8211; 生產環境</td><td></td></tr><tr><td><strong>整合性</strong></td><td>與 Cloud Console 整合</td><td>與 Cloud Console 和 Cloud Monitoring 整合</td></tr><tr><td><strong>主要優勢</strong></td><td>&#8211; 深入的程式碼級分析</td><td>&#8211; 分布式系統可視化</td></tr><tr><td></td><td>&#8211; 資源使用優化</td><td>&#8211; 端到端監控</td></tr><tr><td></td><td>&#8211; 性能瓶頸識別</td><td>&#8211; 系統依賴分析</td></tr></tbody></table></figure>



<p></p>



<p></p><p>The post <a href="https://dongdonggcp.com/2024/12/02/gcp-cloud-profiler-vs-cloud-trace/">[GCP 教學] Cloud Profiler 是 Cloud Trace 什麼東東？</a> first appeared on <a href="https://dongdonggcp.com">東東 GCP 教學 - GCP 實戰講師</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://dongdonggcp.com/2024/12/02/gcp-cloud-profiler-vs-cloud-trace/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8218</post-id>	</item>
	</channel>
</rss>
