Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

Dashboard

Provides a Datadog dashboard resource. This can be used to create and manage Datadog dashboards.

Note: This resource uses the new Dashboard API which adds new features like better validation and support for the Group widget. Additionally, this resource unifies datadog.TimeBoard and datadog.ScreenBoard resources to allow you to manage all of your dashboards using a single format.

Example Usage

Create A New Datadog Dashboard - Ordered Layout

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        var orderedDashboard = new Datadog.Dashboard("orderedDashboard", new Datadog.DashboardArgs
        {
            Description = "Created using the Datadog provider in Terraform",
            IsReadOnly = true,
            LayoutType = "ordered",
            TemplateVariables = 
            {
                new Datadog.Inputs.DashboardTemplateVariableArgs
                {
                    Default = "aws",
                    Name = "var_1",
                    Prefix = "host",
                },
                new Datadog.Inputs.DashboardTemplateVariableArgs
                {
                    Default = "autoscaling",
                    Name = "var_2",
                    Prefix = "service_name",
                },
            },
            TemplateVariablePresets = 
            {
                new Datadog.Inputs.DashboardTemplateVariablePresetArgs
                {
                    Name = "preset_1",
                    TemplateVariables = 
                    {
                        new Datadog.Inputs.DashboardTemplateVariablePresetTemplateVariableArgs
                        {
                            Name = "var_1",
                            Value = "host.dc",
                        },
                        new Datadog.Inputs.DashboardTemplateVariablePresetTemplateVariableArgs
                        {
                            Name = "var_2",
                            Value = "my_service",
                        },
                    },
                },
            },
            Title = "Ordered Layout Dashboard",
            Widgets = 
            {
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs
                    {
                        AlertId = "895605",
                        Time = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        VizType = "timeseries",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    AlertValueDefinition = new Datadog.Inputs.DashboardWidgetAlertValueDefinitionArgs
                    {
                        AlertId = "895605",
                        Precision = 3,
                        TextAlign = "center",
                        Title = "Widget Title",
                        Unit = "b",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    AlertValueDefinition = new Datadog.Inputs.DashboardWidgetAlertValueDefinitionArgs
                    {
                        AlertId = "895605",
                        Precision = 3,
                        TextAlign = "center",
                        Title = "Widget Title",
                        Unit = "b",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    ChangeDefinition = new Datadog.Inputs.DashboardWidgetChangeDefinitionArgs
                    {
                        Request = 
                        {
                            
                            {
                                { "changeType", "absolute" },
                                { "compareTo", "week_before" },
                                { "increaseGood", true },
                                { "orderBy", "name" },
                                { "orderDir", "desc" },
                                { "q", "avg:system.load.1{env:staging} by {account}" },
                                { "showPresent", true },
                            },
                        },
                        Time = new Datadog.Inputs.DashboardWidgetChangeDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    DistributionDefinition = new Datadog.Inputs.DashboardWidgetDistributionDefinitionArgs
                    {
                        Request = 
                        {
                            
                            {
                                { "q", "avg:system.load.1{env:staging} by {account}" },
                                { "style", 
                                {
                                    { "palette", "warm" },
                                } },
                            },
                        },
                        Time = new Datadog.Inputs.DashboardWidgetDistributionDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    CheckStatusDefinition = new Datadog.Inputs.DashboardWidgetCheckStatusDefinitionArgs
                    {
                        Check = "aws.ecs.agent_connected",
                        GroupBy = 
                        {
                            "account",
                            "cluster",
                        },
                        Grouping = "cluster",
                        Tags = 
                        {
                            "account:demo",
                            "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk",
                        },
                        Time = new Datadog.Inputs.DashboardWidgetCheckStatusDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    HeatmapDefinition = new Datadog.Inputs.DashboardWidgetHeatmapDefinitionArgs
                    {
                        Request = 
                        {
                            
                            {
                                { "q", "avg:system.load.1{env:staging} by {account}" },
                                { "style", 
                                {
                                    { "palette", "warm" },
                                } },
                            },
                        },
                        Time = new Datadog.Inputs.DashboardWidgetHeatmapDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        Yaxis = new Datadog.Inputs.DashboardWidgetHeatmapDefinitionYaxisArgs
                        {
                            IncludeZero = true,
                            Max = "2",
                            Min = "1",
                            Scale = "sqrt",
                        },
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    HostmapDefinition = new Datadog.Inputs.DashboardWidgetHostmapDefinitionArgs
                    {
                        Group = 
                        {
                            "host",
                            "region",
                        },
                        NoGroupHosts = true,
                        NoMetricHosts = true,
                        NodeType = "container",
                        Request = new Datadog.Inputs.DashboardWidgetHostmapDefinitionRequestArgs
                        {
                            Fill = 
                            {
                                
                                {
                                    { "q", "avg:system.load.1{*} by {host}" },
                                },
                            },
                            Size = 
                            {
                                
                                {
                                    { "q", "avg:memcache.uptime{*} by {host}" },
                                },
                            },
                        },
                        Scope = 
                        {
                            "region:us-east-1",
                            "aws_account:727006795293",
                        },
                        Style = new Datadog.Inputs.DashboardWidgetHostmapDefinitionStyleArgs
                        {
                            FillMax = "20",
                            FillMin = "10",
                            Palette = "yellow_to_green",
                            PaletteFlip = true,
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    NoteDefinition = new Datadog.Inputs.DashboardWidgetNoteDefinitionArgs
                    {
                        BackgroundColor = "pink",
                        Content = "note text",
                        FontSize = "14",
                        ShowTick = true,
                        TextAlign = "center",
                        TickEdge = "left",
                        TickPos = "50%",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    QueryValueDefinition = new Datadog.Inputs.DashboardWidgetQueryValueDefinitionArgs
                    {
                        Autoscale = true,
                        CustomUnit = "xx",
                        Precision = 4,
                        Request = 
                        {
                            
                            {
                                { "aggregator", "sum" },
                                { "conditionalFormats", 
                                {
                                    
                                    {
                                        { "comparator", "<" },
                                        { "palette", "white_on_green" },
                                        { "value", "2" },
                                    },
                                    
                                    {
                                        { "comparator", ">" },
                                        { "palette", "white_on_red" },
                                        { "value", "2.2" },
                                    },
                                } },
                                { "q", "avg:system.load.1{env:staging} by {account}" },
                            },
                        },
                        TextAlign = "right",
                        Time = new Datadog.Inputs.DashboardWidgetQueryValueDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    QueryTableDefinition = new Datadog.Inputs.DashboardWidgetQueryTableDefinitionArgs
                    {
                        Request = 
                        {
                            
                            {
                                { "aggregator", "sum" },
                                { "conditionalFormats", 
                                {
                                    
                                    {
                                        { "comparator", "<" },
                                        { "palette", "white_on_green" },
                                        { "value", "2" },
                                    },
                                    
                                    {
                                        { "comparator", ">" },
                                        { "palette", "white_on_red" },
                                        { "value", "2.2" },
                                    },
                                } },
                                { "limit", "10" },
                                { "q", "avg:system.load.1{env:staging} by {account}" },
                            },
                        },
                        Time = new Datadog.Inputs.DashboardWidgetQueryTableDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    ScatterplotDefinition = new Datadog.Inputs.DashboardWidgetScatterplotDefinitionArgs
                    {
                        ColorByGroups = 
                        {
                            "account",
                            "apm-role-group",
                        },
                        Request = new Datadog.Inputs.DashboardWidgetScatterplotDefinitionRequestArgs
                        {
                            X = 
                            {
                                
                                {
                                    { "aggregator", "max" },
                                    { "q", "avg:system.cpu.user{*} by {service, account}" },
                                },
                            },
                            Y = 
                            {
                                
                                {
                                    { "aggregator", "min" },
                                    { "q", "avg:system.mem.used{*} by {service, account}" },
                                },
                            },
                        },
                        Time = new Datadog.Inputs.DashboardWidgetScatterplotDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        Xaxis = new Datadog.Inputs.DashboardWidgetScatterplotDefinitionXaxisArgs
                        {
                            IncludeZero = true,
                            Label = "x",
                            Max = "2000",
                            Min = "1",
                            Scale = "pow",
                        },
                        Yaxis = new Datadog.Inputs.DashboardWidgetScatterplotDefinitionYaxisArgs
                        {
                            IncludeZero = false,
                            Label = "y",
                            Max = "2222",
                            Min = "5",
                            Scale = "log",
                        },
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 43,
                        Width = 32,
                        X = 5,
                        Y = 5,
                    },
                    ServicemapDefinition = new Datadog.Inputs.DashboardWidgetServicemapDefinitionArgs
                    {
                        Filters = 
                        {
                            "env:prod",
                            "datacenter:us1.prod.dog",
                        },
                        Service = "master-db",
                        Title = "env: prod, datacenter:us1.prod.dog, service: master-db",
                        TitleAlign = "left",
                        TitleSize = "16",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    TimeseriesDefinition = new Datadog.Inputs.DashboardWidgetTimeseriesDefinitionArgs
                    {
                        Event = 
                        {
                            
                            {
                                { "q", "sources:test tags:1" },
                            },
                            
                            {
                                { "q", "sources:test tags:2" },
                            },
                        },
                        LegendSize = "2",
                        Marker = 
                        {
                            
                            {
                                { "displayType", "error dashed" },
                                { "label", " z=6 " },
                                { "value", "y = 4" },
                            },
                            
                            {
                                { "displayType", "ok solid" },
                                { "label", " x=8 " },
                                { "value", "10 < y < 999" },
                            },
                        },
                        Request = 
                        {
                            
                            {
                                { "displayType", "line" },
                                { "metadata", 
                                {
                                    
                                    {
                                        { "aliasName", "Alpha" },
                                        { "expression", "avg:system.cpu.user{app:general} by {env}" },
                                    },
                                } },
                                { "q", "avg:system.cpu.user{app:general} by {env}" },
                                { "style", 
                                {
                                    { "lineType", "dashed" },
                                    { "lineWidth", "thin" },
                                    { "palette", "warm" },
                                } },
                            },
                            
                            {
                                { "displayType", "area" },
                                { "logQuery", 
                                {
                                    { "compute", 
                                    {
                                        { "aggregation", "avg" },
                                        { "facet", "@duration" },
                                        { "interval", 5000 },
                                    } },
                                    { "groupBy", 
                                    {
                                        
                                        {
                                            { "facet", "host" },
                                            { "limit", 10 },
                                            { "sort", 
                                            {
                                                { "aggregation", "avg" },
                                                { "facet", "@duration" },
                                                { "order", "desc" },
                                            } },
                                        },
                                    } },
                                    { "index", "mcnulty" },
                                    { "search", 
                                    {
                                        { "query", "status:info" },
                                    } },
                                } },
                            },
                            
                            {
                                { "apmQuery", 
                                {
                                    { "compute", 
                                    {
                                        { "aggregation", "avg" },
                                        { "facet", "@duration" },
                                        { "interval", 5000 },
                                    } },
                                    { "groupBy", 
                                    {
                                        
                                        {
                                            { "facet", "resource_name" },
                                            { "limit", 50 },
                                            { "sort", 
                                            {
                                                { "aggregation", "avg" },
                                                { "facet", "@string_query.interval" },
                                                { "order", "desc" },
                                            } },
                                        },
                                    } },
                                    { "index", "apm-search" },
                                    { "search", 
                                    {
                                        { "query", "type:web" },
                                    } },
                                } },
                                { "displayType", "bars" },
                            },
                            
                            {
                                { "displayType", "area" },
                                { "processQuery", 
                                {
                                    { "filterBy", 
                                    {
                                        "active",
                                    } },
                                    { "limit", 50 },
                                    { "metric", "process.stat.cpu.total_pct" },
                                    { "searchBy", "error" },
                                } },
                            },
                        },
                        ShowLegend = true,
                        Time = new Datadog.Inputs.DashboardWidgetTimeseriesDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        Yaxis = new Datadog.Inputs.DashboardWidgetTimeseriesDefinitionYaxisArgs
                        {
                            IncludeZero = false,
                            Max = "100",
                            Scale = "log",
                        },
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    ToplistDefinition = new Datadog.Inputs.DashboardWidgetToplistDefinitionArgs
                    {
                        Request = 
                        {
                            
                            {
                                { "conditionalFormats", 
                                {
                                    
                                    {
                                        { "comparator", "<" },
                                        { "palette", "white_on_green" },
                                        { "value", "2" },
                                    },
                                    
                                    {
                                        { "comparator", ">" },
                                        { "palette", "white_on_red" },
                                        { "value", "2.2" },
                                    },
                                } },
                                { "q", "avg:system.cpu.user{app:general} by {env}" },
                            },
                        },
                        Title = "Widget Title",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    GroupDefinition = new Datadog.Inputs.DashboardWidgetGroupDefinitionArgs
                    {
                        LayoutType = "ordered",
                        Title = "Group Widget",
                        Widget = 
                        {
                            
                            {
                                { "noteDefinition", 
                                {
                                    { "backgroundColor", "pink" },
                                    { "content", "cluster note widget" },
                                    { "fontSize", "14" },
                                    { "showTick", true },
                                    { "textAlign", "center" },
                                    { "tickEdge", "left" },
                                    { "tickPos", "50%" },
                                } },
                            },
                            
                            {
                                { "alertGraphDefinition", 
                                {
                                    { "alertId", "123" },
                                    { "time", 
                                    {
                                        { "liveSpan", "1h" },
                                    } },
                                    { "title", "Alert Graph" },
                                    { "vizType", "toplist" },
                                } },
                            },
                        },
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    ServiceLevelObjectiveDefinition = new Datadog.Inputs.DashboardWidgetServiceLevelObjectiveDefinitionArgs
                    {
                        ShowErrorBudget = true,
                        SloId = "56789",
                        TimeWindows = 
                        {
                            "7d",
                            "previous_week",
                        },
                        Title = "Widget Title",
                        ViewMode = "overall",
                        ViewType = "detail",
                    },
                },
            },
        });
    }

}
package main

import (
    "fmt"

    "github.com/pulumi/pulumi-datadog/sdk/v2/go/datadog"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := datadog.NewDashboard(ctx, "orderedDashboard", &datadog.DashboardArgs{
            Description: pulumi.String("Created using the Datadog provider in Terraform"),
            IsReadOnly:  pulumi.Bool(true),
            LayoutType:  pulumi.String("ordered"),
            TemplateVariables: datadog.DashboardTemplateVariableArray{
                &datadog.DashboardTemplateVariableArgs{
                    Default: pulumi.String("aws"),
                    Name:    pulumi.String("var_1"),
                    Prefix:  pulumi.String("host"),
                },
                &datadog.DashboardTemplateVariableArgs{
                    Default: pulumi.String("autoscaling"),
                    Name:    pulumi.String("var_2"),
                    Prefix:  pulumi.String("service_name"),
                },
            },
            TemplateVariablePresets: datadog.DashboardTemplateVariablePresetArray{
                &datadog.DashboardTemplateVariablePresetArgs{
                    Name: pulumi.String("preset_1"),
                    TemplateVariables: datadog.DashboardTemplateVariablePresetTemplateVariableArray{
                        &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{
                            Name:  pulumi.String("var_1"),
                            Value: pulumi.String("host.dc"),
                        },
                        &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{
                            Name:  pulumi.String("var_2"),
                            Value: pulumi.String("my_service"),
                        },
                    },
                },
            },
            Title: pulumi.String("Ordered Layout Dashboard"),
            Widgets: datadog.DashboardWidgetArray{
                &datadog.DashboardWidgetArgs{
                    AlertGraphDefinition: &datadog.DashboardWidgetAlertGraphDefinitionArgs{
                        AlertId: pulumi.String("895605"),
                        Time: &datadog.DashboardWidgetAlertGraphDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title:   pulumi.String("Widget Title"),
                        VizType: pulumi.String("timeseries"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    AlertValueDefinition: &datadog.DashboardWidgetAlertValueDefinitionArgs{
                        AlertId:   pulumi.String("895605"),
                        Precision: pulumi.Int(3),
                        TextAlign: pulumi.String("center"),
                        Title:     pulumi.String("Widget Title"),
                        Unit:      pulumi.String("b"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    AlertValueDefinition: &datadog.DashboardWidgetAlertValueDefinitionArgs{
                        AlertId:   pulumi.String("895605"),
                        Precision: pulumi.Int(3),
                        TextAlign: pulumi.String("center"),
                        Title:     pulumi.String("Widget Title"),
                        Unit:      pulumi.String("b"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    ChangeDefinition: &datadog.DashboardWidgetChangeDefinitionArgs{
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "changeType":   pulumi.String("absolute"),
                                "compareTo":    pulumi.String("week_before"),
                                "increaseGood": pulumi.Bool(true),
                                "orderBy":      pulumi.String("name"),
                                "orderDir":     pulumi.String("desc"),
                                "q":            pulumi.String("avg:system.load.1{env:staging} by {account}"),
                                "showPresent":  pulumi.Bool(true),
                            },
                        },
                        Time: &datadog.DashboardWidgetChangeDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    DistributionDefinition: &datadog.DashboardWidgetDistributionDefinitionArgs{
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "q": pulumi.String("avg:system.load.1{env:staging} by {account}"),
                                "style": pulumi.StringMap{
                                    "palette": pulumi.String("warm"),
                                },
                            },
                        },
                        Time: &datadog.DashboardWidgetDistributionDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    CheckStatusDefinition: &datadog.DashboardWidgetCheckStatusDefinitionArgs{
                        Check: pulumi.String("aws.ecs.agent_connected"),
                        GroupBy: pulumi.StringArray{
                            pulumi.String("account"),
                            pulumi.String("cluster"),
                        },
                        Grouping: pulumi.String("cluster"),
                        Tags: pulumi.StringArray{
                            pulumi.String("account:demo"),
                            pulumi.String("cluster:awseb-ruthebdog-env-8-dn3m6u3gvk"),
                        },
                        Time: &datadog.DashboardWidgetCheckStatusDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    HeatmapDefinition: &datadog.DashboardWidgetHeatmapDefinitionArgs{
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "q": pulumi.String("avg:system.load.1{env:staging} by {account}"),
                                "style": pulumi.StringMap{
                                    "palette": pulumi.String("warm"),
                                },
                            },
                        },
                        Time: &datadog.DashboardWidgetHeatmapDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                        Yaxis: &datadog.DashboardWidgetHeatmapDefinitionYaxisArgs{
                            IncludeZero: pulumi.Bool(true),
                            Max:         pulumi.String("2"),
                            Min:         pulumi.String("1"),
                            Scale:       pulumi.String("sqrt"),
                        },
                    },
                },
                &datadog.DashboardWidgetArgs{
                    HostmapDefinition: &datadog.DashboardWidgetHostmapDefinitionArgs{
                        Group: pulumi.StringArray{
                            pulumi.String("host"),
                            pulumi.String("region"),
                        },
                        NoGroupHosts:  pulumi.Bool(true),
                        NoMetricHosts: pulumi.Bool(true),
                        NodeType:      pulumi.String("container"),
                        Request: &datadog.DashboardWidgetHostmapDefinitionRequestArgs{
                            Fill: pulumi.StringMapArray{
                                pulumi.StringMap{
                                    "q": pulumi.String("avg:system.load.1{*} by {host}"),
                                },
                            },
                            Size: pulumi.StringMapArray{
                                pulumi.StringMap{
                                    "q": pulumi.String("avg:memcache.uptime{*} by {host}"),
                                },
                            },
                        },
                        Scope: pulumi.StringArray{
                            pulumi.String("region:us-east-1"),
                            pulumi.String("aws_account:727006795293"),
                        },
                        Style: &datadog.DashboardWidgetHostmapDefinitionStyleArgs{
                            FillMax:     pulumi.String("20"),
                            FillMin:     pulumi.String("10"),
                            Palette:     pulumi.String("yellow_to_green"),
                            PaletteFlip: pulumi.Bool(true),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    NoteDefinition: &datadog.DashboardWidgetNoteDefinitionArgs{
                        BackgroundColor: pulumi.String("pink"),
                        Content:         pulumi.String("note text"),
                        FontSize:        pulumi.String("14"),
                        ShowTick:        pulumi.Bool(true),
                        TextAlign:       pulumi.String("center"),
                        TickEdge:        pulumi.String("left"),
                        TickPos:         pulumi.String(fmt.Sprintf("%v%v", "50", "%")),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    QueryValueDefinition: &datadog.DashboardWidgetQueryValueDefinitionArgs{
                        Autoscale:  pulumi.Bool(true),
                        CustomUnit: pulumi.String("xx"),
                        Precision:  pulumi.Int(4),
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "aggregator": pulumi.String("sum"),
                                "conditionalFormats": pulumi.StringMapArray{
                                    pulumi.StringMap{
                                        "comparator": pulumi.String("<"),
                                        "palette":    pulumi.String("white_on_green"),
                                        "value":      pulumi.String("2"),
                                    },
                                    pulumi.StringMap{
                                        "comparator": pulumi.String(">"),
                                        "palette":    pulumi.String("white_on_red"),
                                        "value":      pulumi.String("2.2"),
                                    },
                                },
                                "q": pulumi.String("avg:system.load.1{env:staging} by {account}"),
                            },
                        },
                        TextAlign: pulumi.String("right"),
                        Time: &datadog.DashboardWidgetQueryValueDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    QueryTableDefinition: &datadog.DashboardWidgetQueryTableDefinitionArgs{
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "aggregator": pulumi.String("sum"),
                                "conditionalFormats": pulumi.StringMapArray{
                                    pulumi.StringMap{
                                        "comparator": pulumi.String("<"),
                                        "palette":    pulumi.String("white_on_green"),
                                        "value":      pulumi.String("2"),
                                    },
                                    pulumi.StringMap{
                                        "comparator": pulumi.String(">"),
                                        "palette":    pulumi.String("white_on_red"),
                                        "value":      pulumi.String("2.2"),
                                    },
                                },
                                "limit": pulumi.String("10"),
                                "q":     pulumi.String("avg:system.load.1{env:staging} by {account}"),
                            },
                        },
                        Time: &datadog.DashboardWidgetQueryTableDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    ScatterplotDefinition: &datadog.DashboardWidgetScatterplotDefinitionArgs{
                        ColorByGroups: pulumi.StringArray{
                            pulumi.String("account"),
                            pulumi.String("apm-role-group"),
                        },
                        Request: &datadog.DashboardWidgetScatterplotDefinitionRequestArgs{
                            X: pulumi.StringMapArray{
                                pulumi.StringMap{
                                    "aggregator": pulumi.String("max"),
                                    "q":          pulumi.String("avg:system.cpu.user{*} by {service, account}"),
                                },
                            },
                            Y: pulumi.StringMapArray{
                                pulumi.StringMap{
                                    "aggregator": pulumi.String("min"),
                                    "q":          pulumi.String("avg:system.mem.used{*} by {service, account}"),
                                },
                            },
                        },
                        Time: &datadog.DashboardWidgetScatterplotDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                        Xaxis: &datadog.DashboardWidgetScatterplotDefinitionXaxisArgs{
                            IncludeZero: pulumi.Bool(true),
                            Label:       pulumi.String("x"),
                            Max:         pulumi.String("2000"),
                            Min:         pulumi.String("1"),
                            Scale:       pulumi.String("pow"),
                        },
                        Yaxis: &datadog.DashboardWidgetScatterplotDefinitionYaxisArgs{
                            IncludeZero: pulumi.Bool(false),
                            Label:       pulumi.String("y"),
                            Max:         pulumi.String("2222"),
                            Min:         pulumi.String("5"),
                            Scale:       pulumi.String("log"),
                        },
                    },
                },
                &datadog.DashboardWidgetArgs{
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(43),
                        Width:  pulumi.Float64(32),
                        X:      pulumi.Float64(5),
                        Y:      pulumi.Float64(5),
                    },
                    ServicemapDefinition: &datadog.DashboardWidgetServicemapDefinitionArgs{
                        Filters: pulumi.StringArray{
                            pulumi.String("env:prod"),
                            pulumi.String("datacenter:us1.prod.dog"),
                        },
                        Service:    pulumi.String("master-db"),
                        Title:      pulumi.String("env: prod, datacenter:us1.prod.dog, service: master-db"),
                        TitleAlign: pulumi.String("left"),
                        TitleSize:  pulumi.String("16"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    TimeseriesDefinition: &datadog.DashboardWidgetTimeseriesDefinitionArgs{
                        Event: pulumi.StringMapArray{
                            pulumi.StringMap{
                                "q": pulumi.String("sources:test tags:1"),
                            },
                            pulumi.StringMap{
                                "q": pulumi.String("sources:test tags:2"),
                            },
                        },
                        LegendSize: pulumi.String("2"),
                        Marker: pulumi.StringMapArray{
                            pulumi.StringMap{
                                "displayType": pulumi.String("error dashed"),
                                "label":       pulumi.String(" z=6 "),
                                "value":       pulumi.String("y = 4"),
                            },
                            pulumi.StringMap{
                                "displayType": pulumi.String("ok solid"),
                                "label":       pulumi.String(" x=8 "),
                                "value":       pulumi.String("10 < y < 999"),
                            },
                        },
                        Request: pulumi.Array{
                            pulumi.Map{
                                "displayType": pulumi.String("line"),
                                "metadata": pulumi.StringMapArray{
                                    pulumi.StringMap{
                                        "aliasName":  pulumi.String("Alpha"),
                                        "expression": pulumi.String("avg:system.cpu.user{app:general} by {env}"),
                                    },
                                },
                                "q": pulumi.String("avg:system.cpu.user{app:general} by {env}"),
                                "style": pulumi.StringMap{
                                    "lineType":  pulumi.String("dashed"),
                                    "lineWidth": pulumi.String("thin"),
                                    "palette":   pulumi.String("warm"),
                                },
                            },
                            pulumi.Map{
                                "displayType": pulumi.String("area"),
                                "logQuery": pulumi.Map{
                                    "compute": pulumi.Map{
                                        "aggregation": pulumi.String("avg"),
                                        "facet":       pulumi.String("@duration"),
                                        "interval":    pulumi.Float64(5000),
                                    },
                                    "groupBy": pulumi.MapArray{
                                        pulumi.Map{
                                            "facet": pulumi.String("host"),
                                            "limit": pulumi.Float64(10),
                                            "sort": pulumi.StringMap{
                                                "aggregation": pulumi.String("avg"),
                                                "facet":       pulumi.String("@duration"),
                                                "order":       pulumi.String("desc"),
                                            },
                                        },
                                    },
                                    "index": pulumi.String("mcnulty"),
                                    "search": pulumi.StringMap{
                                        "query": pulumi.String("status:info"),
                                    },
                                },
                            },
                            pulumi.Map{
                                "apmQuery": pulumi.Map{
                                    "compute": pulumi.Map{
                                        "aggregation": pulumi.String("avg"),
                                        "facet":       pulumi.String("@duration"),
                                        "interval":    pulumi.Float64(5000),
                                    },
                                    "groupBy": pulumi.MapArray{
                                        pulumi.Map{
                                            "facet": pulumi.String("resource_name"),
                                            "limit": pulumi.Float64(50),
                                            "sort": pulumi.StringMap{
                                                "aggregation": pulumi.String("avg"),
                                                "facet":       pulumi.String("@string_query.interval"),
                                                "order":       pulumi.String("desc"),
                                            },
                                        },
                                    },
                                    "index": pulumi.String("apm-search"),
                                    "search": pulumi.StringMap{
                                        "query": pulumi.String("type:web"),
                                    },
                                },
                                "displayType": pulumi.String("bars"),
                            },
                            pulumi.Map{
                                "displayType": pulumi.String("area"),
                                "processQuery": pulumi.Map{
                                    "filterBy": pulumi.StringArray{
                                        pulumi.String("active"),
                                    },
                                    "limit":    pulumi.Float64(50),
                                    "metric":   pulumi.String("process.stat.cpu.total_pct"),
                                    "searchBy": pulumi.String("error"),
                                },
                            },
                        },
                        ShowLegend: pulumi.Bool(true),
                        Time: &datadog.DashboardWidgetTimeseriesDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title: pulumi.String("Widget Title"),
                        Yaxis: &datadog.DashboardWidgetTimeseriesDefinitionYaxisArgs{
                            IncludeZero: pulumi.Bool(false),
                            Max:         pulumi.String("100"),
                            Scale:       pulumi.String("log"),
                        },
                    },
                },
                &datadog.DashboardWidgetArgs{
                    ToplistDefinition: &datadog.DashboardWidgetToplistDefinitionArgs{
                        Request: pulumi.MapArray{
                            pulumi.Map{
                                "conditionalFormats": pulumi.StringMapArray{
                                    pulumi.StringMap{
                                        "comparator": pulumi.String("<"),
                                        "palette":    pulumi.String("white_on_green"),
                                        "value":      pulumi.String("2"),
                                    },
                                    pulumi.StringMap{
                                        "comparator": pulumi.String(">"),
                                        "palette":    pulumi.String("white_on_red"),
                                        "value":      pulumi.String("2.2"),
                                    },
                                },
                                "q": pulumi.String("avg:system.cpu.user{app:general} by {env}"),
                            },
                        },
                        Title: pulumi.String("Widget Title"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    GroupDefinition: &datadog.DashboardWidgetGroupDefinitionArgs{
                        LayoutType: pulumi.String("ordered"),
                        Title:      pulumi.String("Group Widget"),
                        Widget: pulumi.Array{
                            pulumi.MapMap{
                                "noteDefinition": pulumi.Map{
                                    "backgroundColor": pulumi.String("pink"),
                                    "content":         pulumi.String("cluster note widget"),
                                    "fontSize":        pulumi.String("14"),
                                    "showTick":        pulumi.Bool(true),
                                    "textAlign":       pulumi.String("center"),
                                    "tickEdge":        pulumi.String("left"),
                                    "tickPos":         pulumi.String(fmt.Sprintf("%v%v", "50", "%")),
                                },
                            },
                            pulumi.MapMap{
                                "alertGraphDefinition": pulumi.Map{
                                    "alertId": pulumi.String("123"),
                                    "time": pulumi.StringMap{
                                        "liveSpan": pulumi.String("1h"),
                                    },
                                    "title":   pulumi.String("Alert Graph"),
                                    "vizType": pulumi.String("toplist"),
                                },
                            },
                        },
                    },
                },
                &datadog.DashboardWidgetArgs{
                    ServiceLevelObjectiveDefinition: &datadog.DashboardWidgetServiceLevelObjectiveDefinitionArgs{
                        ShowErrorBudget: pulumi.Bool(true),
                        SloId:           pulumi.String("56789"),
                        TimeWindows: pulumi.StringArray{
                            pulumi.String("7d"),
                            pulumi.String("previous_week"),
                        },
                        Title:    pulumi.String("Widget Title"),
                        ViewMode: pulumi.String("overall"),
                        ViewType: pulumi.String("detail"),
                    },
                },
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_datadog as datadog

ordered_dashboard = datadog.Dashboard("orderedDashboard",
    description="Created using the Datadog provider in Terraform",
    is_read_only=True,
    layout_type="ordered",
    template_variables=[
        datadog.DashboardTemplateVariableArgs(
            default="aws",
            name="var_1",
            prefix="host",
        ),
        datadog.DashboardTemplateVariableArgs(
            default="autoscaling",
            name="var_2",
            prefix="service_name",
        ),
    ],
    template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs(
        name="preset_1",
        template_variables=[
            {
                "name": "var_1",
                "value": "host.dc",
            },
            {
                "name": "var_2",
                "value": "my_service",
            },
        ],
    )],
    title="Ordered Layout Dashboard",
    widgets=[
        datadog.DashboardWidgetArgs(
            alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs(
                alert_id="895605",
                time=datadog.DashboardWidgetAlertGraphDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                viz_type="timeseries",
            ),
        ),
        datadog.DashboardWidgetArgs(
            alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs(
                alert_id="895605",
                precision=3,
                text_align="center",
                title="Widget Title",
                unit="b",
            ),
        ),
        datadog.DashboardWidgetArgs(
            alert_value_definition=datadog.DashboardWidgetAlertValueDefinitionArgs(
                alert_id="895605",
                precision=3,
                text_align="center",
                title="Widget Title",
                unit="b",
            ),
        ),
        datadog.DashboardWidgetArgs(
            change_definition=datadog.DashboardWidgetChangeDefinitionArgs(
                request=[{
                    "changeType": "absolute",
                    "compareTo": "week_before",
                    "increaseGood": True,
                    "orderBy": "name",
                    "orderDir": "desc",
                    "q": "avg:system.load.1{env:staging} by {account}",
                    "showPresent": True,
                }],
                time=datadog.DashboardWidgetChangeDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            distribution_definition=datadog.DashboardWidgetDistributionDefinitionArgs(
                request=[{
                    "q": "avg:system.load.1{env:staging} by {account}",
                    "style": {
                        "palette": "warm",
                    },
                }],
                time=datadog.DashboardWidgetDistributionDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            check_status_definition=datadog.DashboardWidgetCheckStatusDefinitionArgs(
                check="aws.ecs.agent_connected",
                group_by=[
                    "account",
                    "cluster",
                ],
                grouping="cluster",
                tags=[
                    "account:demo",
                    "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk",
                ],
                time=datadog.DashboardWidgetCheckStatusDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            heatmap_definition=datadog.DashboardWidgetHeatmapDefinitionArgs(
                request=[{
                    "q": "avg:system.load.1{env:staging} by {account}",
                    "style": {
                        "palette": "warm",
                    },
                }],
                time=datadog.DashboardWidgetHeatmapDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                yaxis=datadog.DashboardWidgetHeatmapDefinitionYaxisArgs(
                    include_zero=True,
                    max="2",
                    min="1",
                    scale="sqrt",
                ),
            ),
        ),
        datadog.DashboardWidgetArgs(
            hostmap_definition=datadog.DashboardWidgetHostmapDefinitionArgs(
                group=[
                    "host",
                    "region",
                ],
                no_group_hosts=True,
                no_metric_hosts=True,
                node_type="container",
                request=datadog.DashboardWidgetHostmapDefinitionRequestArgs(
                    fill=[{
                        "q": "avg:system.load.1{*} by {host}",
                    }],
                    size=[{
                        "q": "avg:memcache.uptime{*} by {host}",
                    }],
                ),
                scope=[
                    "region:us-east-1",
                    "aws_account:727006795293",
                ],
                style=datadog.DashboardWidgetHostmapDefinitionStyleArgs(
                    fill_max="20",
                    fill_min="10",
                    palette="yellow_to_green",
                    palette_flip=True,
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            note_definition=datadog.DashboardWidgetNoteDefinitionArgs(
                background_color="pink",
                content="note text",
                font_size="14",
                show_tick=True,
                text_align="center",
                tick_edge="left",
                tick_pos="50%",
            ),
        ),
        datadog.DashboardWidgetArgs(
            query_value_definition=datadog.DashboardWidgetQueryValueDefinitionArgs(
                autoscale=True,
                custom_unit="xx",
                precision=4,
                request=[{
                    "aggregator": "sum",
                    "conditionalFormats": [
                        {
                            "comparator": "<",
                            "palette": "white_on_green",
                            "value": "2",
                        },
                        {
                            "comparator": ">",
                            "palette": "white_on_red",
                            "value": "2.2",
                        },
                    ],
                    "q": "avg:system.load.1{env:staging} by {account}",
                }],
                text_align="right",
                time=datadog.DashboardWidgetQueryValueDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            query_table_definition=datadog.DashboardWidgetQueryTableDefinitionArgs(
                request=[{
                    "aggregator": "sum",
                    "conditionalFormats": [
                        {
                            "comparator": "<",
                            "palette": "white_on_green",
                            "value": "2",
                        },
                        {
                            "comparator": ">",
                            "palette": "white_on_red",
                            "value": "2.2",
                        },
                    ],
                    "limit": "10",
                    "q": "avg:system.load.1{env:staging} by {account}",
                }],
                time=datadog.DashboardWidgetQueryTableDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            scatterplot_definition=datadog.DashboardWidgetScatterplotDefinitionArgs(
                color_by_groups=[
                    "account",
                    "apm-role-group",
                ],
                request=datadog.DashboardWidgetScatterplotDefinitionRequestArgs(
                    x=[{
                        "aggregator": "max",
                        "q": "avg:system.cpu.user{*} by {service, account}",
                    }],
                    y=[{
                        "aggregator": "min",
                        "q": "avg:system.mem.used{*} by {service, account}",
                    }],
                ),
                time=datadog.DashboardWidgetScatterplotDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                xaxis=datadog.DashboardWidgetScatterplotDefinitionXaxisArgs(
                    include_zero=True,
                    label="x",
                    max="2000",
                    min="1",
                    scale="pow",
                ),
                yaxis=datadog.DashboardWidgetScatterplotDefinitionYaxisArgs(
                    include_zero=False,
                    label="y",
                    max="2222",
                    min="5",
                    scale="log",
                ),
            ),
        ),
        datadog.DashboardWidgetArgs(
            layout=datadog.DashboardWidgetLayoutArgs(
                height=43,
                width=32,
                x=5,
                y=5,
            ),
            servicemap_definition=datadog.DashboardWidgetServicemapDefinitionArgs(
                filters=[
                    "env:prod",
                    "datacenter:us1.prod.dog",
                ],
                service="master-db",
                title="env: prod, datacenter:us1.prod.dog, service: master-db",
                title_align="left",
                title_size="16",
            ),
        ),
        datadog.DashboardWidgetArgs(
            timeseries_definition=datadog.DashboardWidgetTimeseriesDefinitionArgs(
                event=[
                    {
                        "q": "sources:test tags:1",
                    },
                    {
                        "q": "sources:test tags:2",
                    },
                ],
                legend_size="2",
                marker=[
                    {
                        "displayType": "error dashed",
                        "label": " z=6 ",
                        "value": "y = 4",
                    },
                    {
                        "displayType": "ok solid",
                        "label": " x=8 ",
                        "value": "10 < y < 999",
                    },
                ],
                request=[
                    {
                        "displayType": "line",
                        "metadata": [{
                            "aliasName": "Alpha",
                            "expression": "avg:system.cpu.user{app:general} by {env}",
                        }],
                        "q": "avg:system.cpu.user{app:general} by {env}",
                        "style": {
                            "lineType": "dashed",
                            "lineWidth": "thin",
                            "palette": "warm",
                        },
                    },
                    {
                        "displayType": "area",
                        "logQuery": {
                            "compute": {
                                "aggregation": "avg",
                                "facet": "@duration",
                                "interval": 5000,
                            },
                            "groupBy": [{
                                "facet": "host",
                                "limit": 10,
                                "sort": {
                                    "aggregation": "avg",
                                    "facet": "@duration",
                                    "order": "desc",
                                },
                            }],
                            "index": "mcnulty",
                            "search": {
                                "query": "status:info",
                            },
                        },
                    },
                    {
                        "apmQuery": {
                            "compute": {
                                "aggregation": "avg",
                                "facet": "@duration",
                                "interval": 5000,
                            },
                            "groupBy": [{
                                "facet": "resource_name",
                                "limit": 50,
                                "sort": {
                                    "aggregation": "avg",
                                    "facet": "@string_query.interval",
                                    "order": "desc",
                                },
                            }],
                            "index": "apm-search",
                            "search": {
                                "query": "type:web",
                            },
                        },
                        "displayType": "bars",
                    },
                    {
                        "displayType": "area",
                        "processQuery": {
                            "filterBy": ["active"],
                            "limit": 50,
                            "metric": "process.stat.cpu.total_pct",
                            "searchBy": "error",
                        },
                    },
                ],
                show_legend=True,
                time=datadog.DashboardWidgetTimeseriesDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                yaxis=datadog.DashboardWidgetTimeseriesDefinitionYaxisArgs(
                    include_zero=False,
                    max="100",
                    scale="log",
                ),
            ),
        ),
        datadog.DashboardWidgetArgs(
            toplist_definition=datadog.DashboardWidgetToplistDefinitionArgs(
                request=[{
                    "conditionalFormats": [
                        {
                            "comparator": "<",
                            "palette": "white_on_green",
                            "value": "2",
                        },
                        {
                            "comparator": ">",
                            "palette": "white_on_red",
                            "value": "2.2",
                        },
                    ],
                    "q": "avg:system.cpu.user{app:general} by {env}",
                }],
                title="Widget Title",
            ),
        ),
        datadog.DashboardWidgetArgs(
            group_definition=datadog.DashboardWidgetGroupDefinitionArgs(
                layout_type="ordered",
                title="Group Widget",
                widget=[
                    {
                        "noteDefinition": {
                            "backgroundColor": "pink",
                            "content": "cluster note widget",
                            "fontSize": "14",
                            "showTick": True,
                            "textAlign": "center",
                            "tickEdge": "left",
                            "tickPos": "50%",
                        },
                    },
                    {
                        "alertGraphDefinition": {
                            "alertId": "123",
                            "time": {
                                "liveSpan": "1h",
                            },
                            "title": "Alert Graph",
                            "vizType": "toplist",
                        },
                    },
                ],
            ),
        ),
        datadog.DashboardWidgetArgs(
            service_level_objective_definition=datadog.DashboardWidgetServiceLevelObjectiveDefinitionArgs(
                show_error_budget=True,
                slo_id="56789",
                time_windows=[
                    "7d",
                    "previous_week",
                ],
                title="Widget Title",
                view_mode="overall",
                view_type="detail",
            ),
        ),
    ])
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";

const orderedDashboard = new datadog.Dashboard("ordered_dashboard", {
    description: "Created using the Datadog provider in Terraform",
    isReadOnly: true,
    layoutType: "ordered",
    templateVariables: [
        {
            default: "aws",
            name: "var_1",
            prefix: "host",
        },
        {
            default: "autoscaling",
            name: "var_2",
            prefix: "service_name",
        },
    ],
    templateVariablePresets: [{
        name: "preset_1",
        templateVariables: [
            {
                name: "var_1",
                value: "host.dc",
            },
            {
                name: "var_2",
                value: "my_service",
            },
        ],
    }],
    title: "Ordered Layout Dashboard",
    widgets: [
        {
            alertGraphDefinition: {
                alertId: "895605",
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                vizType: "timeseries",
            },
        },
        {
            alertValueDefinition: {
                alertId: "895605",
                precision: 3,
                textAlign: "center",
                title: "Widget Title",
                unit: "b",
            },
        },
        {
            alertValueDefinition: {
                alertId: "895605",
                precision: 3,
                textAlign: "center",
                title: "Widget Title",
                unit: "b",
            },
        },
        {
            changeDefinition: {
                requests: [{
                    changeType: "absolute",
                    compareTo: "week_before",
                    increaseGood: true,
                    orderBy: "name",
                    orderDir: "desc",
                    q: "avg:system.load.1{env:staging} by {account}",
                    showPresent: true,
                }],
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
            },
        },
        {
            distributionDefinition: {
                requests: [{
                    q: "avg:system.load.1{env:staging} by {account}",
                    style: {
                        palette: "warm",
                    },
                }],
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
            },
        },
        {
            checkStatusDefinition: {
                check: "aws.ecs.agent_connected",
                groupBies: [
                    "account",
                    "cluster",
                ],
                grouping: "cluster",
                tags: [
                    "account:demo",
                    "cluster:awseb-ruthebdog-env-8-dn3m6u3gvk",
                ],
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
            },
        },
        {
            heatmapDefinition: {
                requests: [{
                    q: "avg:system.load.1{env:staging} by {account}",
                    style: {
                        palette: "warm",
                    },
                }],
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                yaxis: {
                    includeZero: true,
                    max: "2",
                    min: "1",
                    scale: "sqrt",
                },
            },
        },
        {
            hostmapDefinition: {
                groups: [
                    "host",
                    "region",
                ],
                noGroupHosts: true,
                noMetricHosts: true,
                nodeType: "container",
                request: {
                    fills: [{
                        q: "avg:system.load.1{*} by {host}",
                    }],
                    sizes: [{
                        q: "avg:memcache.uptime{*} by {host}",
                    }],
                },
                scopes: [
                    "region:us-east-1",
                    "aws_account:727006795293",
                ],
                style: {
                    fillMax: "20",
                    fillMin: "10",
                    palette: "yellow_to_green",
                    paletteFlip: true,
                },
                title: "Widget Title",
            },
        },
        {
            noteDefinition: {
                backgroundColor: "pink",
                content: "note text",
                fontSize: "14",
                showTick: true,
                textAlign: "center",
                tickEdge: "left",
                tickPos: "50%",
            },
        },
        {
            queryValueDefinition: {
                autoscale: true,
                customUnit: "xx",
                precision: 4,
                requests: [{
                    aggregator: "sum",
                    conditionalFormats: [
                        {
                            comparator: "<",
                            palette: "white_on_green",
                            value: 2,
                        },
                        {
                            comparator: ">",
                            palette: "white_on_red",
                            value: 2.2,
                        },
                    ],
                    q: "avg:system.load.1{env:staging} by {account}",
                }],
                textAlign: "right",
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
            },
        },
        {
            queryTableDefinition: {
                requests: [{
                    aggregator: "sum",
                    conditionalFormats: [
                        {
                            comparator: "<",
                            palette: "white_on_green",
                            value: 2,
                        },
                        {
                            comparator: ">",
                            palette: "white_on_red",
                            value: 2.2,
                        },
                    ],
                    limit: 10,
                    q: "avg:system.load.1{env:staging} by {account}",
                }],
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
            },
        },
        {
            scatterplotDefinition: {
                colorByGroups: [
                    "account",
                    "apm-role-group",
                ],
                request: {
                    xes: [{
                        aggregator: "max",
                        q: "avg:system.cpu.user{*} by {service, account}",
                    }],
                    ys: [{
                        aggregator: "min",
                        q: "avg:system.mem.used{*} by {service, account}",
                    }],
                },
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                xaxis: {
                    includeZero: true,
                    label: "x",
                    max: "2000",
                    min: "1",
                    scale: "pow",
                },
                yaxis: {
                    includeZero: false,
                    label: "y",
                    max: "2222",
                    min: "5",
                    scale: "log",
                },
            },
        },
        {
            layout: {
                height: 43,
                width: 32,
                x: 5,
                y: 5,
            },
            servicemapDefinition: {
                filters: [
                    "env:prod",
                    "datacenter:us1.prod.dog",
                ],
                service: "master-db",
                title: "env: prod, datacenter:us1.prod.dog, service: master-db",
                titleAlign: "left",
                titleSize: "16",
            },
        },
        {
            timeseriesDefinition: {
                events: [
                    {
                        q: "sources:test tags:1",
                    },
                    {
                        q: "sources:test tags:2",
                    },
                ],
                legendSize: "2",
                markers: [
                    {
                        displayType: "error dashed",
                        label: " z=6 ",
                        value: "y = 4",
                    },
                    {
                        displayType: "ok solid",
                        label: " x=8 ",
                        value: "10 < y < 999",
                    },
                ],
                requests: [
                    {
                        displayType: "line",
                        metadatas: [{
                            aliasName: "Alpha",
                            expression: "avg:system.cpu.user{app:general} by {env}",
                        }],
                        q: "avg:system.cpu.user{app:general} by {env}",
                        style: {
                            lineType: "dashed",
                            lineWidth: "thin",
                            palette: "warm",
                        },
                    },
                    {
                        displayType: "area",
                        logQuery: {
                            compute: {
                                aggregation: "avg",
                                facet: "@duration",
                                interval: 5000,
                            },
                            groupBies: [{
                                facet: "host",
                                limit: 10,
                                sort: {
                                    aggregation: "avg",
                                    facet: "@duration",
                                    order: "desc",
                                },
                            }],
                            index: "mcnulty",
                            search: {
                                query: "status:info",
                            },
                        },
                    },
                    {
                        apmQuery: {
                            compute: {
                                aggregation: "avg",
                                facet: "@duration",
                                interval: 5000,
                            },
                            groupBies: [{
                                facet: "resource_name",
                                limit: 50,
                                sort: {
                                    aggregation: "avg",
                                    facet: "@string_query.interval",
                                    order: "desc",
                                },
                            }],
                            index: "apm-search",
                            search: {
                                query: "type:web",
                            },
                        },
                        displayType: "bars",
                    },
                    {
                        displayType: "area",
                        processQuery: {
                            filterBies: ["active"],
                            limit: 50,
                            metric: "process.stat.cpu.total_pct",
                            searchBy: "error",
                        },
                    },
                ],
                showLegend: true,
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                yaxis: {
                    includeZero: false,
                    max: "100",
                    scale: "log",
                },
            },
        },
        {
            toplistDefinition: {
                requests: [{
                    conditionalFormats: [
                        {
                            comparator: "<",
                            palette: "white_on_green",
                            value: 2,
                        },
                        {
                            comparator: ">",
                            palette: "white_on_red",
                            value: 2.2,
                        },
                    ],
                    q: "avg:system.cpu.user{app:general} by {env}",
                }],
                title: "Widget Title",
            },
        },
        {
            groupDefinition: {
                layoutType: "ordered",
                title: "Group Widget",
                widgets: [
                    {
                        noteDefinition: {
                            backgroundColor: "pink",
                            content: "cluster note widget",
                            fontSize: "14",
                            showTick: true,
                            textAlign: "center",
                            tickEdge: "left",
                            tickPos: "50%",
                        },
                    },
                    {
                        alertGraphDefinition: {
                            alertId: "123",
                            time: {
                                live_span: "1h",
                            },
                            title: "Alert Graph",
                            vizType: "toplist",
                        },
                    },
                ],
            },
        },
        {
            serviceLevelObjectiveDefinition: {
                showErrorBudget: true,
                sloId: "56789",
                timeWindows: [
                    "7d",
                    "previous_week",
                ],
                title: "Widget Title",
                viewMode: "overall",
                viewType: "detail",
            },
        },
    ],
});

Create A New Datadog Dashboard - Free Layout

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        var freeDashboard = new Datadog.Dashboard("freeDashboard", new Datadog.DashboardArgs
        {
            Description = "Created using the Datadog provider in Terraform",
            IsReadOnly = false,
            LayoutType = "free",
            TemplateVariables = 
            {
                new Datadog.Inputs.DashboardTemplateVariableArgs
                {
                    Default = "aws",
                    Name = "var_1",
                    Prefix = "host",
                },
                new Datadog.Inputs.DashboardTemplateVariableArgs
                {
                    Default = "autoscaling",
                    Name = "var_2",
                    Prefix = "service_name",
                },
            },
            TemplateVariablePresets = 
            {
                new Datadog.Inputs.DashboardTemplateVariablePresetArgs
                {
                    Name = "preset_1",
                    TemplateVariables = 
                    {
                        new Datadog.Inputs.DashboardTemplateVariablePresetTemplateVariableArgs
                        {
                            Name = "var_1",
                            Value = "host.dc",
                        },
                        new Datadog.Inputs.DashboardTemplateVariablePresetTemplateVariableArgs
                        {
                            Name = "var_2",
                            Value = "my_service",
                        },
                    },
                },
            },
            Title = "Free Layout Dashboard",
            Widgets = 
            {
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    EventStreamDefinition = new Datadog.Inputs.DashboardWidgetEventStreamDefinitionArgs
                    {
                        EventSize = "l",
                        Query = "*",
                        Time = new Datadog.Inputs.DashboardWidgetEventStreamDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        TitleAlign = "left",
                        TitleSize = "16",
                    },
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 43,
                        Width = 32,
                        X = 5,
                        Y = 5,
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    EventTimelineDefinition = new Datadog.Inputs.DashboardWidgetEventTimelineDefinitionArgs
                    {
                        Query = "*",
                        Time = new Datadog.Inputs.DashboardWidgetEventTimelineDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "Widget Title",
                        TitleAlign = "left",
                        TitleSize = "16",
                    },
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 9,
                        Width = 65,
                        X = 42,
                        Y = 73,
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    FreeTextDefinition = new Datadog.Inputs.DashboardWidgetFreeTextDefinitionArgs
                    {
                        Color = "#d00",
                        FontSize = "88",
                        Text = "free text content",
                        TextAlign = "left",
                    },
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 20,
                        Width = 30,
                        X = 42,
                        Y = 5,
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    IframeDefinition = new Datadog.Inputs.DashboardWidgetIframeDefinitionArgs
                    {
                        Url = "http://google.com",
                    },
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 46,
                        Width = 39,
                        X = 111,
                        Y = 8,
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    ImageDefinition = new Datadog.Inputs.DashboardWidgetImageDefinitionArgs
                    {
                        Margin = "small",
                        Sizing = "fit",
                        Url = "https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350",
                    },
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 20,
                        Width = 30,
                        X = 77,
                        Y = 7,
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 36,
                        Width = 32,
                        X = 5,
                        Y = 51,
                    },
                    LogStreamDefinition = new Datadog.Inputs.DashboardWidgetLogStreamDefinitionArgs
                    {
                        Columns = 
                        {
                            "core_host",
                            "core_service",
                            "tag_source",
                        },
                        Indexes = 
                        {
                            "main",
                        },
                        MessageDisplay = "expanded-md",
                        Query = "error",
                        ShowDateColumn = true,
                        ShowMessageColumn = true,
                        Sort = new Datadog.Inputs.DashboardWidgetLogStreamDefinitionSortArgs
                        {
                            Column = "time",
                            Order = "desc",
                        },
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 40,
                        Width = 30,
                        X = 112,
                        Y = 55,
                    },
                    ManageStatusDefinition = new Datadog.Inputs.DashboardWidgetManageStatusDefinitionArgs
                    {
                        ColorPreference = "text",
                        DisplayFormat = "countsAndList",
                        HideZeroCounts = true,
                        Query = "type:metric",
                        ShowLastTriggered = false,
                        Sort = "status,asc",
                        SummaryType = "monitors",
                        Title = "Widget Title",
                        TitleAlign = "left",
                        TitleSize = "16",
                    },
                },
                new Datadog.Inputs.DashboardWidgetArgs
                {
                    Layout = new Datadog.Inputs.DashboardWidgetLayoutArgs
                    {
                        Height = 38,
                        Width = 67,
                        X = 40,
                        Y = 28,
                    },
                    TraceServiceDefinition = new Datadog.Inputs.DashboardWidgetTraceServiceDefinitionArgs
                    {
                        DisplayFormat = "three_column",
                        Env = "datad0g.com",
                        Service = "alerting-cassandra",
                        ShowBreakdown = true,
                        ShowDistribution = true,
                        ShowErrors = true,
                        ShowHits = true,
                        ShowLatency = false,
                        ShowResourceList = false,
                        SizeFormat = "large",
                        SpanName = "cassandra.query",
                        Time = new Datadog.Inputs.DashboardWidgetTraceServiceDefinitionTimeArgs
                        {
                            LiveSpan = "1h",
                        },
                        Title = "alerting-cassandra #env:datad0g.com",
                        TitleAlign = "center",
                        TitleSize = "13",
                    },
                },
            },
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-datadog/sdk/v2/go/datadog"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := datadog.NewDashboard(ctx, "freeDashboard", &datadog.DashboardArgs{
            Description: pulumi.String("Created using the Datadog provider in Terraform"),
            IsReadOnly:  pulumi.Bool(false),
            LayoutType:  pulumi.String("free"),
            TemplateVariables: datadog.DashboardTemplateVariableArray{
                &datadog.DashboardTemplateVariableArgs{
                    Default: pulumi.String("aws"),
                    Name:    pulumi.String("var_1"),
                    Prefix:  pulumi.String("host"),
                },
                &datadog.DashboardTemplateVariableArgs{
                    Default: pulumi.String("autoscaling"),
                    Name:    pulumi.String("var_2"),
                    Prefix:  pulumi.String("service_name"),
                },
            },
            TemplateVariablePresets: datadog.DashboardTemplateVariablePresetArray{
                &datadog.DashboardTemplateVariablePresetArgs{
                    Name: pulumi.String("preset_1"),
                    TemplateVariables: datadog.DashboardTemplateVariablePresetTemplateVariableArray{
                        &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{
                            Name:  pulumi.String("var_1"),
                            Value: pulumi.String("host.dc"),
                        },
                        &datadog.DashboardTemplateVariablePresetTemplateVariableArgs{
                            Name:  pulumi.String("var_2"),
                            Value: pulumi.String("my_service"),
                        },
                    },
                },
            },
            Title: pulumi.String("Free Layout Dashboard"),
            Widgets: datadog.DashboardWidgetArray{
                &datadog.DashboardWidgetArgs{
                    EventStreamDefinition: &datadog.DashboardWidgetEventStreamDefinitionArgs{
                        EventSize: pulumi.String("l"),
                        Query:     pulumi.String("*"),
                        Time: &datadog.DashboardWidgetEventStreamDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title:      pulumi.String("Widget Title"),
                        TitleAlign: pulumi.String("left"),
                        TitleSize:  pulumi.String("16"),
                    },
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(43),
                        Width:  pulumi.Float64(32),
                        X:      pulumi.Float64(5),
                        Y:      pulumi.Float64(5),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    EventTimelineDefinition: &datadog.DashboardWidgetEventTimelineDefinitionArgs{
                        Query: pulumi.String("*"),
                        Time: &datadog.DashboardWidgetEventTimelineDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title:      pulumi.String("Widget Title"),
                        TitleAlign: pulumi.String("left"),
                        TitleSize:  pulumi.String("16"),
                    },
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(9),
                        Width:  pulumi.Float64(65),
                        X:      pulumi.Float64(42),
                        Y:      pulumi.Float64(73),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    FreeTextDefinition: &datadog.DashboardWidgetFreeTextDefinitionArgs{
                        Color:     pulumi.String("#d00"),
                        FontSize:  pulumi.String("88"),
                        Text:      pulumi.String("free text content"),
                        TextAlign: pulumi.String("left"),
                    },
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(20),
                        Width:  pulumi.Float64(30),
                        X:      pulumi.Float64(42),
                        Y:      pulumi.Float64(5),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    IframeDefinition: &datadog.DashboardWidgetIframeDefinitionArgs{
                        Url: pulumi.String("http://google.com"),
                    },
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(46),
                        Width:  pulumi.Float64(39),
                        X:      pulumi.Float64(111),
                        Y:      pulumi.Float64(8),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    ImageDefinition: &datadog.DashboardWidgetImageDefinitionArgs{
                        Margin: pulumi.String("small"),
                        Sizing: pulumi.String("fit"),
                        Url:    pulumi.String("https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350"),
                    },
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(20),
                        Width:  pulumi.Float64(30),
                        X:      pulumi.Float64(77),
                        Y:      pulumi.Float64(7),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(36),
                        Width:  pulumi.Float64(32),
                        X:      pulumi.Float64(5),
                        Y:      pulumi.Float64(51),
                    },
                    LogStreamDefinition: &datadog.DashboardWidgetLogStreamDefinitionArgs{
                        Columns: pulumi.StringArray{
                            pulumi.String("core_host"),
                            pulumi.String("core_service"),
                            pulumi.String("tag_source"),
                        },
                        Indexes: pulumi.StringArray{
                            pulumi.String("main"),
                        },
                        MessageDisplay:    pulumi.String("expanded-md"),
                        Query:             pulumi.String("error"),
                        ShowDateColumn:    pulumi.Bool(true),
                        ShowMessageColumn: pulumi.Bool(true),
                        Sort: &datadog.DashboardWidgetLogStreamDefinitionSortArgs{
                            Column: pulumi.String("time"),
                            Order:  pulumi.String("desc"),
                        },
                    },
                },
                &datadog.DashboardWidgetArgs{
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(40),
                        Width:  pulumi.Float64(30),
                        X:      pulumi.Float64(112),
                        Y:      pulumi.Float64(55),
                    },
                    ManageStatusDefinition: &datadog.DashboardWidgetManageStatusDefinitionArgs{
                        ColorPreference:   pulumi.String("text"),
                        DisplayFormat:     pulumi.String("countsAndList"),
                        HideZeroCounts:    pulumi.Bool(true),
                        Query:             pulumi.String("type:metric"),
                        ShowLastTriggered: pulumi.Bool(false),
                        Sort:              pulumi.String("status,asc"),
                        SummaryType:       pulumi.String("monitors"),
                        Title:             pulumi.String("Widget Title"),
                        TitleAlign:        pulumi.String("left"),
                        TitleSize:         pulumi.String("16"),
                    },
                },
                &datadog.DashboardWidgetArgs{
                    Layout: &datadog.DashboardWidgetLayoutArgs{
                        Height: pulumi.Float64(38),
                        Width:  pulumi.Float64(67),
                        X:      pulumi.Float64(40),
                        Y:      pulumi.Float64(28),
                    },
                    TraceServiceDefinition: &datadog.DashboardWidgetTraceServiceDefinitionArgs{
                        DisplayFormat:    pulumi.String("three_column"),
                        Env:              pulumi.String("datad0g.com"),
                        Service:          pulumi.String("alerting-cassandra"),
                        ShowBreakdown:    pulumi.Bool(true),
                        ShowDistribution: pulumi.Bool(true),
                        ShowErrors:       pulumi.Bool(true),
                        ShowHits:         pulumi.Bool(true),
                        ShowLatency:      pulumi.Bool(false),
                        ShowResourceList: pulumi.Bool(false),
                        SizeFormat:       pulumi.String("large"),
                        SpanName:         pulumi.String("cassandra.query"),
                        Time: &datadog.DashboardWidgetTraceServiceDefinitionTimeArgs{
                            LiveSpan: pulumi.String("1h"),
                        },
                        Title:      pulumi.String("alerting-cassandra #env:datad0g.com"),
                        TitleAlign: pulumi.String("center"),
                        TitleSize:  pulumi.String("13"),
                    },
                },
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_datadog as datadog

free_dashboard = datadog.Dashboard("freeDashboard",
    description="Created using the Datadog provider in Terraform",
    is_read_only=False,
    layout_type="free",
    template_variables=[
        datadog.DashboardTemplateVariableArgs(
            default="aws",
            name="var_1",
            prefix="host",
        ),
        datadog.DashboardTemplateVariableArgs(
            default="autoscaling",
            name="var_2",
            prefix="service_name",
        ),
    ],
    template_variable_presets=[datadog.DashboardTemplateVariablePresetArgs(
        name="preset_1",
        template_variables=[
            {
                "name": "var_1",
                "value": "host.dc",
            },
            {
                "name": "var_2",
                "value": "my_service",
            },
        ],
    )],
    title="Free Layout Dashboard",
    widgets=[
        datadog.DashboardWidgetArgs(
            event_stream_definition=datadog.DashboardWidgetEventStreamDefinitionArgs(
                event_size="l",
                query="*",
                time=datadog.DashboardWidgetEventStreamDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                title_align="left",
                title_size="16",
            ),
            layout=datadog.DashboardWidgetLayoutArgs(
                height=43,
                width=32,
                x=5,
                y=5,
            ),
        ),
        datadog.DashboardWidgetArgs(
            event_timeline_definition=datadog.DashboardWidgetEventTimelineDefinitionArgs(
                query="*",
                time=datadog.DashboardWidgetEventTimelineDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="Widget Title",
                title_align="left",
                title_size="16",
            ),
            layout=datadog.DashboardWidgetLayoutArgs(
                height=9,
                width=65,
                x=42,
                y=73,
            ),
        ),
        datadog.DashboardWidgetArgs(
            free_text_definition=datadog.DashboardWidgetFreeTextDefinitionArgs(
                color="#d00",
                font_size="88",
                text="free text content",
                text_align="left",
            ),
            layout=datadog.DashboardWidgetLayoutArgs(
                height=20,
                width=30,
                x=42,
                y=5,
            ),
        ),
        datadog.DashboardWidgetArgs(
            iframe_definition=datadog.DashboardWidgetIframeDefinitionArgs(
                url="http://google.com",
            ),
            layout=datadog.DashboardWidgetLayoutArgs(
                height=46,
                width=39,
                x=111,
                y=8,
            ),
        ),
        datadog.DashboardWidgetArgs(
            image_definition=datadog.DashboardWidgetImageDefinitionArgs(
                margin="small",
                sizing="fit",
                url="https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350",
            ),
            layout=datadog.DashboardWidgetLayoutArgs(
                height=20,
                width=30,
                x=77,
                y=7,
            ),
        ),
        datadog.DashboardWidgetArgs(
            layout=datadog.DashboardWidgetLayoutArgs(
                height=36,
                width=32,
                x=5,
                y=51,
            ),
            log_stream_definition=datadog.DashboardWidgetLogStreamDefinitionArgs(
                columns=[
                    "core_host",
                    "core_service",
                    "tag_source",
                ],
                indexes=["main"],
                message_display="expanded-md",
                query="error",
                show_date_column=True,
                show_message_column=True,
                sort=datadog.DashboardWidgetLogStreamDefinitionSortArgs(
                    column="time",
                    order="desc",
                ),
            ),
        ),
        datadog.DashboardWidgetArgs(
            layout=datadog.DashboardWidgetLayoutArgs(
                height=40,
                width=30,
                x=112,
                y=55,
            ),
            manage_status_definition=datadog.DashboardWidgetManageStatusDefinitionArgs(
                color_preference="text",
                display_format="countsAndList",
                hide_zero_counts=True,
                query="type:metric",
                show_last_triggered=False,
                sort="status,asc",
                summary_type="monitors",
                title="Widget Title",
                title_align="left",
                title_size="16",
            ),
        ),
        datadog.DashboardWidgetArgs(
            layout=datadog.DashboardWidgetLayoutArgs(
                height=38,
                width=67,
                x=40,
                y=28,
            ),
            trace_service_definition=datadog.DashboardWidgetTraceServiceDefinitionArgs(
                display_format="three_column",
                env="datad0g.com",
                service="alerting-cassandra",
                show_breakdown=True,
                show_distribution=True,
                show_errors=True,
                show_hits=True,
                show_latency=False,
                show_resource_list=False,
                size_format="large",
                span_name="cassandra.query",
                time=datadog.DashboardWidgetTraceServiceDefinitionTimeArgs(
                    live_span="1h",
                ),
                title="alerting-cassandra #env:datad0g.com",
                title_align="center",
                title_size="13",
            ),
        ),
    ])
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";

const freeDashboard = new datadog.Dashboard("free_dashboard", {
    description: "Created using the Datadog provider in Terraform",
    isReadOnly: false,
    layoutType: "free",
    templateVariables: [
        {
            default: "aws",
            name: "var_1",
            prefix: "host",
        },
        {
            default: "autoscaling",
            name: "var_2",
            prefix: "service_name",
        },
    ],
    templateVariablePresets: [{
        name: "preset_1",
        templateVariables: [
            {
                name: "var_1",
                value: "host.dc",
            },
            {
                name: "var_2",
                value: "my_service",
            },
        ],
    }],
    title: "Free Layout Dashboard",
    widgets: [
        {
            eventStreamDefinition: {
                eventSize: "l",
                query: "*",
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                titleAlign: "left",
                titleSize: "16",
            },
            layout: {
                height: 43,
                width: 32,
                x: 5,
                y: 5,
            },
        },
        {
            eventTimelineDefinition: {
                query: "*",
                time: {
                    live_span: "1h",
                },
                title: "Widget Title",
                titleAlign: "left",
                titleSize: "16",
            },
            layout: {
                height: 9,
                width: 65,
                x: 42,
                y: 73,
            },
        },
        {
            freeTextDefinition: {
                color: "#d00",
                fontSize: "88",
                text: "free text content",
                textAlign: "left",
            },
            layout: {
                height: 20,
                width: 30,
                x: 42,
                y: 5,
            },
        },
        {
            iframeDefinition: {
                url: "http://google.com",
            },
            layout: {
                height: 46,
                width: 39,
                x: 111,
                y: 8,
            },
        },
        {
            imageDefinition: {
                margin: "small",
                sizing: "fit",
                url: "https://images.pexels.com/photos/67636/rose-blue-flower-rose-blooms-67636.jpeg?auto=compress&cs=tinysrgb&h=350",
            },
            layout: {
                height: 20,
                width: 30,
                x: 77,
                y: 7,
            },
        },
        {
            layout: {
                height: 36,
                width: 32,
                x: 5,
                y: 51,
            },
            logStreamDefinition: {
                columns: [
                    "core_host",
                    "core_service",
                    "tag_source",
                ],
                indexes: ["main"],
                messageDisplay: "expanded-md",
                query: "error",
                showDateColumn: true,
                showMessageColumn: true,
                sort: {
                    column: "time",
                    order: "desc",
                },
            },
        },
        {
            layout: {
                height: 40,
                width: 30,
                x: 112,
                y: 55,
            },
            manageStatusDefinition: {
                colorPreference: "text",
                displayFormat: "countsAndList",
                hideZeroCounts: true,
                query: "type:metric",
                showLastTriggered: false,
                sort: "status,asc",
                summaryType: "monitors",
                title: "Widget Title",
                titleAlign: "left",
                titleSize: "16",
            },
        },
        {
            layout: {
                height: 38,
                width: 67,
                x: 40,
                y: 28,
            },
            traceServiceDefinition: {
                displayFormat: "three_column",
                env: "datad0g.com",
                service: "alerting-cassandra",
                showBreakdown: true,
                showDistribution: true,
                showErrors: true,
                showHits: true,
                showLatency: false,
                showResourceList: false,
                sizeFormat: "large",
                spanName: "cassandra.query",
                time: {
                    live_span: "1h",
                },
                title: "alerting-cassandra #env:datad0g.com",
                titleAlign: "center",
                titleSize: "13",
            },
        },
    ],
});

Create a Dashboard Resource

new Dashboard(name: string, args: DashboardArgs, opts?: CustomResourceOptions);
def Dashboard(resource_name: str, opts: Optional[ResourceOptions] = None, dashboard_lists: Optional[Sequence[int]] = None, description: Optional[str] = None, is_read_only: Optional[bool] = None, layout_type: Optional[str] = None, notify_lists: Optional[Sequence[str]] = None, template_variable_presets: Optional[Sequence[DashboardTemplateVariablePresetArgs]] = None, template_variables: Optional[Sequence[DashboardTemplateVariableArgs]] = None, title: Optional[str] = None, url: Optional[str] = None, widgets: Optional[Sequence[DashboardWidgetArgs]] = None)
func NewDashboard(ctx *Context, name string, args DashboardArgs, opts ...ResourceOption) (*Dashboard, error)
public Dashboard(string name, DashboardArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DashboardArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Dashboard Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Dashboard resource accepts the following input properties:

LayoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

Title string

The title of the dashboard.

Widgets List<DashboardWidgetArgs>

The list of widgets to display on the dashboard.

DashboardLists List<int>

The list of dashboard lists this dashboard belongs to.

Description string

The description of the dashboard.

IsReadOnly bool

Whether this dashboard is read-only.

NotifyLists List<string>

The list of handles of users to notify when changes are made to this dashboard.

TemplateVariablePresets List<DashboardTemplateVariablePresetArgs>

The list of selectable template variable presets for this dashboard.

TemplateVariables List<DashboardTemplateVariableArgs>

The list of template variables for this dashboard.

Url string

The URL of the dashboard.

LayoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

Title string

The title of the dashboard.

Widgets []DashboardWidget

The list of widgets to display on the dashboard.

DashboardLists []int

The list of dashboard lists this dashboard belongs to.

Description string

The description of the dashboard.

IsReadOnly bool

Whether this dashboard is read-only.

NotifyLists []string

The list of handles of users to notify when changes are made to this dashboard.

TemplateVariablePresets []DashboardTemplateVariablePreset

The list of selectable template variable presets for this dashboard.

TemplateVariables []DashboardTemplateVariable

The list of template variables for this dashboard.

Url string

The URL of the dashboard.

layoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

title string

The title of the dashboard.

widgets DashboardWidget[]

The list of widgets to display on the dashboard.

dashboardLists number[]

The list of dashboard lists this dashboard belongs to.

description string

The description of the dashboard.

isReadOnly boolean

Whether this dashboard is read-only.

notifyLists string[]

The list of handles of users to notify when changes are made to this dashboard.

templateVariablePresets DashboardTemplateVariablePreset[]

The list of selectable template variable presets for this dashboard.

templateVariables DashboardTemplateVariable[]

The list of template variables for this dashboard.

url string

The URL of the dashboard.

layout_type str

The layout type of the dashboard, either ‘free’ or ‘ordered’.

title str

The title of the dashboard.

widgets Sequence[DashboardWidgetArgs]

The list of widgets to display on the dashboard.

dashboard_lists Sequence[int]

The list of dashboard lists this dashboard belongs to.

description str

The description of the dashboard.

is_read_only bool

Whether this dashboard is read-only.

notify_lists Sequence[str]

The list of handles of users to notify when changes are made to this dashboard.

template_variable_presets Sequence[DashboardTemplateVariablePresetArgs]

The list of selectable template variable presets for this dashboard.

template_variables Sequence[DashboardTemplateVariableArgs]

The list of template variables for this dashboard.

url str

The URL of the dashboard.

Outputs

All input properties are implicitly available as output properties. Additionally, the Dashboard resource produces the following output properties:

DashboardListsRemoveds List<int>

The list of dashboard lists this dashboard should be removed from. Internal only.

Id string
The provider-assigned unique ID for this managed resource.
DashboardListsRemoveds []int

The list of dashboard lists this dashboard should be removed from. Internal only.

Id string
The provider-assigned unique ID for this managed resource.
dashboardListsRemoveds number[]

The list of dashboard lists this dashboard should be removed from. Internal only.

id string
The provider-assigned unique ID for this managed resource.
dashboard_lists_removeds Sequence[int]

The list of dashboard lists this dashboard should be removed from. Internal only.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Dashboard Resource

Get an existing Dashboard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DashboardState, opts?: CustomResourceOptions): Dashboard
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, dashboard_lists: Optional[Sequence[int]] = None, dashboard_lists_removeds: Optional[Sequence[int]] = None, description: Optional[str] = None, is_read_only: Optional[bool] = None, layout_type: Optional[str] = None, notify_lists: Optional[Sequence[str]] = None, template_variable_presets: Optional[Sequence[DashboardTemplateVariablePresetArgs]] = None, template_variables: Optional[Sequence[DashboardTemplateVariableArgs]] = None, title: Optional[str] = None, url: Optional[str] = None, widgets: Optional[Sequence[DashboardWidgetArgs]] = None) -> Dashboard
func GetDashboard(ctx *Context, name string, id IDInput, state *DashboardState, opts ...ResourceOption) (*Dashboard, error)
public static Dashboard Get(string name, Input<string> id, DashboardState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DashboardLists List<int>

The list of dashboard lists this dashboard belongs to.

DashboardListsRemoveds List<int>

The list of dashboard lists this dashboard should be removed from. Internal only.

Description string

The description of the dashboard.

IsReadOnly bool

Whether this dashboard is read-only.

LayoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

NotifyLists List<string>

The list of handles of users to notify when changes are made to this dashboard.

TemplateVariablePresets List<DashboardTemplateVariablePresetArgs>

The list of selectable template variable presets for this dashboard.

TemplateVariables List<DashboardTemplateVariableArgs>

The list of template variables for this dashboard.

Title string

The title of the dashboard.

Url string

The URL of the dashboard.

Widgets List<DashboardWidgetArgs>

The list of widgets to display on the dashboard.

DashboardLists []int

The list of dashboard lists this dashboard belongs to.

DashboardListsRemoveds []int

The list of dashboard lists this dashboard should be removed from. Internal only.

Description string

The description of the dashboard.

IsReadOnly bool

Whether this dashboard is read-only.

LayoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

NotifyLists []string

The list of handles of users to notify when changes are made to this dashboard.

TemplateVariablePresets []DashboardTemplateVariablePreset

The list of selectable template variable presets for this dashboard.

TemplateVariables []DashboardTemplateVariable

The list of template variables for this dashboard.

Title string

The title of the dashboard.

Url string

The URL of the dashboard.

Widgets []DashboardWidget

The list of widgets to display on the dashboard.

dashboardLists number[]

The list of dashboard lists this dashboard belongs to.

dashboardListsRemoveds number[]

The list of dashboard lists this dashboard should be removed from. Internal only.

description string

The description of the dashboard.

isReadOnly boolean

Whether this dashboard is read-only.

layoutType string

The layout type of the dashboard, either ‘free’ or ‘ordered’.

notifyLists string[]

The list of handles of users to notify when changes are made to this dashboard.

templateVariablePresets DashboardTemplateVariablePreset[]

The list of selectable template variable presets for this dashboard.

templateVariables DashboardTemplateVariable[]

The list of template variables for this dashboard.

title string

The title of the dashboard.

url string

The URL of the dashboard.

widgets DashboardWidget[]

The list of widgets to display on the dashboard.

dashboard_lists Sequence[int]

The list of dashboard lists this dashboard belongs to.

dashboard_lists_removeds Sequence[int]

The list of dashboard lists this dashboard should be removed from. Internal only.

description str

The description of the dashboard.

is_read_only bool

Whether this dashboard is read-only.

layout_type str

The layout type of the dashboard, either ‘free’ or ‘ordered’.

notify_lists Sequence[str]

The list of handles of users to notify when changes are made to this dashboard.

template_variable_presets Sequence[DashboardTemplateVariablePresetArgs]

The list of selectable template variable presets for this dashboard.

template_variables Sequence[DashboardTemplateVariableArgs]

The list of template variables for this dashboard.

title str

The title of the dashboard.

url str

The URL of the dashboard.

widgets Sequence[DashboardWidgetArgs]

The list of widgets to display on the dashboard.

Supporting Types

DashboardTemplateVariable

Name string
Default string
Prefix string
Name string
Default string
Prefix string
name string
default string
prefix string
name str
default str
prefix str

DashboardTemplateVariablePreset

DashboardTemplateVariablePresetTemplateVariable

Name string
Value string
Name string
Value string
name string
value string
name str
value str

DashboardWidget

AlertGraphDefinition DashboardWidgetAlertGraphDefinitionArgs
AlertValueDefinition DashboardWidgetAlertValueDefinitionArgs
ChangeDefinition DashboardWidgetChangeDefinitionArgs
CheckStatusDefinition DashboardWidgetCheckStatusDefinitionArgs
DistributionDefinition DashboardWidgetDistributionDefinitionArgs
EventStreamDefinition DashboardWidgetEventStreamDefinitionArgs
EventTimelineDefinition DashboardWidgetEventTimelineDefinitionArgs
FreeTextDefinition DashboardWidgetFreeTextDefinitionArgs
GroupDefinition DashboardWidgetGroupDefinitionArgs
HeatmapDefinition DashboardWidgetHeatmapDefinitionArgs
HostmapDefinition DashboardWidgetHostmapDefinitionArgs
Id int
IframeDefinition DashboardWidgetIframeDefinitionArgs
ImageDefinition DashboardWidgetImageDefinitionArgs
Layout DashboardWidgetLayoutArgs
LogStreamDefinition DashboardWidgetLogStreamDefinitionArgs
ManageStatusDefinition DashboardWidgetManageStatusDefinitionArgs
NoteDefinition DashboardWidgetNoteDefinitionArgs
QueryTableDefinition DashboardWidgetQueryTableDefinitionArgs
QueryValueDefinition DashboardWidgetQueryValueDefinitionArgs
ScatterplotDefinition DashboardWidgetScatterplotDefinitionArgs
ServiceLevelObjectiveDefinition DashboardWidgetServiceLevelObjectiveDefinitionArgs
ServicemapDefinition DashboardWidgetServicemapDefinitionArgs
TimeseriesDefinition DashboardWidgetTimeseriesDefinitionArgs
ToplistDefinition DashboardWidgetToplistDefinitionArgs
TraceServiceDefinition DashboardWidgetTraceServiceDefinitionArgs
AlertGraphDefinition DashboardWidgetAlertGraphDefinition
AlertValueDefinition DashboardWidgetAlertValueDefinition
ChangeDefinition DashboardWidgetChangeDefinition
CheckStatusDefinition DashboardWidgetCheckStatusDefinition
DistributionDefinition DashboardWidgetDistributionDefinition
EventStreamDefinition DashboardWidgetEventStreamDefinition
EventTimelineDefinition DashboardWidgetEventTimelineDefinition
FreeTextDefinition DashboardWidgetFreeTextDefinition
GroupDefinition DashboardWidgetGroupDefinition
HeatmapDefinition DashboardWidgetHeatmapDefinition
HostmapDefinition DashboardWidgetHostmapDefinition
Id int
IframeDefinition DashboardWidgetIframeDefinition
ImageDefinition DashboardWidgetImageDefinition
Layout DashboardWidgetLayout
LogStreamDefinition DashboardWidgetLogStreamDefinition
ManageStatusDefinition DashboardWidgetManageStatusDefinition
NoteDefinition DashboardWidgetNoteDefinition
QueryTableDefinition DashboardWidgetQueryTableDefinition
QueryValueDefinition DashboardWidgetQueryValueDefinition
ScatterplotDefinition DashboardWidgetScatterplotDefinition
ServiceLevelObjectiveDefinition DashboardWidgetServiceLevelObjectiveDefinition
ServicemapDefinition DashboardWidgetServicemapDefinition
TimeseriesDefinition DashboardWidgetTimeseriesDefinition
ToplistDefinition DashboardWidgetToplistDefinition
TraceServiceDefinition DashboardWidgetTraceServiceDefinition
alertGraphDefinition DashboardWidgetAlertGraphDefinition
alertValueDefinition DashboardWidgetAlertValueDefinition
changeDefinition DashboardWidgetChangeDefinition
checkStatusDefinition DashboardWidgetCheckStatusDefinition
distributionDefinition DashboardWidgetDistributionDefinition
eventStreamDefinition DashboardWidgetEventStreamDefinition
eventTimelineDefinition DashboardWidgetEventTimelineDefinition
freeTextDefinition DashboardWidgetFreeTextDefinition
groupDefinition DashboardWidgetGroupDefinition
heatmapDefinition DashboardWidgetHeatmapDefinition
hostmapDefinition DashboardWidgetHostmapDefinition
id number
iframeDefinition DashboardWidgetIframeDefinition
imageDefinition DashboardWidgetImageDefinition
layout DashboardWidgetLayout
logStreamDefinition DashboardWidgetLogStreamDefinition
manageStatusDefinition DashboardWidgetManageStatusDefinition
noteDefinition DashboardWidgetNoteDefinition
queryTableDefinition DashboardWidgetQueryTableDefinition
queryValueDefinition DashboardWidgetQueryValueDefinition
scatterplotDefinition DashboardWidgetScatterplotDefinition
serviceLevelObjectiveDefinition DashboardWidgetServiceLevelObjectiveDefinition
servicemapDefinition DashboardWidgetServicemapDefinition
timeseriesDefinition DashboardWidgetTimeseriesDefinition
toplistDefinition DashboardWidgetToplistDefinition
traceServiceDefinition DashboardWidgetTraceServiceDefinition
alert_graph_definition DashboardWidgetAlertGraphDefinitionArgs
alert_value_definition DashboardWidgetAlertValueDefinitionArgs
change_definition DashboardWidgetChangeDefinitionArgs
check_status_definition DashboardWidgetCheckStatusDefinitionArgs
distribution_definition DashboardWidgetDistributionDefinitionArgs
event_stream_definition DashboardWidgetEventStreamDefinitionArgs
event_timeline_definition DashboardWidgetEventTimelineDefinitionArgs
free_text_definition DashboardWidgetFreeTextDefinitionArgs
group_definition DashboardWidgetGroupDefinitionArgs
heatmap_definition DashboardWidgetHeatmapDefinitionArgs
hostmap_definition DashboardWidgetHostmapDefinitionArgs
id int
iframe_definition DashboardWidgetIframeDefinitionArgs
image_definition DashboardWidgetImageDefinitionArgs
layout DashboardWidgetLayoutArgs
log_stream_definition DashboardWidgetLogStreamDefinitionArgs
manage_status_definition DashboardWidgetManageStatusDefinitionArgs
note_definition DashboardWidgetNoteDefinitionArgs
query_table_definition DashboardWidgetQueryTableDefinitionArgs
query_value_definition DashboardWidgetQueryValueDefinitionArgs
scatterplot_definition DashboardWidgetScatterplotDefinitionArgs
service_level_objective_definition DashboardWidgetServiceLevelObjectiveDefinitionArgs
servicemap_definition DashboardWidgetServicemapDefinitionArgs
timeseries_definition DashboardWidgetTimeseriesDefinitionArgs
toplist_definition DashboardWidgetToplistDefinitionArgs
trace_service_definition DashboardWidgetTraceServiceDefinitionArgs

DashboardWidgetAlertGraphDefinition

DashboardWidgetAlertGraphDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetAlertValueDefinition

AlertId string
Precision int
TextAlign string
Title string
TitleAlign string
TitleSize string
Unit string
AlertId string
Precision int
TextAlign string
Title string
TitleAlign string
TitleSize string
Unit string
alertId string
precision number
textAlign string
title string
titleAlign string
titleSize string
unit string

DashboardWidgetChangeDefinition

Label string
Link string
Label string
Link string
label string
link string
label str
link str

DashboardWidgetChangeDefinitionRequest

DashboardWidgetChangeDefinitionRequestApmQuery

DashboardWidgetChangeDefinitionRequestApmQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestApmQueryGroupBy

DashboardWidgetChangeDefinitionRequestApmQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetChangeDefinitionRequestApmQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestApmQuerySearch

Query string
Query string
query string
query str

DashboardWidgetChangeDefinitionRequestLogQuery

DashboardWidgetChangeDefinitionRequestLogQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestLogQueryGroupBy

DashboardWidgetChangeDefinitionRequestLogQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetChangeDefinitionRequestLogQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestLogQuerySearch

Query string
Query string
query string
query str

DashboardWidgetChangeDefinitionRequestProcessQuery

Metric string
FilterBies List<string>
Limit int
SearchBy string
Metric string
FilterBies []string
Limit int
SearchBy string
metric string
filterBies string[]
limit number
searchBy string
metric str
filter_bies Sequence[str]
limit int
search_by str

DashboardWidgetChangeDefinitionRequestRumQuery

DashboardWidgetChangeDefinitionRequestRumQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestRumQueryGroupBy

DashboardWidgetChangeDefinitionRequestRumQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetChangeDefinitionRequestRumQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestRumQuerySearch

Query string
Query string
query string
query str

DashboardWidgetChangeDefinitionRequestSecurityQuery

DashboardWidgetChangeDefinitionRequestSecurityQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBy

DashboardWidgetChangeDefinitionRequestSecurityQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetChangeDefinitionRequestSecurityQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetChangeDefinitionRequestSecurityQuerySearch

Query string
Query string
query string
query str

DashboardWidgetChangeDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetCheckStatusDefinition

Check string
Grouping string
Group string
GroupBies List<string>
Tags List<string>
Time DashboardWidgetCheckStatusDefinitionTimeArgs
Title string
TitleAlign string
TitleSize string

DashboardWidgetCheckStatusDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetDistributionDefinition

DashboardWidgetDistributionDefinitionRequest

DashboardWidgetDistributionDefinitionRequestApmQuery

DashboardWidgetDistributionDefinitionRequestApmQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestApmQueryGroupBy

DashboardWidgetDistributionDefinitionRequestApmQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetDistributionDefinitionRequestApmQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestApmQuerySearch

Query string
Query string
query string
query str

DashboardWidgetDistributionDefinitionRequestLogQuery

DashboardWidgetDistributionDefinitionRequestLogQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestLogQueryGroupBy

DashboardWidgetDistributionDefinitionRequestLogQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetDistributionDefinitionRequestLogQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestLogQuerySearch

Query string
Query string
query string
query str

DashboardWidgetDistributionDefinitionRequestProcessQuery

Metric string
FilterBies List<string>
Limit int
SearchBy string
Metric string
FilterBies []string
Limit int
SearchBy string
metric string
filterBies string[]
limit number
searchBy string
metric str
filter_bies Sequence[str]
limit int
search_by str

DashboardWidgetDistributionDefinitionRequestRumQuery

DashboardWidgetDistributionDefinitionRequestRumQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestRumQueryGroupBy

DashboardWidgetDistributionDefinitionRequestRumQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetDistributionDefinitionRequestRumQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestRumQuerySearch

Query string
Query string
query string
query str

DashboardWidgetDistributionDefinitionRequestSecurityQuery

DashboardWidgetDistributionDefinitionRequestSecurityQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBy

DashboardWidgetDistributionDefinitionRequestSecurityQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetDistributionDefinitionRequestSecurityQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetDistributionDefinitionRequestSecurityQuerySearch

Query string
Query string
query string
query str

DashboardWidgetDistributionDefinitionRequestStyle

Palette string
Palette string
palette string

DashboardWidgetDistributionDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetEventStreamDefinition

DashboardWidgetEventStreamDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetEventTimelineDefinition

DashboardWidgetEventTimelineDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetFreeTextDefinition

Text string
Color string
FontSize string
TextAlign string
Text string
Color string
FontSize string
TextAlign string
text string
color string
fontSize string
textAlign string

DashboardWidgetGroupDefinition

DashboardWidgetGroupDefinitionWidget

AlertGraphDefinition DashboardWidgetGroupDefinitionWidgetAlertGraphDefinitionArgs
AlertValueDefinition DashboardWidgetGroupDefinitionWidgetAlertValueDefinitionArgs
ChangeDefinition DashboardWidgetGroupDefinitionWidgetChangeDefinitionArgs
CheckStatusDefinition DashboardWidgetGroupDefinitionWidgetCheckStatusDefinitionArgs
DistributionDefinition DashboardWidgetGroupDefinitionWidgetDistributionDefinitionArgs
EventStreamDefinition DashboardWidgetGroupDefinitionWidgetEventStreamDefinitionArgs
EventTimelineDefinition DashboardWidgetGroupDefinitionWidgetEventTimelineDefinitionArgs
FreeTextDefinition DashboardWidgetGroupDefinitionWidgetFreeTextDefinitionArgs
HeatmapDefinition DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionArgs
HostmapDefinition DashboardWidgetGroupDefinitionWidgetHostmapDefinitionArgs
Id int
IframeDefinition DashboardWidgetGroupDefinitionWidgetIframeDefinitionArgs
ImageDefinition DashboardWidgetGroupDefinitionWidgetImageDefinitionArgs
Layout DashboardWidgetGroupDefinitionWidgetLayoutArgs
LogStreamDefinition DashboardWidgetGroupDefinitionWidgetLogStreamDefinitionArgs
ManageStatusDefinition DashboardWidgetGroupDefinitionWidgetManageStatusDefinitionArgs
NoteDefinition DashboardWidgetGroupDefinitionWidgetNoteDefinitionArgs
QueryTableDefinition DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionArgs
QueryValueDefinition DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionArgs
ScatterplotDefinition DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionArgs
ServiceLevelObjectiveDefinition DashboardWidgetGroupDefinitionWidgetServiceLevelObjectiveDefinitionArgs
ServicemapDefinition DashboardWidgetGroupDefinitionWidgetServicemapDefinitionArgs
TimeseriesDefinition DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionArgs
ToplistDefinition DashboardWidgetGroupDefinitionWidgetToplistDefinitionArgs
TraceServiceDefinition DashboardWidgetGroupDefinitionWidgetTraceServiceDefinitionArgs
AlertGraphDefinition DashboardWidgetGroupDefinitionWidgetAlertGraphDefinition
AlertValueDefinition DashboardWidgetGroupDefinitionWidgetAlertValueDefinition
ChangeDefinition DashboardWidgetGroupDefinitionWidgetChangeDefinition
CheckStatusDefinition DashboardWidgetGroupDefinitionWidgetCheckStatusDefinition
DistributionDefinition DashboardWidgetGroupDefinitionWidgetDistributionDefinition
EventStreamDefinition DashboardWidgetGroupDefinitionWidgetEventStreamDefinition
EventTimelineDefinition DashboardWidgetGroupDefinitionWidgetEventTimelineDefinition
FreeTextDefinition DashboardWidgetGroupDefinitionWidgetFreeTextDefinition
HeatmapDefinition DashboardWidgetGroupDefinitionWidgetHeatmapDefinition
HostmapDefinition DashboardWidgetGroupDefinitionWidgetHostmapDefinition
Id int
IframeDefinition DashboardWidgetGroupDefinitionWidgetIframeDefinition
ImageDefinition DashboardWidgetGroupDefinitionWidgetImageDefinition
Layout DashboardWidgetGroupDefinitionWidgetLayout
LogStreamDefinition DashboardWidgetGroupDefinitionWidgetLogStreamDefinition
ManageStatusDefinition DashboardWidgetGroupDefinitionWidgetManageStatusDefinition
NoteDefinition DashboardWidgetGroupDefinitionWidgetNoteDefinition
QueryTableDefinition DashboardWidgetGroupDefinitionWidgetQueryTableDefinition
QueryValueDefinition DashboardWidgetGroupDefinitionWidgetQueryValueDefinition
ScatterplotDefinition DashboardWidgetGroupDefinitionWidgetScatterplotDefinition
ServiceLevelObjectiveDefinition DashboardWidgetGroupDefinitionWidgetServiceLevelObjectiveDefinition
ServicemapDefinition DashboardWidgetGroupDefinitionWidgetServicemapDefinition
TimeseriesDefinition DashboardWidgetGroupDefinitionWidgetTimeseriesDefinition
ToplistDefinition DashboardWidgetGroupDefinitionWidgetToplistDefinition
TraceServiceDefinition DashboardWidgetGroupDefinitionWidgetTraceServiceDefinition
alertGraphDefinition DashboardWidgetGroupDefinitionWidgetAlertGraphDefinition
alertValueDefinition DashboardWidgetGroupDefinitionWidgetAlertValueDefinition
changeDefinition DashboardWidgetGroupDefinitionWidgetChangeDefinition
checkStatusDefinition DashboardWidgetGroupDefinitionWidgetCheckStatusDefinition
distributionDefinition DashboardWidgetGroupDefinitionWidgetDistributionDefinition
eventStreamDefinition DashboardWidgetGroupDefinitionWidgetEventStreamDefinition
eventTimelineDefinition DashboardWidgetGroupDefinitionWidgetEventTimelineDefinition
freeTextDefinition DashboardWidgetGroupDefinitionWidgetFreeTextDefinition
heatmapDefinition DashboardWidgetGroupDefinitionWidgetHeatmapDefinition
hostmapDefinition DashboardWidgetGroupDefinitionWidgetHostmapDefinition
id number
iframeDefinition DashboardWidgetGroupDefinitionWidgetIframeDefinition
imageDefinition DashboardWidgetGroupDefinitionWidgetImageDefinition
layout DashboardWidgetGroupDefinitionWidgetLayout
logStreamDefinition DashboardWidgetGroupDefinitionWidgetLogStreamDefinition
manageStatusDefinition DashboardWidgetGroupDefinitionWidgetManageStatusDefinition
noteDefinition DashboardWidgetGroupDefinitionWidgetNoteDefinition
queryTableDefinition DashboardWidgetGroupDefinitionWidgetQueryTableDefinition
queryValueDefinition DashboardWidgetGroupDefinitionWidgetQueryValueDefinition
scatterplotDefinition DashboardWidgetGroupDefinitionWidgetScatterplotDefinition
serviceLevelObjectiveDefinition DashboardWidgetGroupDefinitionWidgetServiceLevelObjectiveDefinition
servicemapDefinition DashboardWidgetGroupDefinitionWidgetServicemapDefinition
timeseriesDefinition DashboardWidgetGroupDefinitionWidgetTimeseriesDefinition
toplistDefinition DashboardWidgetGroupDefinitionWidgetToplistDefinition
traceServiceDefinition DashboardWidgetGroupDefinitionWidgetTraceServiceDefinition
alert_graph_definition DashboardWidgetGroupDefinitionWidgetAlertGraphDefinitionArgs
alert_value_definition DashboardWidgetGroupDefinitionWidgetAlertValueDefinitionArgs
change_definition DashboardWidgetGroupDefinitionWidgetChangeDefinitionArgs
check_status_definition DashboardWidgetGroupDefinitionWidgetCheckStatusDefinitionArgs
distribution_definition DashboardWidgetGroupDefinitionWidgetDistributionDefinitionArgs
event_stream_definition DashboardWidgetGroupDefinitionWidgetEventStreamDefinitionArgs
event_timeline_definition DashboardWidgetGroupDefinitionWidgetEventTimelineDefinitionArgs
free_text_definition DashboardWidgetGroupDefinitionWidgetFreeTextDefinitionArgs
heatmap_definition DashboardWidgetGroupDefinitionWidgetHeatmapDefinitionArgs
hostmap_definition DashboardWidgetGroupDefinitionWidgetHostmapDefinitionArgs
id int
iframe_definition DashboardWidgetGroupDefinitionWidgetIframeDefinitionArgs
image_definition DashboardWidgetGroupDefinitionWidgetImageDefinitionArgs
layout DashboardWidgetGroupDefinitionWidgetLayoutArgs
log_stream_definition DashboardWidgetGroupDefinitionWidgetLogStreamDefinitionArgs
manage_status_definition DashboardWidgetGroupDefinitionWidgetManageStatusDefinitionArgs
note_definition DashboardWidgetGroupDefinitionWidgetNoteDefinitionArgs
query_table_definition DashboardWidgetGroupDefinitionWidgetQueryTableDefinitionArgs
query_value_definition DashboardWidgetGroupDefinitionWidgetQueryValueDefinitionArgs
scatterplot_definition DashboardWidgetGroupDefinitionWidgetScatterplotDefinitionArgs
service_level_objective_definition DashboardWidgetGroupDefinitionWidgetServiceLevelObjectiveDefinitionArgs
servicemap_definition DashboardWidgetGroupDefinitionWidgetServicemapDefinitionArgs
timeseries_definition DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionArgs
toplist_definition DashboardWidgetGroupDefinitionWidgetToplistDefinitionArgs
trace_service_definition DashboardWidgetGroupDefinitionWidgetTraceServiceDefinitionArgs

DashboardWidgetGroupDefinitionWidgetAlertGraphDefinition

DashboardWidgetGroupDefinitionWidgetAlertGraphDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetGroupDefinitionWidgetAlertValueDefinition

AlertId string
Precision int
TextAlign string
Title string
TitleAlign string
TitleSize string
Unit string
AlertId string
Precision int
TextAlign string
Title string
TitleAlign string
TitleSize string
Unit string
alertId string
precision number
textAlign string
title string
titleAlign string
titleSize string
unit string

DashboardWidgetGroupDefinitionWidgetChangeDefinition

Label string
Link string
Label string
Link string
label string
link string
label str
link str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequest

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQuery

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupBy

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestApmQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQuery

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupBy

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestLogQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestProcessQuery

Metric string
FilterBies List<string>
Limit int
SearchBy string
Metric string
FilterBies []string
Limit int
SearchBy string
metric string
filterBies string[]
limit number
searchBy string
metric str
filter_bies Sequence[str]
limit int
search_by str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQuery

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupBy

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestRumQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQuery

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupBy

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetChangeDefinitionRequestSecurityQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetChangeDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetGroupDefinitionWidgetCheckStatusDefinition

DashboardWidgetGroupDefinitionWidgetCheckStatusDefinitionTime

LiveSpan string
LiveSpan string
liveSpan string

DashboardWidgetGroupDefinitionWidgetDistributionDefinition

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequest

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQuery

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupBy

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestApmQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQuery

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupBy

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryGroupBySort

Aggregation string
Order string
Facet string
Aggregation string
Order string
Facet string
aggregation string
order string
facet string

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQueryMultiCompute

Aggregation string
Facet string
Interval int
Aggregation string
Facet string
Interval int
aggregation string
facet string
interval number

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestLogQuerySearch

Query string
Query string
query string
query str

DashboardWidgetGroupDefinitionWidgetDistributionDefinitionRequestProcessQuery