<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Grafana on 我的博客</title><link>https://hugo.kkun.top/tags/grafana/</link><description>Recent content from 我的博客</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>your@email.com (你的名字)</managingEditor><webMaster>your@email.com (你的名字)</webMaster><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Fri, 24 Mar 2023 08:52:55 +0000</lastBuildDate><atom:link href="https://hugo.kkun.top/tags/grafana/index.xml" rel="self" type="application/rss+xml"/><item><title>Grafana与 Tempo 和 Jaeger 的分布式跟踪</title><link>https://hugo.kkun.top/post/grafana%E4%B8%8E-tempo-%E5%92%8C-jaeger-%E7%9A%84%E5%88%86%E5%B8%83%E5%BC%8F%E8%B7%9F%E8%B8%AA/</link><pubDate>Fri, 24 Mar 2023 08:52:55 +0000</pubDate><author>your@email.com (你的名字)</author><guid>https://hugo.kkun.top/post/grafana%E4%B8%8E-tempo-%E5%92%8C-jaeger-%E7%9A%84%E5%88%86%E5%B8%83%E5%BC%8F%E8%B7%9F%E8%B8%AA/</guid><description>
<![CDATA[<h1>Grafana与 Tempo 和 Jaeger 的分布式跟踪</h1><p>作者：你的名字（your@email.com）</p>
        
          <h2 id="如果我有一个好的日志记录和监控框架为什么还需要跟踪">
<a class="header-anchor" href="#%e5%a6%82%e6%9e%9c%e6%88%91%e6%9c%89%e4%b8%80%e4%b8%aa%e5%a5%bd%e7%9a%84%e6%97%a5%e5%bf%97%e8%ae%b0%e5%bd%95%e5%92%8c%e7%9b%91%e6%8e%a7%e6%a1%86%e6%9e%b6%e4%b8%ba%e4%bb%80%e4%b9%88%e8%bf%98%e9%9c%80%e8%a6%81%e8%b7%9f%e8%b8%aa"></a>
如果我有一个好的日志记录和监控框架，为什么还需要跟踪？
</h2><p>如果某些事情没有按预期工作（失败、错误、不正确的配置等），应用程序日志有利于显示重要事件。 尽管它是应用程序设计中非常重要的元素，但还是应该节俭地记录日志。 这是因为日志收集、转换和存储的成本很高。</p>
        
        <hr><p>本文2023-03-24首发于<a href='https://hugo.kkun.top/'>我的博客</a>，最后修改于2023-03-24</p>]]></description><category>kubernetes</category><category>Grafana</category><category>Tempo</category></item><item><title>用Loki来绘制Ingress Nginx监控大屏</title><link>https://hugo.kkun.top/post/%E7%94%A8loki%E6%9D%A5%E7%BB%98%E5%88%B6ingress-nginx%E7%9B%91%E6%8E%A7%E5%A4%A7%E5%B1%8F/</link><pubDate>Wed, 22 Mar 2023 10:52:55 +0000</pubDate><author>your@email.com (你的名字)</author><guid>https://hugo.kkun.top/post/%E7%94%A8loki%E6%9D%A5%E7%BB%98%E5%88%B6ingress-nginx%E7%9B%91%E6%8E%A7%E5%A4%A7%E5%B1%8F/</guid><description>
<![CDATA[<h1>用Loki来绘制Ingress Nginx监控大屏</h1><p>作者：你的名字（your@email.com）</p>
        
          <p>最近无意间发现Grafana官网的Dashboard页面首推了一个用Loki分析Nginx日志的页面，大体也就是Loki2.0后产品主推的LogQL V2语法的典型应用。也许是最近感受到大家愈发对新语法的不熟悉，社区也特地做了一个quick demo来简单说明其新语法的使用。</p>
        
        <hr><p>本文2023-03-22首发于<a href='https://hugo.kkun.top/'>我的博客</a>，最后修改于2023-03-22</p>]]></description><category>kubernetes</category><category>Grafana</category><category>Loki</category></item><item><title>如何用Loki来分析Kubernetes事件</title><link>https://hugo.kkun.top/post/%E5%A6%82%E4%BD%95%E7%94%A8loki%E6%9D%A5%E5%88%86%E6%9E%90kubernetes%E4%BA%8B%E4%BB%B6/</link><pubDate>Wed, 22 Mar 2023 10:52:55 +0000</pubDate><author>your@email.com (你的名字)</author><guid>https://hugo.kkun.top/post/%E5%A6%82%E4%BD%95%E7%94%A8loki%E6%9D%A5%E5%88%86%E6%9E%90kubernetes%E4%BA%8B%E4%BB%B6/</guid><description>
<![CDATA[<h1>如何用Loki来分析Kubernetes事件</h1><p>作者：你的名字（your@email.com）</p>
        
          <p>在Kubernetes API的众多对象中，Events算是最容易被我们忽视的类型之一。与其他对象相比，Event的活动量很大，不太可能长时间存储在etcd中，默认情况下，Event留存时间也只有1小时。当我们使用<code>kubectl describe</code>获取一个对象时，可能因时间超限而无法获取它的历史事件，这对集群的使用者非常的不友好。除了能查看集群事件外，我们可能还有类似追踪一些特定的Warning事件（如Pod生命周期、副本集或worker节点状态）来进行相关告警的需求。那么在开启本期话题之前，我们先来理解下Kubernetes Events的结构，下述是官访问给出的几个重要字段解释</p>
        
        <hr><p>本文2023-03-22首发于<a href='https://hugo.kkun.top/'>我的博客</a>，最后修改于2023-03-22</p>]]></description><category>kubernetes</category><category>Grafana</category><category>Loki</category></item><item><title>Tempo - 分布式Loki链路追踪利器</title><link>https://hugo.kkun.top/post/tempo-%E5%88%86%E5%B8%83%E5%BC%8Floki%E9%93%BE%E8%B7%AF%E8%BF%BD%E8%B8%AA%E5%88%A9%E5%99%A8/</link><pubDate>Wed, 22 Mar 2023 09:52:55 +0000</pubDate><author>your@email.com (你的名字)</author><guid>https://hugo.kkun.top/post/tempo-%E5%88%86%E5%B8%83%E5%BC%8Floki%E9%93%BE%E8%B7%AF%E8%BF%BD%E8%B8%AA%E5%88%A9%E5%99%A8/</guid><description>
<![CDATA[<h1>Tempo - 分布式Loki链路追踪利器</h1><p>作者：你的名字（your@email.com）</p>
        
          <p><code>Tempo</code>是Grafana Labs在<code>ObservabilityCON 2020</code>大会上新开源的一个用于做分布式式追踪的后端服务。它和Cortex、Loki一样，Tempo也是一个兼备<code>高扩展</code>和<code>低成本</code>效应的系统。</p>
        
        <hr><p>本文2023-03-22首发于<a href='https://hugo.kkun.top/'>我的博客</a>，最后修改于2023-03-22</p>]]></description><category>kubernetes</category><category>Grafana</category><category>Tempo</category></item></channel></rss>