<?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: AVUGADDI HARIN RAJADITYA</title>
    <description>The latest articles on DEV Community by AVUGADDI HARIN RAJADITYA (@25cs249create).</description>
    <link>https://dev.to/25cs249create</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%2F4047190%2Fff6c76a1-de67-434c-8f63-6264d6bb649d.png</url>
      <title>DEV Community: AVUGADDI HARIN RAJADITYA</title>
      <link>https://dev.to/25cs249create</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/25cs249create"/>
    <language>en</language>
    <item>
      <title>Building Sentinel: Turning SigNoz Telemetry into Explainable AI Runtime Safety Intelligence</title>
      <dc:creator>AVUGADDI HARIN RAJADITYA</dc:creator>
      <pubDate>Sat, 25 Jul 2026 19:20:07 +0000</pubDate>
      <link>https://dev.to/25cs249create/building-sentinel-turning-signoz-telemetry-into-explainable-ai-runtime-safety-intelligence-4en3</link>
      <guid>https://dev.to/25cs249create/building-sentinel-turning-signoz-telemetry-into-explainable-ai-runtime-safety-intelligence-4en3</guid>
      <description>&lt;p&gt;Turning SigNoz Telemetry into AI Runtime Safety Intelligence&lt;/p&gt;

&lt;p&gt;AI agents usually do not fail like traditional software. They often keep running while quietly getting worse: retrying the same tool call, looping through planning steps, using too many tokens, or stalling on a dependency that never responds. From the outside, nothing looks completely broken. From the inside, the workflow is becoming unsafe.&lt;/p&gt;

&lt;p&gt;That gap is what Sentinel was built to close.&lt;/p&gt;

&lt;p&gt;Sentinel is an AI Runtime Safety Supervisor built on top of SigNoz and OpenTelemetry. Instead of replacing observability, it adds a safety layer on top of it. SigNoz tells you what happened. Sentinel tells you whether the workflow is safe, why the problem happened, and what an engineer should do next.&lt;/p&gt;

&lt;p&gt;I built Sentinel for the Agents of SigNoz hackathon as a way to explore a simple but important idea: telemetry is most valuable when it becomes evidence-backed action, not just another list of traces.&lt;/p&gt;

&lt;p&gt;What Sentinel does&lt;/p&gt;

&lt;p&gt;Sentinel turns runtime telemetry into explainable engineering intelligence.&lt;/p&gt;

&lt;p&gt;At a high level, it:&lt;/p&gt;

&lt;p&gt;ingests telemetry from a demo generator or a live SigNoz deployment,&lt;br&gt;
converts traces, metrics, and logs into internal workflow evidence,&lt;br&gt;
runs deterministic runtime safety checks,&lt;br&gt;
produces a Runtime Safety Score,&lt;br&gt;
explains the result with evidence references,&lt;br&gt;
and recommends what the engineering team should review next.&lt;/p&gt;

&lt;p&gt;The goal is not to create another observability dashboard. The goal is to help teams understand when an autonomous workflow is drifting into unsafe behavior.&lt;/p&gt;

&lt;p&gt;Why I chose this problem&lt;/p&gt;

&lt;p&gt;As AI systems become more autonomous, the failure modes become less obvious.&lt;/p&gt;

&lt;p&gt;A workflow may still return responses while quietly consuming too many tokens, hammering the same tool, stalling on a blocked dependency, or entering a recursive loop. Traditional observability tools are essential, but they usually leave the final judgment to the engineer.&lt;/p&gt;

&lt;p&gt;Sentinel adds a structured safety layer on top of that telemetry.&lt;/p&gt;

&lt;p&gt;That is important because in real systems, the question is often not just “What happened?” but:&lt;/p&gt;

&lt;p&gt;Is this workflow still healthy?&lt;br&gt;
Why is the behavior risky?&lt;br&gt;
What evidence supports that conclusion?&lt;br&gt;
What should we do now?&lt;/p&gt;

&lt;p&gt;Sentinel is my attempt to answer those questions in a repeatable, traceable way.&lt;/p&gt;

&lt;p&gt;Architecture&lt;/p&gt;

&lt;p&gt;Sentinel uses a straightforward pipeline:&lt;/p&gt;

&lt;p&gt;AI Agent → OpenTelemetry → SigNoz → SigNoz MCP → Sentinel → Runtime Safety Score → Explanation → Recommendation&lt;/p&gt;

&lt;p&gt;The important part is that Sentinel does not invent its own telemetry source. It consumes evidence from SigNoz and transforms it into runtime analysis.&lt;/p&gt;

