<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shivani Bhati</title>
    <description>The latest articles on DEV Community by Shivani Bhati (@shivani_devops).</description>
    <link>https://dev.to/shivani_devops</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4030774%2Fbe6b90aa-e095-4b8c-97ec-146cdce9b8e0.png</url>
      <title>DEV Community: Shivani Bhati</title>
      <link>https://dev.to/shivani_devops</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivani_devops"/>
    <language>en</language>
    <item>
      <title>Un-Blackboxing vLLM: Building an AI SRE Copilot &amp; FinOps Gateway with SigNoz</title>
      <dc:creator>Shivani Bhati</dc:creator>
      <pubDate>Sat, 25 Jul 2026 18:35:42 +0000</pubDate>
      <link>https://dev.to/shivani_devops/un-blackboxing-vllm-building-an-ai-sre-copilot-finops-gateway-with-signoz-35gh</link>
      <guid>https://dev.to/shivani_devops/un-blackboxing-vllm-building-an-ai-sre-copilot-finops-gateway-with-signoz-35gh</guid>
      <description>&lt;p&gt;Un-Blackboxing vLLM: Building an AI SRE Copilot with SigNoz&lt;/p&gt;

&lt;p&gt;When moving from external APIs (like OpenAI) to self-hosted open-source models, developers hit a wall: AI infrastructure is a black box. If an AI Agent hallucinates or costs explode, standard CPU metrics won’t tell you why.&lt;/p&gt;

&lt;p&gt;For the Agents of SigNoz Hackathon (Track 1), I solved this by transforming a Kaggle T4 GPU running vLLM into an enterprise-ready system. I built an SRE Copilot and FinOps Gateway, but the real superhero of this architecture is SigNoz Cloud.&lt;/p&gt;

&lt;p&gt;Here is how I used OpenTelemetry and SigNoz to make sense of complex AI data.&lt;/p&gt;

&lt;p&gt;🏗️ The Tech Stack &amp;amp; Architecture&lt;/p&gt;

&lt;p&gt;To treat AI like true enterprise infrastructure, I built three layers of custom observability in Python:&lt;/p&gt;

&lt;p&gt;FinOps &amp;amp; SLO Gateway (FastAPI): A proxy that intercepts HTTP traffic, tracks mathematical Latency SLAs, and parses JSON token responses to calculate exact USD costs per internal team.&lt;br&gt;
Hardware Exporter (pynvml): A custom script scraping raw NVIDIA GPU Power, Temperature, and Memory Utilization directly from the Kaggle kernel.&lt;br&gt;
The Engine: vLLM running the Qwen 1.5B model.&lt;br&gt;
All of this telemetry is batched via the OpenTelemetry Collector (otelcol-contrib) and shipped natively into SigNoz Cloud.&lt;/p&gt;

&lt;p&gt;🦸‍♂️ SigNoz to the Rescue: The Dashboard&lt;/p&gt;

&lt;p&gt;This is where SigNoz becomes the superhero. It takes highly complex, chaotic OpenTelemetry data and unifies it into a single pane of glass using PromQL. I built a custom dashboard to correlate business metrics with hardware physics across three critical sections:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;🛡️ Guardrails &amp;amp; SLAs&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We enforce a strict 2.0s Latency SLA, using SigNoz to graph our Error Budget dynamically. More importantly, the Gateway runs Zero-Latency Heuristic Guardrails. If a model gets stuck in a hallucination loop, the Gateway detects the lack of semantic diversity. SigNoz instantly visualizes this drop in our "Output Quality Score" metric, alerting us to bad AI behavior without needing a slow, secondary LLM.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;💸 LLM FinOps&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;SigNoz makes FinOps easy. By parsing token usage, we visualize exact costs via this PromQL query: sum by (team) (increase(vllm_finops_cost_dollars_total[1h])) SigNoz instantly graphs this data, showing exactly which internal team is burning the AI budget in real-time.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;🖥️ Core Infrastructure&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To catch OOM risks, we track Inference Queue Depth and KV Cache Usage. SigNoz allows us to plot these software queues directly alongside raw NVIDIA GPU Utilization, proving exactly when the physical hardware becomes the bottleneck.&lt;/p&gt;

&lt;p&gt;🌊 The Stress Test&lt;/p&gt;

&lt;p&gt;To prove the pipeline, I built a multi-threaded Python load generator simulating traffic from four teams. Crucially, it injects a "Poison Pill" prompt designed to force the AI into a hallucination loop.&lt;/p&gt;

&lt;p&gt;Watching SigNoz react is incredible: the Queue Depth spikes, the SLA Error Budget plummets below zero, and the Output Quality Score crashes the exact second the poison pill hits. Because all this data flows natively into SigNoz, I configured PromQL Alert Rules so my Slack channel is instantly pinged when the Error Budget breaches zero.&lt;/p&gt;

&lt;p&gt;By combining custom Python middleware with the power of OpenTelemetry, SigNoz proved it can flawlessly ingest and visualize deep hardware physics alongside complex semantic and financial AI metrics.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>devops</category>
      <category>monitoring</category>
    </item>
  </channel>
</rss>
