Skip to content

Commit 2c5876d

Browse files
authored
fix(experiments): tag experiment queries with product experiments (#42475)
1 parent fbc30e0 commit 2c5876d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

posthog/hogql_queries/experiments/experiment_query_runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from posthog.hogql.printer import to_printed_hogql
2626
from posthog.hogql.query import execute_hogql_query
2727

28-
from posthog.clickhouse.query_tagging import tag_queries
28+
from posthog.clickhouse.query_tagging import Product, tag_queries
2929
from posthog.hogql_queries.experiments import MULTIPLE_VARIANT_KEY
3030
from posthog.hogql_queries.experiments.base_query_utils import (
3131
get_experiment_date_range,
@@ -582,6 +582,7 @@ def _evaluate_experiment_query(
582582
# Adding experiment specific tags to the tag collection
583583
# This will be available as labels in Prometheus
584584
tag_queries(
585+
product=Product.EXPERIMENTS,
585586
experiment_id=self.experiment.id,
586587
experiment_name=self.experiment.name,
587588
experiment_feature_flag_key=self.feature_flag.key,

0 commit comments

Comments
 (0)