Open tangollama opened 4 years ago
Initially added here - 19b7df8b04e9516428dd1b559115ae6f524124e7
Needs redesigned and defined a bit.
Current Form:
<Funnel
accountId
launcherUrlState
height={575}
width={200}
funnel={ { event, measure }}
steps={[{ label: '', nrqlWhere: '' }]}
series={[ { label: '', nrqlWhere: '' }]}
></Funnel>
Proposed Changes:
query
to match nr1 FunnelChart signature - thinking the options here would be if you provide query
we ignore steps
and series
??? Need to understand what the nr1 does relative to this one.launcherUrlState
and replace with a more generic timeRange
attribute that must be an object with a shape of begin_time
, duration
, end_time
funnel.event
to funnel.eventType
funnel.measure
to funnel.attribute
- Can we go more generic with attribute
or is a measure
an aggregate function applied to an attribute over time?<Funnel
accountId={accountId}
query={nrql}
timeRange={{ begin_time, duration, end_time }}
height={575}
width={200}
funnel={ { eventType, attribute }}
steps={[{ label: '', nrqlWhere: '' }]}
series={[ { label: '', nrqlWhere: '' }]}
>
</Funnel>
https://github.com/newrelic/nr1-funnel-component