mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Correlations: Track completion rate for adding correlations (#66361)
Track completion rate for adding correlations
This commit is contained in:
parent
89f23fcbc9
commit
92b69dfb97
@ -40,7 +40,15 @@ const loaderWrapper = css`
|
||||
|
||||
export default function CorrelationsPage() {
|
||||
const navModel = useNavModel('correlations');
|
||||
const [isAdding, setIsAdding] = useState(false);
|
||||
const [isAdding, setIsAddingValue] = useState(false);
|
||||
|
||||
const setIsAdding = (value: boolean) => {
|
||||
setIsAddingValue(value);
|
||||
if (value) {
|
||||
reportInteraction('grafana_correlations_adding_started');
|
||||
}
|
||||
};
|
||||
|
||||
const {
|
||||
remove,
|
||||
get: { execute: fetchCorrelations, ...get },
|
||||
|
Loading…
Reference in New Issue
Block a user