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 Completed
Categories Atlas
Created by Guest
Created on Nov 18, 2019

Make it possible to add tags in the Datadog integration so I can tell my staging and production environments apart more easily

Datadog recommends having only one account and feed data from all environments into it, and then it’s important to tell them apart by using tags. Please add the ability to set tags in the Datadog integration configuration, e.g. env:production
  • Attach files
  • Guest
    Jun 20, 2023
    This work was completed earlier this year. With the latest release of MongoDB’s DataDog integration, we’ve added the ability to send custom defined labels in Atlas, CM, and OM to tags on the DataDog metrics object. Applying tags to DataDog's metrics allows users to organize and categorize their metrics in various ways. https://www.mongodb.com/blog/post/tag-youre-it-using-mongodb-labels-drive-datadog-business-logic
  • Guest
    Jul 6, 2022
    @andrewDavidson, Its been almost two years since you posted you will implement this in the future. Can you please get us a concrete ETA? At Indeed, we do have requirement to get the labels emitted on the UI as well as Datadog. The "env" is just one of several tags we need to display. Looping @ulrich from your Team who we have meetings with every week.
  • Guest
    Feb 14, 2022
    This is exactly my problem. I need to be able to pass tags back to Datadog in order to distinguish my "env" key that I have as a label. Since project name is emitted, one temporary workaround I see is to add suffix to the project name for the value of "env" variable. But this is a non-standard practice since for every service we use the "env" tag in Datadog.
  • Guest
    Nov 16, 2021
    I'd be also heavily interested in that feature as it screws up the brilliant tagging-based approach in DD
  • Guest
    Feb 4, 2021
    This seems almost trivial to implement. You are using a config file just add the tag field since the integration is at a project level. Currently using project name and it is less than ideal and extremely inflexible.
  • Guest
    Aug 20, 2020
    At this time the cluster-level labels (accessible/manageable via Atlas API only, not in the UI) are not passed through to Datadog. This is definitely an interesting use case that we will explore in future. -Andrew
  • Guest
    Aug 19, 2020
    It is possible to assign labels to a cluster as indicated in the following doc: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster In our case, we are expecting having this labels propagated in datadog attached to the cluster instances..