<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Setting_up_Alert_Rules_in_FojiSoft</id>
	<title>Setting up Alert Rules in FojiSoft - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.foji.io/index.php?action=history&amp;feed=atom&amp;title=Setting_up_Alert_Rules_in_FojiSoft"/>
	<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Setting_up_Alert_Rules_in_FojiSoft&amp;action=history"/>
	<updated>2026-06-22T03:44:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://docs.foji.io/index.php?title=Setting_up_Alert_Rules_in_FojiSoft&amp;diff=1242&amp;oldid=prev</id>
		<title>Mitchell.Hirsche: Created page with &quot;== &#039;&#039;&#039;Setting Up Alert Rules in FojiSoft&#039;&#039;&#039; ==  === Overview of FojiSoft Alert Rules === FojiSoft&#039;s alert rules are notably versatile, enabling the creation of alerts from various data sources. These rules stand out because they allow for:  - Integration with multiple data sources  - Transformation of data through expressions  - Setting conditions for triggering alerts  - Inclusion of images in notifications  - Multi-dimensional alerting based on a single rule  === Editi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.foji.io/index.php?title=Setting_up_Alert_Rules_in_FojiSoft&amp;diff=1242&amp;oldid=prev"/>
		<updated>2024-02-28T22:32:24Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &amp;#039;&amp;#039;&amp;#039;Setting Up Alert Rules in FojiSoft&amp;#039;&amp;#039;&amp;#039; ==  === Overview of FojiSoft Alert Rules === FojiSoft&amp;#039;s alert rules are notably versatile, enabling the creation of alerts from various data sources. These rules stand out because they allow for:  - Integration with multiple data sources  - Transformation of data through expressions  - Setting conditions for triggering alerts  - Inclusion of images in notifications  - Multi-dimensional alerting based on a single rule  === Editi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;#039;&amp;#039;&amp;#039;Setting Up Alert Rules in FojiSoft&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
=== Overview of FojiSoft Alert Rules ===&lt;br /&gt;
FojiSoft&amp;#039;s alert rules are notably versatile, enabling the creation of alerts from various data sources. These rules stand out because they allow for:&lt;br /&gt;
&lt;br /&gt;
- Integration with multiple data sources&lt;br /&gt;
&lt;br /&gt;
- Transformation of data through expressions&lt;br /&gt;
&lt;br /&gt;
- Setting conditions for triggering alerts&lt;br /&gt;
&lt;br /&gt;
- Inclusion of images in notifications&lt;br /&gt;
&lt;br /&gt;
- Multi-dimensional alerting based on a single rule&lt;br /&gt;
&lt;br /&gt;
=== Editing and Managing Alert Rules ===&lt;br /&gt;
Users with Edit permissions have the exclusive authority to modify or delete FojiSoft-managed alert rules stored within a specific folder. Once deleted from the user interface (UI), alerting resources cannot be retrieved. To prevent loss, it&amp;#039;s recommended to utilize file provisioning, Terraform, or the Alerting API for backup and restoration of alerting resources.&lt;br /&gt;
&lt;br /&gt;
=== Creation Process ===&lt;br /&gt;
&lt;br /&gt;
==== Naming the Alert Rule ====&lt;br /&gt;
1. Navigate to `Alerts &amp;amp; IRM -&amp;gt; Alert rules -&amp;gt; + New alert rule`.&lt;br /&gt;
&lt;br /&gt;
2. Assign a descriptive name to identify the rule, which also serves as the `alertname` label in alert instances.&lt;br /&gt;
&lt;br /&gt;
Defining the Query and Condition&lt;br /&gt;
&lt;br /&gt;
1. Select your data source.&lt;br /&gt;
&lt;br /&gt;
2. Choose a fixed relative time range from the options (e.g., last 24 hours).&lt;br /&gt;
&lt;br /&gt;
3. Insert your query, adding additional ones if necessary.&lt;br /&gt;
&lt;br /&gt;
4. Apply expressions to refine alert conditions, using instant vector and built-in functions for time series metrics to avoid extra expressions.&lt;br /&gt;
&lt;br /&gt;
5. Set a recovery threshold if needed, and mark your primary query or expression as the alert condition.&lt;br /&gt;
&lt;br /&gt;
==== Evaluation Behavior ====&lt;br /&gt;
1. Assign the alert rule to a folder and evaluation group, setting an appropriate interval.&lt;br /&gt;
&lt;br /&gt;
2. Define a pending period, which determines how long a breached condition must persist before triggering an alert.&lt;br /&gt;
&lt;br /&gt;
3. Optionally, pause alert notifications to avoid disruptions during alert tuning.&lt;br /&gt;
&lt;br /&gt;
=== Annotations and Notifications ===&lt;br /&gt;
Annotations enrich alert notifications with context, such as a summary, description, Runbook URL, and dashboard links.&lt;br /&gt;
&lt;br /&gt;
=== Notification Policies ===&lt;br /&gt;
Label alert rules to specify which notification policy should handle alerts. The default policy applies unless overridden by matching custom labels.&lt;br /&gt;
&lt;br /&gt;
=== Multi-dimensional Alerting ===&lt;br /&gt;
To create alerts for individual series, employ expressions like Math, Reduce, or Resample, ensuring the conditions are appropriate for the multi-dimensional context.&lt;br /&gt;
[[File:Alerts.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Handling No Data and Errors ===&lt;br /&gt;
Configure alerts to handle &amp;#039;No Data&amp;#039; or &amp;#039;Error&amp;#039; states appropriately, setting alerts to fire only after the specified evaluation period, thereby minimizing false alarms.&lt;br /&gt;
&lt;br /&gt;
=== Resolving Stale Alerts ===&lt;br /&gt;
Stale alert instances are auto-resolved when the related series vanish for two intervals, and the system annotates these with the reason.&lt;br /&gt;
&lt;br /&gt;
=== Creating Alerts from Panels ===&lt;br /&gt;
Lastly, FojiSoft permits alert creation directly from dashboard panels, allowing for the reuse of existing panel queries.&lt;br /&gt;
&lt;br /&gt;
[[Category:Visualize]]&lt;/div&gt;</summary>
		<author><name>Mitchell.Hirsche</name></author>
	</entry>
</feed>