Skip to content

Commit

Permalink
change: update blog articles.
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 26, 2024
1 parent e42daff commit fb37a93
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 43 deletions.
Binary file added v2/images/header-images/cn-rust-exception.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/images/header-images/en-rust-exception.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 27 additions & 27 deletions v2/lua/openresty_org/templates.lua

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions v2/templates/news-cn.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
</picture></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]&nbsp;</strong><a href="ann-1021004003.html">OpenResty 1.21.4.3</a><span>&nbsp;[% c.l("is now released!") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/rust-exception/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/cn-rust-exception.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/rust-exception/?src=org_news" target="_blank">线上监控 Rust 应用中的程序异常(使用 OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/prometheus-high-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/prometheus-high-cpu-cn.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/prometheus-high-cpu/?src=org_news" target="_blank">使用 OpenResty XRay 定位普罗米修斯应用内部 CPU 最热的 Go 代码路径</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
Expand All @@ -27,7 +30,4 @@
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/perl-xray-overhead/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/cn-perl-xray-overhead.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/perl-xray-overhead/?src=org_news" target="_blank">追踪 Perl 应用时 OpenResty XRay 对系统性能的影响</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com.cn/cn/edge-staging-server/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-staging-server-cn.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com.cn/cn/edge-staging-server/?src=org_news" target="_blank">在 OpenResty Edge 中如何使用灰度网关服务器</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
</div>
6 changes: 3 additions & 3 deletions v2/templates/news-en.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
</picture></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]&nbsp;</strong><a href="ann-1021004003.html">OpenResty 1.21.4.3</a><span>&nbsp;[% c.l("is now released!") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/rust-exception/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/en-rust-exception.jpg" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/rust-exception/?src=org_news" target="_blank">How to Locate Exceptions inside Rust Applications (using OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/prometheus-high-cpu/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/prometheus-high-cpu-en.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/prometheus-high-cpu/?src=org_news" target="_blank">Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay)</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
Expand All @@ -27,7 +30,4 @@
<div class="news-item"><a href="https://blog.openresty.com/en/perl-xray-overhead/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/en-perl-xray-overhead.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/perl-xray-overhead/?src=org_news" target="_blank">Performance Overhead of OpenResty XRay when Tracing Perl Apps</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
<div class="news-item"><a href="https://blog.openresty.com/en/edge-staging-server/?src=org_news" target="_blank"><img class="news-img" src="../images/header-images/edge-staging-server-en.png" loading="lazy"/></a>
<div class="news-description"><strong class="news-hint">[% c.l("New!") %]</strong><span>&nbsp;[% c.l("New blog post") %]&nbsp;</span><a href="https://blog.openresty.com/en/edge-staging-server/?src=org_news" target="_blank">How to Use Gateway Staging Servers in OpenResty Edge</a><span>&nbsp;[% c.l("is published.") %]</span></div>
</div>
</div>
10 changes: 5 additions & 5 deletions v2/templates/posts-slide-cn.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<div class="swiper-parent" id="swiper-parent">
<div class="swiper-container" id="article-carousel">
<div class="swiper-wrapper">
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/rust-exception/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/cn-rust-exception.jpg"><img class="article-img" src="../images/header-images/cn-rust-exception.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">线上监控 Rust 应用中的程序异常(使用 OpenResty XRay)</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/prometheus-high-cpu/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/prometheus-high-cpu-cn.png"><img class="article-img" src="../images/header-images/prometheus-high-cpu-cn.png" loading="lazy"/></div>
<div class="article-text">
Expand Down Expand Up @@ -106,11 +111,6 @@
<div class="article-text">
<p class="blog-title">如何使用 OpenResty Edge 中的全局服务器负载均衡(GSLB)功能</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com.cn/cn/django-mem-distr/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/django-mem-distr-cn.jpg"><img class="article-img" src="../images/header-images/django-mem-distr-cn.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">Python 的 Django 应用内部是如何使用内存的(使用 OpenResty XRay)</p>
</div></a></div>
</div>
<div class="swiper-pagination"></div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions v2/templates/posts-slide-en.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<div class="swiper-parent" id="swiper-parent">
<div class="swiper-container" id="article-carousel">
<div class="swiper-wrapper">
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/rust-exception/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/en-rust-exception.jpg"><img class="article-img" src="../images/header-images/en-rust-exception.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">How to Locate Exceptions inside Rust Applications (using OpenResty XRay)</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/prometheus-high-cpu/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/prometheus-high-cpu-en.png"><img class="article-img" src="../images/header-images/prometheus-high-cpu-en.png" loading="lazy"/></div>
<div class="article-text">
Expand Down Expand Up @@ -106,11 +111,6 @@
<div class="article-text">
<p class="blog-title">User Management and Access Control in OpenResty Edge’s Web Console</p>
</div></a></div>
<div class="swiper-slide"><a class="article-item" href="https://blog.openresty.com/en/django-mem-distr/?src=org" data-modal="data-modal">
<div class="blog-img" data-pic="/header-images/django-mem-distr-en.jpg"><img class="article-img" src="../images/header-images/django-mem-distr-en.jpg" loading="lazy"/></div>
<div class="article-text">
<p class="blog-title">How Python Django's Application Uses Memory Internally (Using OpenResty XRay)</p>
</div></a></div>
</div>
<div class="swiper-pagination"></div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions v2/templates/videos-en.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="play-list">
<h2><a href="#PLlR4WakbzQp2avbmDrBcvnKBH3w0bcXPZ" style="cursor: pointer">OpenResty XRay</a></h2>
<ul>
<li><a href="#xhoDJMau39E" style="cursor: pointer">Find Blocking Perl Code Paths Holding back CPU Usage (Using OpenResty XRay)</a></li>
<li><a href="#n9cCqz0wxn8" style="cursor: pointer">How to Locate Exceptions inside Rust Applications (using OpenResty XRay)</a></li>
<li><a href="#3OS7gIfuGig" style="cursor: pointer">Pinpointing CPU-Hottest Go Code Paths Inside Prometheus</a></li>
<li><a href="#Crw7P8h-WVg" style="cursor: pointer">How to Locate Exceptions inside Go Applications (using OpenResty XRay)</a></li>
Expand Down Expand Up @@ -99,6 +100,8 @@
</ul>
</div>
<h2 id="PLlR4WakbzQp2avbmDrBcvnKBH3w0bcXPZ">OpenResty XRay</h2>
<p id="xhoDJMau39E">Find Blocking Perl Code Paths Holding back CPU Usage (Using OpenResty XRay)</p>
<iframe width="645" height="360" src="https://www.youtube.com/embed/xhoDJMau39E" allowfullscreen="allowfullscreen" loading="lazy" frameborder="0"></iframe>
<p id="n9cCqz0wxn8">How to Locate Exceptions inside Rust Applications (using OpenResty XRay)</p>
<iframe width="645" height="360" src="https://www.youtube.com/embed/n9cCqz0wxn8" allowfullscreen="allowfullscreen" loading="lazy" frameborder="0"></iframe>
<p id="3OS7gIfuGig">Pinpointing CPU-Hottest Go Code Paths Inside Prometheus</p>
Expand Down

0 comments on commit fb37a93

Please sign in to comment.