<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ops Insights – 우리의 운영</title><link>https://docs.makgol.com/monitoring/victoriametrics/ours/</link><description>Recent content in 우리의 운영 on Ops Insights</description><generator>Hugo -- gohugo.io</generator><language>ko-KR</language><copyright>© 2026 Mont</copyright><lastBuildDate>Sat, 18 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.makgol.com/monitoring/victoriametrics/ours/index.xml" rel="self" type="application/rss+xml"/><item><title>스택 구성</title><link>https://docs.makgol.com/monitoring/victoriametrics/ours/01-stack-overview/</link><pubDate>Sat, 01 Aug 2026 00:00:00 +0000</pubDate><guid>https://docs.makgol.com/monitoring/victoriametrics/ours/01-stack-overview/</guid><description>
&lt;h1&gt;01 · 우리 스택 구성&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;k8s 위 VM operator가 vmagent를 Deployment(stateless)로 띄우고 중앙 VM 클러스터의 vminsert 엔드포인트로 &lt;code&gt;remote_write&lt;/code&gt; 합니다.&lt;/li&gt;
&lt;li&gt;목적지 경로 &lt;code&gt;/insert/0/prometheus&lt;/code&gt;는 클러스터 모드 · tenant 0을 뜻합니다.&lt;/li&gt;
&lt;li&gt;stage/prod는 값이 다릅니다 — 리소스·&lt;code&gt;maxDiskUsagePerURL&lt;/code&gt;이 환경별로 달라지고 prod는 vmagent가 두 계열(용도별 분리)이라 &lt;code&gt;extraArgs&lt;/code&gt;가 양쪽에 함께 걸립니다.&lt;/li&gt;
&lt;li&gt;공통 수집 설정은 &lt;code&gt;scrapeInterval 30s&lt;/code&gt; · &lt;code&gt;promscrape.streamParse=true&lt;/code&gt; · &lt;code&gt;promscrape.maxScrapeSize=24GiB&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;우리 환경에서 지표가 어디서 만들어져 어디로 흘러가는지, 그 구조와 stage/prod 값 차이를 정리합니다. 전송 안정화 Phase 1 튜닝은 &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/ours/02-vmagent-transport-tuning/"&gt;02 vmagent 전송 튜닝&lt;/a&gt;에서, 장기보관 아키텍처는 &lt;a href="https://docs.makgol.com/monitoring/longterm-retention/"&gt;메트릭 장기보관&lt;/a&gt; 챕터에서 따로 다룹니다.&lt;/p&gt;</description></item><item><title>vmagent 전송 튜닝</title><link>https://docs.makgol.com/monitoring/victoriametrics/ours/02-vmagent-transport-tuning/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>https://docs.makgol.com/monitoring/victoriametrics/ours/02-vmagent-transport-tuning/</guid><description>
&lt;h1&gt;02 · vmagent 전송 안정화 (Phase 1)&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;&lt;code&gt;remoteWrite.forceVMProto=true&lt;/code&gt; — 자동 협상을 없애고 VM native protocol(zstd)로 고정합니다. 로그 없이 일어나던 snappy 다운그레이드가 사라지므로 전송량 2~4x 절감을 보장합니다. 수신측 vminsert v1.88+ 필요.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;remoteWriteSettings.maxDiskUsagePerURL&lt;/code&gt; — 기본값 0(무제한)이라 링크 장애가 길어지면 노드 디스크가 고갈됩니다. 상한에 도달하면 오래된 블록부터 FIFO drop합니다. 적용값은 stage &lt;code&gt;1000MiB&lt;/code&gt; / prod &lt;code&gt;2000MiB&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;대안(미적용) &lt;code&gt;statefulMode=true&lt;/code&gt; — 큐를 PVC로 옮기면 유실이 없어집니다. 그런데 무상태 원칙의 예외라서 그 예외를 인정할 때만 택합니다.&lt;/li&gt;
&lt;li&gt;적용 순서는 stage 먼저 → 수일 관찰 → prod 순입니다. 적용 후 확인은 &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/ours/03-self-monitoring-metrics/"&gt;03 자기감시 메트릭&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Phase 1의 목표는 전송 안정화입니다. 전송 프로토콜을 zstd로 고정했고 디스크 큐에 상한을 명시했습니다. 각 변경의 근거와 트레이드오프, 적용 순서를 아래에 정리했습니다.&lt;/p&gt;</description></item><item><title>자기감시 메트릭</title><link>https://docs.makgol.com/monitoring/victoriametrics/ours/03-self-monitoring-metrics/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>https://docs.makgol.com/monitoring/victoriametrics/ours/03-self-monitoring-metrics/</guid><description>
&lt;h1&gt;03 · 우리가 보는 자기감시 메트릭&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;전송 상태는 네 지표로 봅니다 — retries(재시도), packets_dropped(드랍), bytes_sent(전송량), pending_data_bytes(대기 큐).&lt;/li&gt;
&lt;li&gt;bytes_sent로 &lt;code&gt;forceVMProto&lt;/code&gt; 효과를 판정합니다 — 적용 후 뚝 떨어졌으면 여태 snappy로 나갔고 그대로면 이미 zstd였습니다. 둘 다 정상입니다.&lt;/li&gt;
&lt;li&gt;pending_data_bytes가 평시 0 근처를 벗어나 계속 증가하면 목적지 병목 신호입니다.&lt;/li&gt;
&lt;li&gt;카디널리티 감시(churn rate · slow insert)는 D2 개념을 계승합니다 → &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/practice/01-cardinality/"&gt;실전 01 카디널리티&lt;/a&gt;. 인벤토리는 vmui + &lt;code&gt;metric_names_stats&lt;/code&gt;로 뽑습니다.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Phase 1이 제대로 적용됐는지 전송이 건강한지 판정할 때 보는 자기감시(self-monitoring) 메트릭을 정리합니다. &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/ours/02-vmagent-transport-tuning/"&gt;02&lt;/a&gt;의 적용 후 확인이 여기로 이어집니다.&lt;/p&gt;</description></item><item><title>스케일링·용량 기준치</title><link>https://docs.makgol.com/monitoring/victoriametrics/ours/04-scaling-thresholds/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><guid>https://docs.makgol.com/monitoring/victoriametrics/ours/04-scaling-thresholds/</guid><description>
&lt;h1&gt;04 · 스케일링·용량 기준치&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;디스크 큐 상한 산정식: &lt;code&gt;sum(rate(vmagent_remotewrite_bytes_sent_total[1h]))&lt;/code&gt; × 버틸 장애 시간 (실측 후 조정). 현행 stage &lt;code&gt;1000MiB&lt;/code&gt; / prod &lt;code&gt;2000MiB&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;vmagent 리소스는 현행값을 기준치로 두고, 실측 후 조정은 TODO로 남깁니다.&lt;/li&gt;
&lt;li&gt;HA(&lt;code&gt;replicaCount: 2&lt;/code&gt;)는 의도적 미적용 — replica가 각자 전량 전송해 cross-cluster 트래픽이 2배가 되고 dedup은 저장만 절약하므로 전송 절감 목표와 상충합니다.&lt;/li&gt;
&lt;li&gt;slow insert 지속 10% 초과 = 메모리 부족 경고 (D2 계승) → &lt;a href="https://docs.makgol.com/monitoring/victoriametrics/practice/01-cardinality/"&gt;실전 01 카디널리티&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;큐 상한·리소스·HA·메모리 임계를 어떤 근거로 잡는지 적어 둡니다. 확정 숫자보다 판단 기준과 산정식에 무게를 둡니다 — 실제 값은 실측으로 조정합니다.&lt;/p&gt;</description></item></channel></rss>