thankful-scientist-83252
08/03/2022, 3:26 PMbrief-traffic-36675
08/05/2022, 9:51 AMclean-thailand-85006
08/08/2022, 11:25 AMscript-src
policy (this one is duh 😅).
• We needed to allow unpkg.com to the script-src
policy (there is only one script served from there: ab-designer@0.6.0
). This one is tricky, and I’d expect people not wanting to add a global CDN to their allow list as that’d render the policy useless. This is a blocker on our end. No idea what the best solution for this would be but I’d personally recommend hosting this script in your own domain if possible.
• We needed to include a frame-ancestors
policy to allow app.growthbook.io to embed an iframe pointing to our site. This one is pretty obvious but I was surprised not to see any reference to it in the docs.
I hope this helps improving this new feature and I’m happy to share any other details you might need to trace these problems downbitter-soccer-92103
08/10/2022, 3:12 AM{
"$expr": {
"$lte": [
"$createdAt",
{
"$subtract": [
"$$NOW",
2592000000
]
}
]
}
}
But I saw the operations are done manually in the code, I thought there was a mongo memory server running under the hood to allow do any mongo query. And there isn't support for the $expr
operator (it does work outside aggregations). Is there any plan to support relative date to do something like this? E.g $$NOW - number
busy-horse-73824
08/10/2022, 10:19 AMlemon-iron-16918
08/17/2022, 12:22 PM{0: 29, 1: 35, 2: 18, 3: 18}
How to achieve my configured split for traffic?handsome-zebra-46141
08/26/2022, 10:28 AMhandsome-zebra-46141
08/31/2022, 1:01 PMthankful-scientist-83252
08/31/2022, 7:27 PMhallowed-portugal-31753
09/01/2022, 1:31 PMAnother “nice to have” feature is support for projects. You can create multiple projects in GrowthBook and scope both the webhooks and API endpoint to only include features in a specific project. For example, you might have front-end and back-end features in separate projects and want to have a separate features JSON for each. This proxy server should ideally be able to cache and serve both.I'm not sure if we already have an API to actually separate based on project. But if we wanted to have it as a config where endpoint depends on what api key you have, it'd work. Current approach I'm taking is that this service takes a config that's API Key and keeps the data in it and serves when asked for. And in next version, I was thinking about adding websocket support 🙂
full-island-88199
09/06/2022, 9:48 AMfull-island-88199
09/07/2022, 12:55 PMbusy-horse-73824
09/14/2022, 2:41 PMrapid-ghost-5775
09/20/2022, 9:16 AM__rawExperiment
is ~4 mio rows (1 day)
• _experiment
comes in at 2 mio rows
• __metric
at 1.8
• __activationMetric0
at 16K
• __activatedUsers
1.2 mio
• __distinctUsers
- takes about 46 seconds, results in 7K rows
• __userMetric
- takes 4 minutes something, results in 7K rows
There is the bottleneck. Query details report 11.2 mio rows read. at some stage
Not sure how/why this is such a resource hog, maybe you can spot something.
__userMetric as (
-- Add in the aggregate metric value for each user
SELECT
d.variation,
d.dimension,
LEAST(10, SUM(m.value)) as value
FROM
__distinctUsers d
JOIN __metric m ON (m.user_pseudo_id = d.user_pseudo_id)
WHERE
m.conversion_start >= d.conversion_start
AND m.conversion_start <= d.conversion_end
GROUP BY
variation,
dimension,
d.user_pseudo_id
)
cool-apple-97384
09/21/2022, 8:27 AMcool-apple-97384
09/21/2022, 8:29 AMfull-island-88199
09/27/2022, 10:50 AMlively-fountain-60753
09/28/2022, 1:44 PMbusy-horse-73824
10/17/2022, 3:12 PMgrowthbook.setFeatures
, setAttributes
, etc do not trigger a re-render (because the context provider's value doesn't change), and there's nothing in the hooks etc to compensate for that
Currently the only safe way to use growthbook with react is to treat the GrowthBook class as being immutable - any other way, it's fundamentally brokenbroad-continent-77439
10/18/2022, 11:37 AM<https://example.com/>
won't work if you access <https://www.example.com/>
one with the www.
same with http
and https
I think it's pretty unnecessary and lost me 2 hours debugging 😅broad-continent-77439
10/19/2022, 3:49 PM<https://www.example.com/>
accessing the <https://www.example.com/abc123>
sub page will also still trigger the experiment. & it is not an SPA page, it's a next.js SSR page! so the window.location.href
is accuratefull-island-88199
10/21/2022, 9:13 AMlate-teacher-86348
10/21/2022, 7:56 PM500: Code: 241. DB::Exception: Memory limit (total) exceeded: would use 7.46 GiB (attempt to allocate chunk of 0 bytes), maximum: 7.00 GiB: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 22.3.8.40.altinitystable (altinity build))
These failing queries run quickly in ClickHouse itself. The difference appears to be that GrowthBook runs the queries in parallel.
Solutions to our problem (beyond increasing RAM) are something like:
1. Not running GrowthBook queries in parallel
2. Allowing some way to manually update guardrail metrics (so we can run them one at a time ourselves)
Happy to provide more info if needed!millions-father-50159
10/26/2022, 9:52 PMthankful-scientist-83252
10/27/2022, 3:54 PMbig-animal-23818
10/27/2022, 5:40 PMonFeatureUsage
or trackingCallback
we can access the ids, but not the nameshandsome-zebra-46141
10/28/2022, 10:49 AM/api/v1/features
). Would it be possible to make this API OpenAPI compatible so that SDKs are easy to build with tools like https://github.com/openapi-generators/openapi-python-client?handsome-zebra-46141
10/28/2022, 10:52 AMfuture-teacher-7046
thankful-scientist-83252
10/28/2022, 8:31 PM