You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment libddog appends a footer in the dashboard description which includes the timestamp and the git branch name (if detected) of the last update to the dashboard. This already helps to narrow down how that last update happened, but it would be even more useful to also include the userid of the user who made the update (or whose credentials were used to make the update).
It looks like the user identity can be inferred from the app key via the Datadog API:
Make a request to https://api.datadoghq.com/api/v2/current_user/application_keys to list all the app keys for the current user. Iterate over the list and pick the key that matches the app key that's being used in the session.
Make a request to https://api.datadoghq.com/api/v2/current_user/application_keys/<app-key-id> to get details about that app key. In the response there is a handle attribute which contains the userid.
The text was updated successfully, but these errors were encountered:
Context
At the moment libddog appends a footer in the dashboard description which includes the timestamp and the git branch name (if detected) of the last update to the dashboard. This already helps to narrow down how that last update happened, but it would be even more useful to also include the userid of the user who made the update (or whose credentials were used to make the update).
It looks like the user identity can be inferred from the app key via the Datadog API:
https://api.datadoghq.com/api/v2/current_user/application_keys
to list all the app keys for the current user. Iterate over the list and pick the key that matches the app key that's being used in the session.https://api.datadoghq.com/api/v2/current_user/application_keys/<app-key-id>
to get details about that app key. In the response there is ahandle
attribute which contains the userid.The text was updated successfully, but these errors were encountered: