Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(propvals): part 5: wire property-vals-rs into local hogli stack (#59407)

Andy Zhao804bccce5306
diff --git a/bin/mprocs.yaml b/bin/mprocs.yaml
index bfe6ca39635a..f5c979ae71fb 100755
--- a/bin/mprocs.yaml
+++ b/bin/mprocs.yaml
@@ -287,6 +287,16 @@ procs:
layer: Ingestion pipeline
tech: Rust
+ property-vals-rs:
+ shell: |-
+ bin/wait-for-docker && \
+ bin/start-rust-service property-vals-rs
+ capability: property_values
+ ready_pattern: 'Subscribed to topic: *'
+ groups:
+ layer: Ingestion pipeline
+ tech: Rust
+
capture:
shell: |-
bin/wait-for-docker && \
diff --git a/bin/start-rust-service b/bin/start-rust-service
index 988b83a5fa74..505565eec098 100755
--- a/bin/start-rust-service
+++ b/bin/start-rust-service
@@ -38,6 +38,15 @@ case "$RS_SVC" in
export DEBUG=1
;;
+ property-vals-rs)
+ export RUST_LOG=debug,rdkafka=warn
+ export RUST_BACKTRACE=1
+ export KAFKA_HOSTS="$DEFAULT_KAFKA"
+ export BIND_PORT=3303 # avoid local-dev clashes on 3302 (cymbal) and the property-defs-rs default
+ export KAFKA_CONSUMER_OFFSET_RESET=earliest
+ export DEBUG=1
+ ;;
+
capture)
SQLX_QUERY_LEVEL=${SQLX_QUERY_LEVEL:-warn}
export RUST_LOG=debug,sqlx::query=$SQLX_QUERY_LEVEL,rdkafka=warn
diff --git a/devenv/intent-map.yaml b/devenv/intent-map.yaml
index 7fe236186439..796156938cd2 100644
--- a/devenv/intent-map.yaml
+++ b/devenv/intent-map.yaml
@@ -28,6 +28,11 @@ capabilities:
requires: [event_ingestion]
docker_profiles: []
+ property_values:
+ description: 'Aggregate distinct property values for autocomplete'
+ requires: [event_ingestion]
+ docker_profiles: []
+
replay_storage:
description: 'Session replay blob storage and capture'
requires: [event_ingestion]
@@ -209,7 +214,7 @@ capabilities:
intents:
product_analytics:
description: 'Core product analytics (insights, funnels, trends)'
- capabilities: [event_ingestion, property_definitions, celery_workers, nodejs_cdp]
+ capabilities: [event_ingestion, property_definitions, property_values, celery_workers, nodejs_cdp]
error_tracking:
description: 'Track and analyze application errors'
@@ -219,6 +224,7 @@ intents:
error_symbolication,
embedding_service,
property_definitions,
+ property_values,
nodejs_cdp,
nodejs_error_tracking,
]
@@ -230,6 +236,7 @@ intents:
event_ingestion,
replay_storage,
property_definitions,
+ property_values,
celery_workers,
temporal_workflows,
nodejs_session_replay,
@@ -247,6 +254,7 @@ intents:
event_ingestion,
flag_evaluation,
property_definitions,
+ property_values,
celery_workers,
nodejs_feature_flags,
nodejs_cdp,
@@ -262,31 +270,56 @@ intents:
ai_capture,
llm_gateway,
property_definitions,
+ property_values,
temporal_workflows,
llm_analytics_sentiment,
]
web_analytics:
description: 'Web analytics, traffic analysis, and heatmaps'
- capabilities: [event_ingestion, replay_storage, property_definitions, livestream]
+ capabilities: [event_ingestion, replay_storage, property_definitions, property_values, livestream]
surveys:
description: 'User surveys and feedback collection'
- capabilities: [event_ingestion, property_definitions, celery_workers, celery_scheduler, nodejs_cdp]
+ capabilities:
+ [event_ingestion, property_definitions, property_values, celery_workers, celery_scheduler, nodejs_cdp]
data_warehouse:
description: 'Data warehouse queries and saved queries'
capabilities:
- [event_ingestion, property_definitions, celery_workers, temporal_workflows, warehouse_webhook_sink]
+ [
+ event_ingestion,
+ property_definitions,
+ property_values,
+ celery_workers,
+ temporal_workflows,
+ warehouse_webhook_sink,
+ ]
cohorts:
description: 'User cohort management'
- capabilities: [event_ingestion, property_definitions, celery_workers, celery_scheduler, nodejs_realtime_cohorts]
+ capabilities:
+ [
+ event_ingestion,
+ property_definitions,
+ property_values,
+ celery_workers,
+ celery_scheduler,
+ nodejs_realtime_cohorts,
+ ]
pipelines:
description: 'Data pipeline transformations and destinations'
capabilities:
- [event_ingestion, property_definitions, celery_workers, temporal_workflows, nodejs_cdp_workflows, cyclotron]
+ [
+ event_ingestion,
+ property_definitions,
+ property_values,
+ celery_workers,
+ temporal_workflows,
+ nodejs_cdp_workflows,
+ cyclotron,
+ ]
ai_features:
description: 'AI features'
@@ -297,20 +330,30 @@ intents:
embedding_service,
opensearch_search,
property_definitions,
+ property_values,
temporal_workflows,
]
logs:
description: 'Log aggregation and viewing'
- capabilities: [event_ingestion, property_definitions, logs_ingestion, nodejs_logs, nodejs_traces]
+ capabilities:
+ [event_ingestion, property_definitions, property_values, logs_ingestion, nodejs_logs, nodejs_traces]
metrics:
description: 'Metric ingestion and viewing'
- capabilities: [event_ingestion, property_definitions, logs_ingestion, nodejs_metrics]
+ capabilities: [event_ingestion, property_definitions, property_values, logs_ingestion, nodejs_metrics]
workflows:
description: 'Workflow automation and orchestration'
- capabilities: [event_ingestion, property_definitions, temporal_workflows, nodejs_cdp_workflows, cyclotron]
+ capabilities:
+ [
+ event_ingestion,
+ property_definitions,
+ property_values,
+ temporal_workflows,
+ nodejs_cdp_workflows,
+ cyclotron,
+ ]
tracing:
description: 'OpenTelemetry tracing with Jaeger UI'
@@ -334,11 +377,13 @@ intents:
endpoints:
description: 'Endpoints (the product)'
- capabilities: [event_ingestion, property_definitions, celery_workers, temporal_workflows, duckgres]
+ capabilities:
+ [event_ingestion, property_definitions, property_values, celery_workers, temporal_workflows, duckgres]
revenue_analytics:
description: 'Mock Stripe API with seed billing data for revenue analytics testing'
- capabilities: [event_ingestion, property_definitions, celery_workers, temporal_workflows, stripe_mock]
+ capabilities:
+ [event_ingestion, property_definitions, property_values, celery_workers, temporal_workflows, stripe_mock]
dagster:
description: 'Dagster for clickhouse maintenance, system workflows'