How can I retrieve the number of events over a specified time frame for a project? I would like to create a graph to help track error reduction after each deployment.
I tried to leverage the API to retrieve data, however, I receive no matches found
for every query except the default:
Default Example:
curl -H ‘Authorization: Bearer {my_token}’ https://sentry–shared.mycompany.com/api/0/projects/sentry/staging-myservice-service/stats/
[[1541952000.0, 44], [1541955600.0, 43], [1541959200.0, 3476], [1541962800.0, 1940], [1541966400.0, 3260], [1541970000.0, 2041], [1541973600.0, 38], [1541977200.0, 412], [1541980800.0, 31], [1541984400.0, 256], [1541988000.0, 31], [1541991600.0, 42], [1541995200.0, 31], [1541998800.0, 31], [1542002400.0, 27], [1542006000.0, 24], [1542009600.0, 276], [1542013200.0, 27], [1542016800.0, 23], [1542020400.0, 22], [1542024000.0, 31], [1542027600.0, 24], [1542031200.0, 220], [1542034800.0, 113]]
Timestamp Example:
curl -H 'Authorization: Bearer {my_token} https://sentry–shared.mycompany.com/api/0/projects/sentry/staging-myservice-service/stats?since=1535760000
zsh: no matches found: https://sentry–shared.mycompany.com/api/0/projects/sentry/staging-myservice-service/stats?since=1535760000