Wavefront v3.1.8 published on Tuesday, Mar 4, 2025 by Pulumi
wavefront.getAlerts
Explore with Pulumi AI
Use this data source to get information about all Wavefront alerts.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
// Get the information about all alerts.
const example = wavefront.getAlerts({
    limit: 10,
    offset: 0,
});
import pulumi
import pulumi_wavefront as wavefront
# Get the information about all alerts.
example = wavefront.get_alerts(limit=10,
    offset=0)
package main
import (
	"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Get the information about all alerts.
		_, err := wavefront.GetAlerts(ctx, &wavefront.GetAlertsArgs{
			Limit:  pulumi.IntRef(10),
			Offset: pulumi.IntRef(0),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() => 
{
    // Get the information about all alerts.
    var example = Wavefront.GetAlerts.Invoke(new()
    {
        Limit = 10,
        Offset = 0,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import com.pulumi.wavefront.inputs.GetAlertsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        // Get the information about all alerts.
        final var example = WavefrontFunctions.getAlerts(GetAlertsArgs.builder()
            .limit(10)
            .offset(0)
            .build());
    }
}
variables:
  # Get the information about all alerts.
  example:
    fn::invoke:
      function: wavefront:getAlerts
      arguments:
        limit: 10
        offset: 0
Using getAlerts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAlerts(args: GetAlertsArgs, opts?: InvokeOptions): Promise<GetAlertsResult>
function getAlertsOutput(args: GetAlertsOutputArgs, opts?: InvokeOptions): Output<GetAlertsResult>def get_alerts(limit: Optional[int] = None,
               offset: Optional[int] = None,
               opts: Optional[InvokeOptions] = None) -> GetAlertsResult
def get_alerts_output(limit: Optional[pulumi.Input[int]] = None,
               offset: Optional[pulumi.Input[int]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetAlertsResult]func GetAlerts(ctx *Context, args *GetAlertsArgs, opts ...InvokeOption) (*GetAlertsResult, error)
func GetAlertsOutput(ctx *Context, args *GetAlertsOutputArgs, opts ...InvokeOption) GetAlertsResultOutput> Note: This function is named GetAlerts in the Go SDK.
public static class GetAlerts 
{
    public static Task<GetAlertsResult> InvokeAsync(GetAlertsArgs args, InvokeOptions? opts = null)
    public static Output<GetAlertsResult> Invoke(GetAlertsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAlertsResult> getAlerts(GetAlertsArgs args, InvokeOptions options)
public static Output<GetAlertsResult> getAlerts(GetAlertsArgs args, InvokeOptions options)
fn::invoke:
  function: wavefront:index/getAlerts:getAlerts
  arguments:
    # arguments dictionaryThe following arguments are supported:
getAlerts Result
The following output properties are available:
- Alerts
List<GetAlerts Alert> 
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Limit int
- Offset int
- Alerts
[]GetAlerts Alert 
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Limit int
- Offset int
- alerts
List<GetAlerts Alert> 
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- limit Integer
- offset Integer
- alerts
GetAlerts Alert[] 
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- id string
- The provider-assigned unique ID for this managed resource.
- limit number
- offset number
- alerts
Sequence[GetAlerts Alert] 
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- id str
- The provider-assigned unique ID for this managed resource.
- limit int
- offset int
- alerts List<Property Map>
- List of all alerts in Wavefront. For each alert you will see a list of attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- limit Number
- offset Number
Supporting Types
GetAlertsAlert  
- AdditionalInformation string
- User-supplied additional explanatory information about this alert.
- AlertTriage List<GetDashboards Alerts Alert Alert Triage Dashboard> 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- AlertType string
- The type of alert in Wavefront.
- CanModifies List<string>
- A list of users or groups that can modify the alert.
- CanViews List<string>
- A list of users or groups that can view the alert.
- Condition string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- Conditions Dictionary<string, string>
- A map of severity to condition for which this alert will trigger.
- DisplayExpression string
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- EvaluateRealtime boolData 
- A Boolean flag to enable real-time evaluation.
- FailingHost List<GetLabel Pairs Alerts Alert Failing Host Label Pair> 
- A list of failing host label pairs.
- Id string
- The ID of the alert in Wavefront.
- InMaintenance List<GetHost Label Pairs Alerts Alert In Maintenance Host Label Pair> 
- A list of in maintenance host label pairs.
- IncludeObsolete boolMetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- Minutes int
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- Name string
- The name of the alert as it is displayed in Wavefront.
- NotificationResend intFrequency Minutes 
- How often to re-trigger a continually failing alert.
- ProcessRate intMinutes 
- The specified query is executed every process_rate_minutesminutes.
- ResolveAfter intMinutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- RunbookLinks List<string>
- A list of user-supplied runbook links for this alert.
- Severity string
- The severity of the alert.
- SeverityLists List<string>
- Statuses List<string>
- The status of the alert.
- List<string>
- A set of tags assigned to the alert.
- Target string
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- Targets Dictionary<string, string>
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
- AdditionalInformation string
- User-supplied additional explanatory information about this alert.
- AlertTriage []GetDashboards Alerts Alert Alert Triage Dashboard 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- AlertType string
- The type of alert in Wavefront.
- CanModifies []string
- A list of users or groups that can modify the alert.
- CanViews []string
- A list of users or groups that can view the alert.
- Condition string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- Conditions map[string]string
- A map of severity to condition for which this alert will trigger.
- DisplayExpression string
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- EvaluateRealtime boolData 
- A Boolean flag to enable real-time evaluation.
- FailingHost []GetLabel Pairs Alerts Alert Failing Host Label Pair 
- A list of failing host label pairs.
- Id string
- The ID of the alert in Wavefront.
- InMaintenance []GetHost Label Pairs Alerts Alert In Maintenance Host Label Pair 
- A list of in maintenance host label pairs.
- IncludeObsolete boolMetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- Minutes int
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- Name string
- The name of the alert as it is displayed in Wavefront.
- NotificationResend intFrequency Minutes 
- How often to re-trigger a continually failing alert.
- ProcessRate intMinutes 
- The specified query is executed every process_rate_minutesminutes.
- ResolveAfter intMinutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- RunbookLinks []string
- A list of user-supplied runbook links for this alert.
- Severity string
- The severity of the alert.
- SeverityLists []string
- Statuses []string
- The status of the alert.
- []string
- A set of tags assigned to the alert.
- Target string
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- Targets map[string]string
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
- additionalInformation String
- User-supplied additional explanatory information about this alert.
- alertTriage List<GetDashboards Alerts Alert Alert Triage Dashboard> 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- alertType String
- The type of alert in Wavefront.
- canModifies List<String>
- A list of users or groups that can modify the alert.
- canViews List<String>
- A list of users or groups that can view the alert.
- condition String
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- conditions Map<String,String>
- A map of severity to condition for which this alert will trigger.
- displayExpression String
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- evaluateRealtime BooleanData 
- A Boolean flag to enable real-time evaluation.
- failingHost List<GetLabel Pairs Alerts Alert Failing Host Label Pair> 
- A list of failing host label pairs.
- id String
- The ID of the alert in Wavefront.
- inMaintenance List<GetHost Label Pairs Alerts Alert In Maintenance Host Label Pair> 
- A list of in maintenance host label pairs.
- includeObsolete BooleanMetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- minutes Integer
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- name String
- The name of the alert as it is displayed in Wavefront.
- notificationResend IntegerFrequency Minutes 
- How often to re-trigger a continually failing alert.
- processRate IntegerMinutes 
- The specified query is executed every process_rate_minutesminutes.
- resolveAfter IntegerMinutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- runbookLinks List<String>
- A list of user-supplied runbook links for this alert.
- severity String
- The severity of the alert.
- severityLists List<String>
- statuses List<String>
- The status of the alert.
- List<String>
- A set of tags assigned to the alert.
- target String
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- targets Map<String,String>
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
- additionalInformation string
- User-supplied additional explanatory information about this alert.
- alertTriage GetDashboards Alerts Alert Alert Triage Dashboard[] 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- alertType string
- The type of alert in Wavefront.
- canModifies string[]
- A list of users or groups that can modify the alert.
- canViews string[]
- A list of users or groups that can view the alert.
- condition string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- conditions {[key: string]: string}
- A map of severity to condition for which this alert will trigger.
- displayExpression string
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- evaluateRealtime booleanData 
- A Boolean flag to enable real-time evaluation.
- failingHost GetLabel Pairs Alerts Alert Failing Host Label Pair[] 
- A list of failing host label pairs.
- id string
- The ID of the alert in Wavefront.
- inMaintenance GetHost Label Pairs Alerts Alert In Maintenance Host Label Pair[] 
- A list of in maintenance host label pairs.
- includeObsolete booleanMetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- minutes number
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- name string
- The name of the alert as it is displayed in Wavefront.
- notificationResend numberFrequency Minutes 
- How often to re-trigger a continually failing alert.
- processRate numberMinutes 
- The specified query is executed every process_rate_minutesminutes.
- resolveAfter numberMinutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- runbookLinks string[]
- A list of user-supplied runbook links for this alert.
- severity string
- The severity of the alert.
- severityLists string[]
- statuses string[]
- The status of the alert.
- string[]
- A set of tags assigned to the alert.
- target string
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- targets {[key: string]: string}
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
- additional_information str
- User-supplied additional explanatory information about this alert.
- alert_triage_ Sequence[Getdashboards Alerts Alert Alert Triage Dashboard] 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- alert_type str
- The type of alert in Wavefront.
- can_modifies Sequence[str]
- A list of users or groups that can modify the alert.
- can_views Sequence[str]
- A list of users or groups that can view the alert.
- condition str
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- conditions Mapping[str, str]
- A map of severity to condition for which this alert will trigger.
- display_expression str
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- evaluate_realtime_ booldata 
- A Boolean flag to enable real-time evaluation.
- failing_host_ Sequence[Getlabel_ pairs Alerts Alert Failing Host Label Pair] 
- A list of failing host label pairs.
- id str
- The ID of the alert in Wavefront.
- in_maintenance_ Sequence[Gethost_ label_ pairs Alerts Alert In Maintenance Host Label Pair] 
- A list of in maintenance host label pairs.
- include_obsolete_ boolmetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- minutes int
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- name str
- The name of the alert as it is displayed in Wavefront.
- notification_resend_ intfrequency_ minutes 
- How often to re-trigger a continually failing alert.
- process_rate_ intminutes 
- The specified query is executed every process_rate_minutesminutes.
- resolve_after_ intminutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- runbook_links Sequence[str]
- A list of user-supplied runbook links for this alert.
- severity str
- The severity of the alert.
- severity_lists Sequence[str]
- statuses Sequence[str]
- The status of the alert.
- Sequence[str]
- A set of tags assigned to the alert.
- target str
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- targets Mapping[str, str]
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
- additionalInformation String
- User-supplied additional explanatory information about this alert.
- alertTriage List<Property Map>Dashboards 
- A set of user-supplied dashboard and parameters to create dashboard links for triaging alerts.
- alertType String
- The type of alert in Wavefront.
- canModifies List<String>
- A list of users or groups that can modify the alert.
- canViews List<String>
- A list of users or groups that can view the alert.
- condition String
- A Wavefront query that is evaluated at regular intervals (default is 1 minute). The alert fires and notifications are triggered when a data series matching this query evaluates to a non-zero value for a set number of consecutive minutes.
- conditions Map<String>
- A map of severity to condition for which this alert will trigger.
- displayExpression String
- A second query the results of which are displayed in the alert user interface instead of the condition query.
- evaluateRealtime BooleanData 
- A Boolean flag to enable real-time evaluation.
- failingHost List<Property Map>Label Pairs 
- A list of failing host label pairs.
- id String
- The ID of the alert in Wavefront.
- inMaintenance List<Property Map>Host Label Pairs 
- A list of in maintenance host label pairs.
- includeObsolete BooleanMetrics 
- A Boolean flag indicating whether to include obsolete metrics or not.
- minutes Number
- The number of consecutive minutes that a series matching the condition query must evaluate to "true" (non-zero value) before the alert fires.
- name String
- The name of the alert as it is displayed in Wavefront.
- notificationResend NumberFrequency Minutes 
- How often to re-trigger a continually failing alert.
- processRate NumberMinutes 
- The specified query is executed every process_rate_minutesminutes.
- resolveAfter NumberMinutes 
- The number of consecutive minutes that a firing series matching the condition query must evaluate to "false" (zero value) before the alert resolves.
- runbookLinks List<String>
- A list of user-supplied runbook links for this alert.
- severity String
- The severity of the alert.
- severityLists List<String>
- statuses List<String>
- The status of the alert.
- List<String>
- A set of tags assigned to the alert.
- target String
- An email address or integration endpoint (such as PagerDuty or webhook) to notify when the alert status changes.
- targets Map<String>
- A comma-separated list of the email addresses or integration endpoints (such as PagerDuty or webhook) to notify when the alert status changes. Multiple target types can be in the list.
GetAlertsAlertAlertTriageDashboard     
- DashboardId string
- Dashboard ID
- Description string
- Dashboard Description
- Parameters
GetAlerts Alert Alert Triage Dashboard Parameters 
- DashboardId string
- Dashboard ID
- Description string
- Dashboard Description
- Parameters
GetAlerts Alert Alert Triage Dashboard Parameters 
- dashboardId String
- Dashboard ID
- description String
- Dashboard Description
- parameters
GetAlerts Alert Alert Triage Dashboard Parameters 
- dashboardId string
- Dashboard ID
- description string
- Dashboard Description
- parameters
GetAlerts Alert Alert Triage Dashboard Parameters 
- dashboard_id str
- Dashboard ID
- description str
- Dashboard Description
- parameters
GetAlerts Alert Alert Triage Dashboard Parameters 
- dashboardId String
- Dashboard ID
- description String
- Dashboard Description
- parameters Property Map
GetAlertsAlertAlertTriageDashboardParameters      
- Constants Dictionary<string, string>
- Constants map[string]string
- constants Map<String,String>
- constants {[key: string]: string}
- constants Mapping[str, str]
- constants Map<String>
GetAlertsAlertFailingHostLabelPair      
GetAlertsAlertInMaintenanceHostLabelPair       
Package Details
- Repository
- Wavefront pulumi/pulumi-wavefront
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the wavefrontTerraform Provider.