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
Hello, you are correct. Your app key probably does not have permission to push metrics. Could you try disabling emission by setting --send-metrics false?
Yes, --send-metrics false works around the problem. I don't understand why the key doesn't have the permissions—it's created by a user with the Datadog Admin Role and has no scopes, and I'd expect that to be able to do everything, including writing metrics, as it's enabled for the role. But I see that the try/except is better done in CustomClient.send_metric()
I updated this morning and everything stopped working. I got a stream of things like
When I backed off to the previous commit, it started working again. I guess my app key doesn't have permission to write metrics?
Putting a
try
/except
around those two lines allowed it to work again.The text was updated successfully, but these errors were encountered: