Skip to content

Instantly share code, notes, and snippets.

@brianr
Created April 1, 2015 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianr/4b19d35d3e501047b683 to your computer and use it in GitHub Desktop.
Save brianr/4b19d35d3e501047b683 to your computer and use it in GitHub Desktop.
select code_version, min(timestamp)
from item_occurrence
group by 1
@sdhull
Copy link

sdhull commented Apr 1, 2015

hmm. code_version is just NULL for me

@andrewchilds
Copy link

@sdhull @brianr I was able to get deploy ranges using this:

select client.javascript.code_version, min(timestamp), max(timestamp)
from item_occurrence
group by 1

I'm configuring Rollbar like so:

window.Rollbar.configure({
  payload: {
    client: {
      javascript: {
        code_version: DEPLOY_ID
      }
    }
  }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment