You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(metrics): read the PostHog metrics3 schema (#5)
* feat(metrics): read the PostHog metrics3 schema
Point the posthog layout at metric_series3 and metric_attributes3, add a
metric_names3 table for metric name discovery, and serve label names and
values for exact metric and service matchers from the attribute rollup
instead of a series scan. The local schema script creates the new tables
and their materialized views next to the existing ones.
Generated-By: PostHog Desktop
Task-Id: 97479d3a-d4b3-4b04-bd98-ee9f723c6c31
* fix(metrics): preserve filtered label discovery
Generated-By: PostHog Desktop
Task-Id: 77a7e513-a8ea-4899-b570-8ba1bfad35f5
* feat(metrics): serve filtered label discovery from the attribute rollup
Read metric_attributes3 for label names and values when every matcher is
an exact __name__ or service_name match, guarded by
CH_ATTRIBUTE_TABLE_HAS_METRIC_NAME for the legacy table. Resource
attributes now take precedence over metric attributes in the Prometheus
label set, and the README documents that and the 256 character limit.
Generated-By: PostHog Desktop
Task-Id: 97479d3a-d4b3-4b04-bd98-ee9f723c6c31