<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cohalz</author_name>
  <author_url>https://blog.hatena.ne.jp/cohalz/</author_url>
  <blog_title>Re:cohalz</blog_title>
  <blog_url>https://cohalz.co/</blog_url>
  <categories>
  </categories>
  <description>Fluent Bit では以下のようにHTTP_Serverを有効にすることで内部のメトリックをHTTP経由で /api/v1/metrics というパスからJSON形式で取得できるようになります。*1 [SERVICE] HTTP_Server On HTTP_Listen 127.0.0.1 HTTP_PORT 2020 これで各プラグインで今までに処理したレコード数やバイト数が取得できるわけですが、実はこのJSONはmackerel-plugin-jsonでそのまま扱える形式になっています。 下はoutputのcloudwatch_logsプラグインに対してのメトリックを送信する例です。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcohalz.co%2Fentry%2F2022%2F05%2F20%2F102743&quot; title=&quot;Fluent Bit のメトリックを Mackerel に送る - Re:cohalz&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-20 10:27:43</published>
  <title>Fluent Bit のメトリックを Mackerel に送る</title>
  <type>rich</type>
  <url>https://cohalz.co/entry/2022/05/20/102743</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
