<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Perf-alert Plugin transport settings addition]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">I was looking at the code for the <code>perf-alert</code> plugin because I wasn't sure if it followed the same <a href="https://github.com/vatesfr/xen-orchestra/blob/7882debe7adc7d4945da7e27d9825b1ffcf78ca9/packages/xo-server-backup-reports/src/index.js#L604" target="_blank" rel="noopener noreferrer nofollow ugc">workflow</a> as the <code>backup-reports</code> plugin where it sends emails and delivers to multiple transports. As it turns out, it <a href="https://github.com/vatesfr/xen-orchestra/blob/7882debe7adc7d4945da7e27d9825b1ffcf78ca9/packages/xo-server-perf-alert/src/index.js#L661" target="_blank" rel="noopener noreferrer nofollow ugc"><em>only</em> sends emails</a> that are configured in the plugin, but I would love it to use the other transports available if they're set up like <code>transport-slack</code>, etc. As a user who is interested in expanding my monitoring footprint in my infrastructure, I think the <code>perf-alert</code> plugin should follow the same reporting/alerting mechanisms as the <code>backup-report</code> plugin and notify to <code>transport-slack</code> along with others. In my case I use Discord, but Mattermost, etc. users would all benefit based on the format the <code>transport-slack</code> plugin already provides. Reading the code it seems like the Plugin system would benefit from having a singular "alerting" layer that you send messages to within each plugin and then the transport plugins just relay the messages to their appropriate APIs (this would likely require rethinking the plugin archictecture however, so not an actionable item), similar to a job queue.</p>
<p dir="auto">I would probably be able to file a PR to add this functionality, but I'm not confident enough to give it a go at the moment as I'd like to understand the implications of adding said code first. For now, I'll leave this as a feature request as I think most people would find this a welcome addition.</p>
]]></description><link>https://xcp-ng.org/forum/topic/12367/perf-alert-plugin-transport-settings-addition</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 22:01:39 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/12367.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2026 19:48:09 GMT</pubDate><ttl>60</ttl></channel></rss>