mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Remove camel case from tracking labels (#56809)
* refactor: remove camel case from tracking labels * refactor: remove camel case from tracking labels
This commit is contained in:
parent
efe214a293
commit
b71e08ad59
@ -105,7 +105,7 @@ export class AppWrapper extends React.Component<AppWrapperProps, AppWrapperState
|
||||
navigationLogger('AppWrapper', false, 'rendering');
|
||||
|
||||
const commandPaletteActionSelected = (action: Action) => {
|
||||
reportInteraction('commandPalette_action_selected', {
|
||||
reportInteraction('command_palette_action_selected', {
|
||||
actionId: action.id,
|
||||
actionName: action.name,
|
||||
});
|
||||
|
@ -55,7 +55,7 @@ export const CommandPalette = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (showing) {
|
||||
reportInteraction('commandPalette_opened');
|
||||
reportInteraction('command_palette_opened');
|
||||
|
||||
// Do dashboard search on demand
|
||||
getDashboardNavActions('go/dashboard').then((dashAct) => {
|
||||
|
@ -97,7 +97,7 @@ export const AddToDashboardModal = ({ onClose, exploreId }: Props) => {
|
||||
setSubmissionError(undefined);
|
||||
const dashboardUid = data.saveTarget === SaveTarget.ExistingDashboard ? data.dashboardUid : undefined;
|
||||
|
||||
reportInteraction('e2d_submit', {
|
||||
reportInteraction('e_2_d_submit', {
|
||||
newTab: openInNewTab,
|
||||
saveTarget: data.saveTarget,
|
||||
queries: exploreItem.queries.length,
|
||||
@ -144,7 +144,7 @@ export const AddToDashboardModal = ({ onClose, exploreId }: Props) => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
reportInteraction('e2d_open');
|
||||
reportInteraction('e_2_d_open');
|
||||
}, []);
|
||||
|
||||
return (
|
||||
|
@ -77,13 +77,13 @@ class UnConnectedExploreToolbar extends PureComponent<Props> {
|
||||
onOpenSplitView = () => {
|
||||
const { split } = this.props;
|
||||
split();
|
||||
reportInteraction('grafana_explore_splitView_opened');
|
||||
reportInteraction('grafana_explore_split_view_opened');
|
||||
};
|
||||
|
||||
onCloseSplitView = () => {
|
||||
const { closeSplit, exploreId } = this.props;
|
||||
closeSplit(exploreId);
|
||||
reportInteraction('grafana_explore_splitView_closed');
|
||||
reportInteraction('grafana_explore_split_view_closed');
|
||||
};
|
||||
|
||||
renderRefreshPicker = (showSmallTimePicker: boolean) => {
|
||||
|
Loading…
Reference in New Issue
Block a user