handsome-library-89124
11/08/2022, 2:15 PMquiet-chef-72008
11/08/2022, 9:40 PMthankful-scientist-83252
11/08/2022, 10:10 PMmodern-application-84664
11/09/2022, 10:29 AMstocky-nest-87172
11/10/2022, 2:26 PMminiature-agency-3305
11/10/2022, 3:46 PMgray-garden-65293
11/11/2022, 3:20 PMbusy-horse-73824
11/11/2022, 9:25 PMsome-planet-44104
11/14/2022, 7:24 AMSELECT
user_id as user_id,
1 as value,
CAST(m.timestamp as DATETIME) as timestamp,
CAST(m.timestamp as DATETIME) as conversion_start,
CAST(m.timestamp as DATETIME) as conversion_end
The metric I provided has a conversion window of 48 hours and the delay of 24 hours, but it doesn’t look like it’s reflected here. Maybe I got the wrong idea about how it’s supposed to work?miniature-agency-3305
11/14/2022, 9:24 AMbillions-arm-13894
11/14/2022, 2:08 PMelegant-flag-19390
11/14/2022, 4:26 PM/auth/login
to get the authorization bearer token and then another post request to /feature
including the feature information in the json payload.
From the initial tests it looks like the method might work (I don’t know yet if there will be any problems depending on the volume) but I was wondering if there was a better/cleaner way, any suggestions?breezy-night-6725
11/14/2022, 4:35 PMmany-kilobyte-13948
11/15/2022, 9:38 AMlively-fountain-60753
11/15/2022, 10:09 AMmetrics:
signups:
type: binomial
name: Sign Ups
userIdType: user_id
datasource: warehouse
sql: SELECT user_id, anonymous_id, received_at as timestamp FROM signups
eager-rainbow-87882
11/15/2022, 11:32 AMhandsome-library-89124
11/15/2022, 2:44 PMrefined-umbrella-93002
11/15/2022, 6:15 PMmodern-application-84664
11/16/2022, 12:12 PMwhere exp_name = '{{ experimentId }}'
and as_of_date between timestamp'{{ startDate }}' and timestamp'{{ endDate }}'
powerful-ram-68744
11/16/2022, 5:17 PM+ growthbook-ccdb99d44-kdcm5 › growthbook
growthbook-ccdb99d44-kdcm5 growthbook yarn run v1.22.19
growthbook-ccdb99d44-kdcm5 growthbook $ wsrun -p '*-end' -m start
growthbook-ccdb99d44-kdcm5 growthbook back-end
growthbook-ccdb99d44-kdcm5 growthbook | $ node dist/server.js
growthbook-ccdb99d44-kdcm5 growthbook front-end
growthbook-ccdb99d44-kdcm5 growthbook | $ next start
growthbook-ccdb99d44-p8tkb growthbook yarn run v1.22.19
growthbook-ccdb99d44-p8tkb growthbook $ wsrun -p '*-end' -m start
growthbook-ccdb99d44-kdcm5 growthbook | ready - started server on 0.0.0.0:3000, url: <http://localhost:3000>
growthbook-ccdb99d44-kdcm5 growthbook back-end
growthbook-ccdb99d44-kdcm5 growthbook | {"level":30,"time":1668616791387,"pid":58,"hostname":"growthbook-ccdb99d44-kdcm5","msg":"Back-end is running at <http://localhost:3100> in production mode. Press CTRL-C to stop"}
growthbook-ccdb99d44-kdcm5 growthbook | /usr/local/src/app/packages/back-end/dist/services/auth/index.js:30
growthbook-ccdb99d44-kdcm5 growthbook | throw new Error("Id token does not contain email address");
growthbook-ccdb99d44-kdcm5 growthbook | ^
growthbook-ccdb99d44-kdcm5 growthbook |
growthbook-ccdb99d44-kdcm5 growthbook | Error: Id token does not contain email address
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/packages/back-end/dist/services/auth/index.js:30:19
growthbook-ccdb99d44-kdcm5 growthbook | at Generator.next (<anonymous>)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/packages/back-end/dist/services/auth/index.js:8:71
growthbook-ccdb99d44-kdcm5 growthbook | at new Promise (<anonymous>)
growthbook-ccdb99d44-kdcm5 growthbook | at __awaiter (/usr/local/src/app/packages/back-end/dist/services/auth/index.js:4:12)
growthbook-ccdb99d44-kdcm5 growthbook | at getUserFromJWT (/usr/local/src/app/packages/back-end/dist/services/auth/index.js:28:12)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/packages/back-end/dist/services/auth/index.js:86:28
growthbook-ccdb99d44-kdcm5 growthbook | at Generator.next (<anonymous>)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/packages/back-end/dist/services/auth/index.js:8:71
growthbook-ccdb99d44-kdcm5 growthbook | at new Promise (<anonymous>)
growthbook-ccdb99d44-kdcm5 growthbook | at __awaiter (/usr/local/src/app/packages/back-end/dist/services/auth/index.js:4:12)
growthbook-ccdb99d44-kdcm5 growthbook | at processJWT (/usr/local/src/app/packages/back-end/dist/services/auth/index.js:49:12)
growthbook-ccdb99d44-kdcm5 growthbook | at Layer.handle [as handle_request] (/usr/local/src/app/node_modules/express/lib/router/layer.js:95:5)
growthbook-ccdb99d44-kdcm5 growthbook | at trim_prefix (/usr/local/src/app/node_modules/express/lib/router/index.js:328:13)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/node_modules/express/lib/router/index.js:286:9
growthbook-ccdb99d44-kdcm5 growthbook | at Function.process_params (/usr/local/src/app/node_modules/express/lib/router/index.js:346:12)
growthbook-ccdb99d44-kdcm5 growthbook | at next (/usr/local/src/app/node_modules/express/lib/router/index.js:280:10)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/node_modules/express-jwt/lib/index.js:131:7
growthbook-ccdb99d44-kdcm5 growthbook | at wrapper (/usr/local/src/app/node_modules/async/dist/async.js:271:20)
growthbook-ccdb99d44-kdcm5 growthbook | at next (/usr/local/src/app/node_modules/async/dist/async.js:5795:24)
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/node_modules/async/dist/async.js:327:20
growthbook-ccdb99d44-kdcm5 growthbook | at /usr/local/src/app/node_modules/express-jwt/lib/index.js:119:13
growthbook-ccdb99d44-kdcm5 growthbook | error Command failed with exit code 1.
growthbook-ccdb99d44-kdcm5 growthbook | info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this comm
when upgrading do we need to run any db migrations, are there any guides about this, thanks!busy-secretary-78039
11/17/2022, 2:30 AMsome-planet-44104
11/17/2022, 2:20 PMfresh-football-47124
polite-pillow-33171
11/17/2022, 7:25 PMfew-memory-16563
11/17/2022, 7:48 PMbusy-secretary-78039
11/18/2022, 2:22 AMbrave-pager-50062
11/18/2022, 3:59 AMminiature-agency-3305
11/18/2022, 10:20 AMbest-beard-3987
11/19/2022, 11:25 PMbest-beard-3987
11/20/2022, 11:54 AM