operasoftware / sentrycli

CLI tools to query and analyze data gathered by Sentry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Order?

peteruithoven opened this issue · comments

I'm trying to debug a certain issue, and was hoping to use this tool to for example find the first event from a certain user. But I noticed that the event's don't seem to be in the same order as the site?

I listed all the id's and date's using:

const jsonfile = require('jsonfile')
const args = process.argv.slice(2)
const [ filePath ] = args;
jsonfile.readFile(filePath, (err, data) => {
  data.map(event => {
    console.log(event.id, event.dateCreated);
  })
})

I then went to the issue on sentry.io, and used the Older button. I noticed that the id's in the url are in a different order. I also can't sort this afterwards since the dataCreated is only precise on the second.
We're developing a drawing app (Doodle3D Transform), this means we can have very rapid events.

I'm using sentrycli 1.5.0 and our issues are hosted on sentry.io.