DataJunction / dj

A metrics platform.
http://datajunction.io
MIT License
35 stars 15 forks source link

Ability to generate self-organizing Metric Tree #1137

Open ockhamlabs opened 3 months ago

ockhamlabs commented 3 months ago

Have you considered / already use the semantic layer to build metric trees? https://www.leverslabs.com/article/introducing-metric-trees (e.g. of what it is) Super helpful in understanding relationships and evaluating impacts. I suspect given the approach you are using there might be a self-organizing metric capability that could exist with platform. Alternatively, it could be a field manually identified where a user can flag if a particular metric has a parent and if so which (one or more may be too)

shangyian commented 3 months ago

Hi @ockhamlabs, we already generate graphs for each node in the graph view tab in DJ. The API also provides more information on which parent a metric has. Are you looking for something additional that's in the concept of a metric tree?

vcknorket commented 3 months ago

I see...so we can construct a metric tree by identifying the parents ?

shangyian commented 3 months ago

@vcknorket yep, you should be able to do that just by calling GET /nodes/growth.xp.funnel.nonmember_funnel_base/upstream, which will return all upstream nodes.

vcknorket commented 3 months ago

[like] Venkata Chandra (VC) reacted to your message:


From: Yian @.> Sent: Tuesday, August 13, 2024 9:47:01 PM To: DataJunction/dj @.> Cc: Venkata Chandra (VC) @.>; Mention @.> Subject: Re: [DataJunction/dj] Ability to generate self-organizing Metric Tree (Issue #1137)

@vcknorkethttps://github.com/vcknorket yep, you should be able to do that just by calling GET /nodes/growth.xp.funnel.nonmember_funnel_base/upstream, which will return all upstream nodes.

— Reply to this email directly, view it on GitHubhttps://github.com/DataJunction/dj/issues/1137#issuecomment-2287194886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWCT64XM6EZMS7OIIINTA3TZRJ5FLAVCNFSM6AAAAABMHJGNBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGE4TIOBYGY. You are receiving this because you were mentioned.Message ID: @.***>

vcknorket commented 3 months ago

Thanks


From: Yian @.> Sent: Tuesday, August 13, 2024 5:47 PM To: DataJunction/dj @.> Cc: Venkata Chandra (VC) @.>; Mention @.> Subject: Re: [DataJunction/dj] Ability to generate self-organizing Metric Tree (Issue #1137)

@vcknorkethttps://github.com/vcknorket yep, you should be able to do that just by calling GET /nodes/growth.xp.funnel.nonmember_funnel_base/upstream, which will return all upstream nodes.

— Reply to this email directly, view it on GitHubhttps://github.com/DataJunction/dj/issues/1137#issuecomment-2287194886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWCT64XM6EZMS7OIIINTA3TZRJ5FLAVCNFSM6AAAAABMHJGNBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBXGE4TIOBYGY. You are receiving this because you were mentioned.Message ID: @.***>