<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>makgol's note – 관측·비용</title><link>https://docs.makgol.com/platform/kubernetes/karpenter/observability/</link><description>Recent content in 관측·비용 on makgol's note</description><generator>Hugo -- gohugo.io</generator><language>ko-KR</language><copyright>© 2026 Mont</copyright><lastBuildDate>Sun, 04 Oct 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://docs.makgol.com/platform/kubernetes/karpenter/observability/index.xml" rel="self" type="application/rss+xml"/><item><title>메트릭 수집 비용 — 무엇을 버릴 것인가</title><link>https://docs.makgol.com/karpenter/10-metric-cost/</link><pubDate>Thu, 30 Jul 2026 00:00:00 +0900</pubDate><guid>https://docs.makgol.com/karpenter/10-metric-cost/</guid><description>
&lt;h1&gt;10 · 메트릭 수집 비용 — 무엇을 버릴 것인가&lt;/h1&gt;&lt;div class="hx:overflow-x-auto hx:mt-6 hx:flex hx:rounded-lg hx:border hx:py-2 hx:ltr:pr-4 hx:rtl:pl-4 hx:contrast-more:border-current hx:contrast-more:dark:border-current hx:border-blue-200 hx:bg-blue-100 hx:text-blue-900 hx:dark:border-blue-200/30 hx:dark:bg-blue-900/30 hx:dark:text-blue-200"&gt;
&lt;div class="hx:ltr:pl-3 hx:ltr:pr-2 hx:rtl:pr-3 hx:rtl:pl-2"&gt;&lt;svg height=1.2em class="hx:inline-block hx:align-middle" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true"&gt;&lt;path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&lt;/svg&gt;&lt;/div&gt;
&lt;div class="hx:w-full hx:min-w-0 hx:leading-7"&gt;
&lt;div class="hx:mt-6 hx:leading-7 hx:first:mt-0"&gt;&lt;ul&gt;
&lt;li&gt;비용을 만드는 건 메트릭 60개가 아니라 시리즈 수입니다. 60개 중 &lt;strong&gt;파드 단위 6개&lt;/strong&gt;가 대부분을 차지하고 그 6개만 배포마다 전량 churn합니다.&lt;/li&gt;
&lt;li&gt;Datadog은 OpenMetrics로 긁은 것을 전부 custom metric으로 셉니다. 공식 문서 표현이 &lt;em&gt;&amp;ldquo;all metrics retrieved by the generic Prometheus check are considered custom metrics&amp;rdquo;&lt;/em&gt; 입니다. 아무 설정 없이 붙이면 청구가 튑니다.&lt;/li&gt;
&lt;li&gt;OpenMetrics 체크에는 &lt;code&gt;max_returned_metrics&lt;/code&gt; 기본 2000 상한이 있습니다. 대규모 클러스터에서는 이 선에서 경고 없이 잘립니다 — 없는 메트릭과 잘린 메트릭이 구분되지 않습니다.&lt;/li&gt;
&lt;li&gt;VM에서는 청구가 아니라 &lt;strong&gt;&lt;code&gt;indexdb&lt;/code&gt; 팽창&lt;/strong&gt;이 비용입니다. 시리즈 총수가 같아도 churn이 크면 인덱스가 계속 자랍니다.&lt;/li&gt;
&lt;li&gt;Prometheus의 보호 장치는 전부 기본으로 꺼져 있습니다 — &lt;code&gt;sample_limit&lt;/code&gt;·&lt;code&gt;label_limit&lt;/code&gt;·&lt;code&gt;target_limit&lt;/code&gt; 기본값이 모두 &lt;code&gt;0&lt;/code&gt;(무제한)입니다.&lt;/li&gt;
&lt;li&gt;파드 6종을 버려도 잃는 게 거의 없습니다. 파드 단위 상태는 kube-state-metrics가 이미 더 잘 냅니다.&lt;/li&gt;
&lt;li&gt;켜기 전에 잽니다. 엔드포인트를 직접 긁으면 백엔드에 아무것도 넣지 않고 시리즈 수를 셀 수 있습니다(§5.1). 붙였다가 줄이는 순서는 Datadog에서 그 달 청구가 이미 발생한 뒤입니다.&lt;/li&gt;
&lt;li&gt;drop보다 keep이 낫습니다. 업스트림이 메트릭을 추가하면 blocklist는 그것을 자동으로 통과시킵니다(§4.1).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://docs.makgol.com/karpenter/09-metrics-logs-events/"&gt;09&lt;/a&gt;가 &amp;ldquo;무엇이 나오나&amp;quot;라면 여기는 &amp;ldquo;무엇을 저장할 것인가&amp;quot;입니다 — 60개를 다 긁는 것 자체는 문제가 아니고 비용이 백엔드마다 다른 이름으로 나타나는 게 주제입니다. 카디널리티 폭발의 원리는 &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/practice/01-cardinality/"&gt;VictoriaMetrics / 카디널리티&lt;/a&gt;가 소유합니다. 여기서는 그 결과만 다룹니다.&lt;/p&gt;</description></item><item><title>무엇을 봐야 하나 — 메트릭·로그·이벤트</title><link>https://docs.makgol.com/karpenter/09-metrics-logs-events/</link><pubDate>Thu, 30 Jul 2026 00:00:00 +0900</pubDate><guid>https://docs.makgol.com/karpenter/09-metrics-logs-events/</guid><description>
&lt;h1&gt;09 · 무엇을 봐야 하나 — 메트릭·로그·이벤트&lt;/h1&gt;&lt;div class="hx:overflow-x-auto hx:mt-6 hx:flex hx:rounded-lg hx:border hx:py-2 hx:ltr:pr-4 hx:rtl:pl-4 hx:contrast-more:border-current hx:contrast-more:dark:border-current hx:border-blue-200 hx:bg-blue-100 hx:text-blue-900 hx:dark:border-blue-200/30 hx:dark:bg-blue-900/30 hx:dark:text-blue-200"&gt;
&lt;div class="hx:ltr:pl-3 hx:ltr:pr-2 hx:rtl:pr-3 hx:rtl:pl-2"&gt;&lt;svg height=1.2em class="hx:inline-block hx:align-middle" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true"&gt;&lt;path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/&gt;&lt;/svg&gt;&lt;/div&gt;
&lt;div class="hx:w-full hx:min-w-0 hx:leading-7"&gt;
&lt;div class="hx:mt-6 hx:leading-7 hx:first:mt-0"&gt;&lt;p&gt;&lt;strong&gt;한눈에&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>