#DataDog Owners Suffix
What follows is a simple script which opens all DataDog services in service manager and maps the owners' emails.
Then, it shows a suffix next to each service indicating its owner.
Why?
At my company, we use DataDog extensively, and we have a lot of services defined.
However, it's not always clear who owns which service and adding a contact just displays an email icon you need to mouse over to get the info you need.
This bookmarklet helps to quickly identify the owner of each service directly from the service list view.
How to use it
To use it, you need to drag and drop the buttons to your bookmarks bar.
Then, just click it when in Service Manager.
The script will open each service one by one, extract the owner email from the side panel, and add a suffix to the service name in the list view.
It will also store the mapping in localStorage for faster access next time.
The script will also monitor the page for new services added dynamically and will add the suffix automatically.
Be aware that this script relies on the current DataDog DOM structure, which may change over time.
If it stops working, you may need to update the selectors in the script.