From c97b060e1e5c3f45fc59cfc99f7a0707a909f4cd Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Sun, 17 Dec 2023 17:04:46 +0100 Subject: [PATCH] Update Sentry tag formatting in ArcusCommunication Changed the way plugin information is formatted when setting tags in Sentry in ArcusCommunication.cpp. The plugin name now precedes 'version' to make identifying plugins in Sentry easier. Contribute to CURA-11482 --- src/communication/ArcusCommunication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/communication/ArcusCommunication.cpp b/src/communication/ArcusCommunication.cpp index 256ebb85db..072347d463 100644 --- a/src/communication/ArcusCommunication.cpp +++ b/src/communication/ArcusCommunication.cpp @@ -548,7 +548,7 @@ void ArcusCommunication::sliceNext() const auto slot_id = static_cast(plugin.id()); slots::instance().connect(slot_id, plugin.plugin_name(), plugin.plugin_version(), utils::createChannel({ plugin.address(), plugin.port() })); #ifdef SENTRY_URL - sentry_set_tag(fmt::format("engine_plugin.{}", plugin.plugin_name()).c_str(), plugin.plugin_version().c_str()); + sentry_set_tag(fmt::format("plugin_{}.version", plugin.plugin_name()).c_str(), plugin.plugin_version().c_str()); #endif } #endif // ENABLE_PLUGINS