<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiroito</author_name>
  <author_url>https://blog.hatena.ne.jp/chiroito/</author_url>
  <blog_title>#chiroito ’s blog</blog_title>
  <blog_url>https://b.chiroito.dev/</blog_url>
  <categories>
    <anon>Red Hat Middleware</anon>
  </categories>
  <description>OpenShift で監視を構築していると、ServiceMonitor を作成したはずなのに、Prometheus に対象のメトリクスがまったく出てこないことがあります。 こういうとき、最初に確認したくなるのは Service や Endpoint、あるいは /metrics の中身そのものですが、その前に見ておくと切り分けがかなり早くなるポイントがあります。 それが、Prometheus がその ServiceMonitor を認識しているかどうかです。 この記事では、Prometheus の api/v1/targets を使って、ServiceMonitor がどこまで認識されているの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fb.chiroito.dev%2Fentry%2F2026%2F04%2F10%2F095455&quot; title=&quot;OpenShiftでServiceMonitorを作ったのにPrometheusにメトリクスが出ないときの確認手順 - #chiroito ’s blog&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>2026-04-10 09:54:55</published>
  <title>OpenShiftでServiceMonitorを作ったのにPrometheusにメトリクスが出ないときの確認手順</title>
  <type>rich</type>
  <url>https://b.chiroito.dev/entry/2026/04/10/095455</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
