Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Created by Dawid Pierwola
Created on Sep 11, 2026

Add metric for Data Federation quota limits

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

Data Federation currently exposes quota information through the web UI and API, but it is not readily available as a metric that can be integrated into standard monitoring and alerting systems.

This makes it difficult to proactively monitor quota consumption and detect when the configured limit is approaching exhaustion. Since exceeding the Data Federation quota can prevent our application from executing database queries, we need a reliable and easily consumable metric that can be used to build automated alerts.

What would you like to see happen?

Describe the desired outcome or enhancement.

We would like Data Federation to expose a metric that provides both the configured quota limit and the current quota consumption.

The metric should be easily consumable by our existing monitoring and alerting infrastructure, allowing us to define thresholds and receive alerts before the quota is exhausted.

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

The Data Federation quota directly impacts the availability of our production application. We have already experienced a production incident where the quota was exhausted and the server was unable to execute database queries for several hours.

The issue was not detected early because quota consumption had to be checked manually. Exposing this information as a standard metric would allow us to monitor it continuously and introduce proactive alerting, significantly reducing the risk and potential impact of similar incidents in the future.

What steps, if any, are you taking today to manage this problem?

Currently, we monitor the Data Federation quota through the web interface and, on our side, we also track quota-related information where possible. However, this requires manual checks and does not provide a reliable way to continuously monitor the quota or trigger proactive alerts when the limit is approaching.

The current approach helps us identify quota-related issues, but it is not sufficient for production monitoring. Having an official Data Federation quota metric would allow us to integrate this information directly into our existing monitoring and alerting infrastructure and detect potential issues before they impact the application.