&lt;p&gt;The main layers are:&lt;/p&gt;

&lt;p&gt;Telemetry ingestion: receives demo or live telemetry&lt;br&gt;
Runtime correlation: links traces, metrics, and logs into coherent workflow evidence&lt;br&gt;
Runtime assessment: computes a deterministic safety score&lt;br&gt;
Explanation generation: turns the score into human-readable reasoning&lt;br&gt;
Recommendation generation: suggests the next engineering action&lt;br&gt;
Result publication: exposes the analysis in the dashboard and workflow pages&lt;/p&gt;

&lt;p&gt;This structure keeps the system explainable and easy to debug.&lt;/p&gt;

&lt;p&gt;How I used SigNoz&lt;/p&gt;

&lt;p&gt;SigNoz is the foundation of the live telemetry path.&lt;/p&gt;

&lt;p&gt;I used it in three places:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;OpenTelemetry export&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Sentinel’s application can emit traces through OpenTelemetry. Those traces are exported to SigNoz, where they become part of the observable runtime data.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SigNoz MCP server&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Instead of directly scraping telemetry manually, Sentinel connects to the SigNoz MCP server using the Model Context Protocol. That lets Sentinel ask for traces, trace details, logs, and metrics in a structured way.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Runtime analysis&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The MCP results are mapped into Sentinel’s internal workflow model. From there, Sentinel computes a safety score and generates evidence-backed explanations and recommendations.&lt;/p&gt;

&lt;p&gt;This was the key integration point in the project. Once the parser matched the actual MCP response shape, live traces started flowing into the dashboard correctly.&lt;/p&gt;

&lt;p&gt;Demo mode and live mode&lt;/p&gt;

&lt;p&gt;Sentinel supports two operating modes.&lt;/p&gt;

&lt;p&gt;Demo mode&lt;/p&gt;

&lt;p&gt;Demo mode ships with realistic AI workflow telemetry so the full product can be explored without requiring a live SigNoz setup. This makes it easy to demo the system and test the safety pipeline in a predictable environment.&lt;/p&gt;

&lt;p&gt;Live SigNoz mode&lt;/p&gt;

&lt;p&gt;When TELEMETRY_SOURCE=signoz, Sentinel connects to the local SigNoz MCP server, loads real traces, and shows the same runtime analysis pipeline on live data.&lt;/p&gt;

&lt;p&gt;The best part is that the analysis path stays the same in both modes. Only the source of telemetry changes.&lt;/p&gt;

&lt;p&gt;That made debugging much easier, because I could first validate the pipeline with demo data and then switch to live SigNoz once the MCP integration was ready.&lt;/p&gt;

&lt;p&gt;A few things I learned while building it&lt;/p&gt;

&lt;p&gt;The biggest lesson was that integration work is often about matching reality, not assumptions.&lt;/p&gt;

&lt;p&gt;At first, I assumed the MCP response would be simple and flat. It was not. The actual response needed parsing from nested data, and I had to update the parser to map the real row structure into Sentinel’s workflow model.&lt;/p&gt;

&lt;p&gt;I also learned that fallback behavior matters.&lt;/p&gt;

&lt;p&gt;When the MCP server was not available, Sentinel should not crash or show a broken state. It should clearly show that it is using fallback data while keeping the user informed about what happened. That made the dashboard much more usable.&lt;/p&gt;

&lt;p&gt;Another important lesson was around state.&lt;/p&gt;

&lt;p&gt;I found a bug where the dashboard could show stale source information after refresh. That happened because cached evidence was being reused without refreshing the source status. Fixing that made the demo much more reliable.&lt;/p&gt;

&lt;p&gt;Those issues were small individually, but together they made the difference between a prototype and a project that feels trustworthy.&lt;/p&gt;

&lt;p&gt;What the dashboard shows&lt;/p&gt;

&lt;p&gt;Sentinel’s dashboard is designed to answer the basic operational questions quickly.&lt;/p&gt;

&lt;p&gt;You can see:&lt;/p&gt;

&lt;p&gt;how many workflows are healthy, watch, warning, or critical,&lt;br&gt;
the active telemetry source,&lt;br&gt;
whether Sentinel is connected to SigNoz or falling back,&lt;br&gt;
how many traces were loaded,&lt;br&gt;
the Runtime Safety Score for each workflow,&lt;br&gt;
the evidence chain behind each conclusion,&lt;br&gt;
and the recommended next action.&lt;/p&gt;

&lt;p&gt;The workflow details page goes one step further and shows the score formula, timeline, supporting evidence, and the reasoning behind the final recommendation.&lt;/p&gt;

&lt;p&gt;That was important to me because I did not want Sentinel to feel like a black box.&lt;/p&gt;

&lt;p&gt;Why evidence matters&lt;/p&gt;

&lt;p&gt;A safety score is only useful if you can trust it.&lt;/p&gt;

&lt;p&gt;That is why Sentinel keeps evidenceRefs attached to every assessment, explanation, and recommendation. Those references point back to specific telemetry items such as spans, metrics, and logs.&lt;/p&gt;

&lt;p&gt;This gives the system a few important properties:&lt;/p&gt;

&lt;p&gt;observable&lt;br&gt;
explainable&lt;br&gt;
traceable&lt;br&gt;
verifiable&lt;br&gt;
human-governed&lt;/p&gt;

&lt;p&gt;Sentinel recommendations are advisory only. It does not terminate workflows or take automated control actions. It helps engineers make better decisions with better context.&lt;/p&gt;

&lt;p&gt;Screenshots&lt;/p&gt;

&lt;p&gt;Here are a few screenshots from the project:&lt;/p&gt;

&lt;p&gt;Dashboard Overview&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4tqmtyj92hj5gks4xakg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4tqmtyj92hj5gks4xakg.png" alt=" " width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Demo Mode&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffvk5jxbgibijwpae8elk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffvk5jxbgibijwpae8elk.png" alt=" " width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Runtime Assessment&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs0upu8w2tiylfmt2fg0u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs0upu8w2tiylfmt2fg0u.png" alt=" " width="800" height="806"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Evidence Traceability&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz244krd252h7q8kbg30f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz244krd252h7q8kbg30f.png" alt=" " width="800" height="709"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Evidence Chain&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1w7p2celk2ejags2qzmx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1w7p2celk2ejags2qzmx.png" alt=" " width="800" height="572"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Live SigNoz Integration&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fczscmm7mnkhskug0d7b4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fczscmm7mnkhskug0d7b4.png" alt=" " width="800" height="556"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tech stack&lt;/p&gt;

&lt;p&gt;Sentinel is built with:&lt;/p&gt;

&lt;p&gt;Next.js 15&lt;br&gt;
TypeScript&lt;br&gt;
Tailwind CSS&lt;br&gt;
OpenTelemetry&lt;br&gt;
SigNoz&lt;br&gt;
MCP (Model Context Protocol)&lt;br&gt;
deterministic heuristic analysis for runtime safety scoring&lt;br&gt;
What I would improve next&lt;/p&gt;

&lt;p&gt;If I continue working on Sentinel, the next steps would be:&lt;/p&gt;

&lt;p&gt;richer historical analysis,&lt;br&gt;
more advanced multi-agent correlation,&lt;br&gt;
policy-based safety rules,&lt;br&gt;
better workflow naming from live telemetry,&lt;br&gt;
and stronger predictive risk scoring.&lt;/p&gt;

&lt;p&gt;Those are all natural extensions, but the current version already demonstrates the core idea: observability can be turned into actionable runtime safety intelligence.&lt;/p&gt;

&lt;p&gt;Final thoughts&lt;/p&gt;

&lt;p&gt;Building Sentinel taught me that observability becomes much more powerful when it is tied to a clear decision-making layer.&lt;/p&gt;

&lt;p&gt;SigNoz gives the raw visibility. Sentinel converts that visibility into a structured safety signal that engineers can act on.&lt;/p&gt;

&lt;p&gt;For autonomous systems, that extra layer matters. It helps teams understand not just what the system did, but whether it is still safe to keep running.&lt;/p&gt;

&lt;p&gt;Links&lt;br&gt;
GitHub repository: &lt;a href="https://github.com/25cs249-create/Sentinel-Runtime-Safety" rel="noopener noreferrer"&gt;https://github.com/25cs249-create/Sentinel-Runtime-Safety&lt;/a&gt;&lt;br&gt;
Demo video: &lt;a href="https://drive.google.com/file/d/1kgzIOSTd5pY-geeudHDrfz0KxJf2pJxD/view?usp=drivesdk" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/1kgzIOSTd5pY-geeudHDrfz0KxJf2pJxD/view?usp=drivesdk&lt;/a&gt;&lt;/p&gt;

</description>
      <category>signoz</category>
      <category>ai</category>
      <category>observability</category>
      <category>opentelemetry</category>
    </item>
  </channel>
</rss>
