SShortSingh.
Back to feed

Open-source Go tool mAPI-ng auto-diagnoses API issues without complex observability setup

0
·1 views

A developer has released mAPI-ng, an open-source self-diagnosing API observability tool built for Go applications, available on GitHub under the MIT license. The tool correlates RED metrics — Rate, Errors, and Duration — with Go runtime signals and downstream I/O data to automatically rank the most likely causes of endpoint failures with confidence levels. Unlike traditional observability stacks, mAPI-ng requires only two imports, one middleware, and one environment variable, eliminating the need to configure Prometheus, Grafana, or OpenTelemetry. It uses ClickHouse for storage and can be self-hosted via a single make command, or accessed through a hosted version with a free tier at mapi-ng.com. The project is currently seeking feedback from the Go developer community.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Documents How AI Explanations Drift From Structured Project Models

A software developer has published findings from a personal project examining how AI-generated explanations diverge from the underlying relational models they are meant to describe. The study observed that when a carefully structured framework involving reciprocal review and asymmetrical human authority was translated into general public language, the AI repeatedly defaulted to simpler one-way authority descriptions. The author distinguishes between observed patterns within this specific project and broader claims about AI systems, explicitly noting the findings lack external validation. A key practical conclusion is that project-specific structure is not automatically preserved during abstraction, and public-facing summaries must be treated as derived artifacts requiring fidelity checks. The developer recommends that corrections target the specific faulty layer — explanation, interpretation, or model — rather than silently overwriting accepted project state.

0
ProgrammingDEV Community ·

Developer Builds Free SSMS Extension to Prevent Accidental Destructive SQL Queries

A developer created SQL Guard, a free extension for SQL Server Management Studio (SSMS), after a colleague accidentally deleted 47,000 production rows by running a DELETE query without a WHERE clause. The tool intercepts potentially destructive SQL commands — such as DELETE, UPDATE, TRUNCATE, or DROP statements lacking proper filters — at the moment of execution and prompts the user to confirm before proceeding. SQL Guard performs lightweight pattern matching entirely within the SSMS process in under a millisecond, with no query data sent to external servers. Whitelisting is intentionally granular, allowing exceptions only for specific tables and specific rules, rather than offering a blanket bypass. The extension is available free at sqlguard.app and supports SSMS versions 18 through 22, though the developer emphasizes it is a safeguard and not a replacement for backups and a formal recovery plan.

0
ProgrammingDEV Community ·

Amazon Bedrock Prompt Caching for Claude: How It Works and How to Use It

Amazon Bedrock offers a prompt caching feature that stores pre-processed system instructions in GPU memory, avoiding redundant computation on repeated API calls. The mechanism works by generating a cryptographic hash of static prompt content and reusing the saved Key-Value cache state if the hash matches on subsequent requests. Cached content must meet minimum token thresholds — 1,024 tokens for Claude Sonnet 4.6 and 4,096 for Claude Opus 4.6 — and the cache remains active for a default five-minute TTL that resets with each cache hit. Developers must place static instructions before any dynamic content, as any change preceding the cache marker will invalidate the cache entirely. The feature can be implemented in Python using AWS's Boto3 library and the Bedrock Converse API by inserting a cachePoint marker after the fixed system prompt block.

0
ProgrammingHacker News ·

Google Reveals $94.1B SpaceX Stake, Equivalent to About 6% Ownership

Google has publicly disclosed that it holds approximately $94.1 billion worth of SpaceX stock, representing roughly a 6% stake in the private space company. The disclosure sheds light on the scale of Google's investment in Elon Musk's aerospace venture. SpaceX remains one of the most valuable private companies in the world, and such a stake underscores significant institutional confidence in its growth. The revelation highlights the deepening financial ties between major tech firms and the commercial space industry.

Open-source Go tool mAPI-ng auto-diagnoses API issues without complex observability setup · ShortSingh