diff --git a/client/src/components/Masthead/QuotaMeter.vue b/client/src/components/Masthead/QuotaMeter.vue index fd2851725c0d..259a00c1459a 100644 --- a/client/src/components/Masthead/QuotaMeter.vue +++ b/client/src/components/Masthead/QuotaMeter.vue @@ -40,6 +40,8 @@ import { useConfigStore } from "@/stores/configurationStore"; import { useHelpModeTextStore } from "@/stores/helpmode/helpModeTextStore"; import { useUserStore } from "@/stores/userStore"; +import { logSentryEvent } from "utils/sentry"; + export default { name: "QuotaMeter", data() { @@ -95,6 +97,7 @@ export default { }, methods: { callHelpMode() { + logSentryEvent("hover", "quotaMeterHelpString"); this.helpModeTextStore.addHelpModeText("quotaMeterHelpString"); }, }, diff --git a/client/src/utils/sentry.js b/client/src/utils/sentry.js new file mode 100644 index 000000000000..528edc0017a0 --- /dev/null +++ b/client/src/utils/sentry.js @@ -0,0 +1,10 @@ +function logSentryEvent(type, id) { + Galaxy.Sentry?.captureMessage(`TEST - HelpMode - ${type} - ${id}`, { + extra: { + sandbox: true, + feature: "HelpMode", + eventType: type, + eventId: id, + }, + }) +}