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

TimeChart

Provides a SignalFx time chart resource. This can be used to create and manage the different types of time charts.

Time charts display data points over a period of time.

Example Usage

using Pulumi;
using SignalFx = Pulumi.SignalFx;

class MyStack : Stack
{
    public MyStack()
    {
        var mychart0 = new SignalFx.TimeChart("mychart0", new SignalFx.TimeChartArgs
        {
            AxisLeft = new SignalFx.Inputs.TimeChartAxisLeftArgs
            {
                Label = "CPU Total Idle",
                LowWatermark = 1000,
            },
            LegendOptionsFields = 
            {
                new SignalFx.Inputs.TimeChartLegendOptionsFieldArgs
                {
                    Enabled = false,
                    Property = "collector",
                },
                new SignalFx.Inputs.TimeChartLegendOptionsFieldArgs
                {
                    Enabled = false,
                    Property = "hostname",
                },
            },
            PlotType = "LineChart",
            ProgramText = @"data(""cpu.total.idle"").publish(label=""CPU Idle"")

",
            ShowDataMarkers = true,
            TimeRange = 3600,
            VizOptions = 
            {
                new SignalFx.Inputs.TimeChartVizOptionArgs
                {
                    Axis = "left",
                    Color = "orange",
                    Label = "CPU Idle",
                },
            },
        });
    }

}
package main

import (
    "fmt"

    "github.com/pulumi/pulumi-signalfx/sdk/v4/go/signalfx"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := signalfx.NewTimeChart(ctx, "mychart0", &signalfx.TimeChartArgs{
            AxisLeft: &signalfx.TimeChartAxisLeftArgs{
                Label:        pulumi.String("CPU Total Idle"),
                LowWatermark: pulumi.Float64(1000),
            },
            LegendOptionsFields: signalfx.TimeChartLegendOptionsFieldArray{
                &signalfx.TimeChartLegendOptionsFieldArgs{
                    Enabled:  pulumi.Bool(false),
                    Property: pulumi.String("collector"),
                },
                &signalfx.TimeChartLegendOptionsFieldArgs{
                    Enabled:  pulumi.Bool(false),
                    Property: pulumi.String("hostname"),
                },
            },
            PlotType:        pulumi.String("LineChart"),
            ProgramText:     pulumi.String(fmt.Sprintf("%v%v", "data(\"cpu.total.idle\").publish(label=\"CPU Idle\")\n", "\n")),
            ShowDataMarkers: pulumi.Bool(true),
            TimeRange:       pulumi.Int(3600),
            VizOptions: signalfx.TimeChartVizOptionArray{
                &signalfx.TimeChartVizOptionArgs{
                    Axis:  pulumi.String("left"),
                    Color: pulumi.String("orange"),
                    Label: pulumi.String("CPU Idle"),
                },
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_signalfx as signalfx

mychart0 = signalfx.TimeChart("mychart0",
    axis_left=signalfx.TimeChartAxisLeftArgs(
        label="CPU Total Idle",
        low_watermark=1000,
    ),
    legend_options_fields=[
        signalfx.TimeChartLegendOptionsFieldArgs(
            enabled=False,
            property="collector",
        ),
        signalfx.TimeChartLegendOptionsFieldArgs(
            enabled=False,
            property="hostname",
        ),
    ],
    plot_type="LineChart",
    program_text="""data("cpu.total.idle").publish(label="CPU Idle")

""",
    show_data_markers=True,
    time_range=3600,
    viz_options=[signalfx.TimeChartVizOptionArgs(
        axis="left",
        color="orange",
        label="CPU Idle",
    )])
import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const mychart0 = new signalfx.TimeChart("mychart0", {
    axisLeft: {
        label: "CPU Total Idle",
        lowWatermark: 1000,
    },
    legendOptionsFields: [
        {
            enabled: false,
            property: "collector",
        },
        {
            enabled: false,
            property: "hostname",
        },
    ],
    plotType: "LineChart",
    programText: "data(\"cpu.total.idle\").publish(label=\"CPU Idle\")\n",
    showDataMarkers: true,
    timeRange: 3600,
    vizOptions: [{
        axis: "left",
        color: "orange",
        label: "CPU Idle",
    }],
});

Create a TimeChart Resource

new TimeChart(name: string, args: TimeChartArgs, opts?: CustomResourceOptions);
def TimeChart(resource_name: str, opts: Optional[ResourceOptions] = None, axes_include_zero: Optional[bool] = None, axes_precision: Optional[int] = None, axis_left: Optional[TimeChartAxisLeftArgs] = None, axis_right: Optional[TimeChartAxisRightArgs] = None, color_by: Optional[str] = None, description: Optional[str] = None, disable_sampling: Optional[bool] = None, end_time: Optional[int] = None, event_options: Optional[Sequence[TimeChartEventOptionArgs]] = None, histogram_options: Optional[Sequence[TimeChartHistogramOptionArgs]] = None, legend_fields_to_hides: Optional[Sequence[str]] = None, legend_options_fields: Optional[Sequence[TimeChartLegendOptionsFieldArgs]] = None, max_delay: Optional[int] = None, minimum_resolution: Optional[int] = None, name: Optional[str] = None, on_chart_legend_dimension: Optional[str] = None, plot_type: Optional[str] = None, program_text: Optional[str] = None, show_data_markers: Optional[bool] = None, show_event_lines: Optional[bool] = None, stacked: Optional[bool] = None, start_time: Optional[int] = None, tags: Optional[Sequence[str]] = None, time_range: Optional[int] = None, timezone: Optional[str] = None, unit_prefix: Optional[str] = None, viz_options: Optional[Sequence[TimeChartVizOptionArgs]] = None)
func NewTimeChart(ctx *Context, name string, args TimeChartArgs, opts ...ResourceOption) (*TimeChart, error)
public TimeChart(string name, TimeChartArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args TimeChartArgs
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 TimeChartArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TimeChartArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

TimeChart Resource Properties

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

Inputs

The TimeChart resource accepts the following input properties:

ProgramText string

Signalflow program text for the chart. More info in the SignalFx docs.

AxesIncludeZero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

AxesPrecision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

AxisLeft Pulumi.SignalFx.Inputs.TimeChartAxisLeftArgs

Set of axis options.

AxisRight Pulumi.SignalFx.Inputs.TimeChartAxisRightArgs

Set of axis options.

ColorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

Description string

Description of the chart.

DisableSampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

EndTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

EventOptions List<Pulumi.SignalFx.Inputs.TimeChartEventOptionArgs>

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

HistogramOptions List<Pulumi.SignalFx.Inputs.TimeChartHistogramOptionArgs>

Only used when plot_type is "Histogram". Histogram specific options.

LegendFieldsToHides List<string>

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

LegendOptionsFields List<Pulumi.SignalFx.Inputs.TimeChartLegendOptionsFieldArgs>

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

MaxDelay int

How long (in seconds) to wait for late datapoints.

MinimumResolution int

The minimum resolution (in seconds) to use for computing the underlying program.

Name string

Name of the chart.

OnChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ShowDataMarkers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

ShowEventLines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

Stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

StartTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

Tags List<string>

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

TimeRange int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

Timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

UnitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

VizOptions List<Pulumi.SignalFx.Inputs.TimeChartVizOptionArgs>

Plot-level customization options, associated with a publish statement.

ProgramText string

Signalflow program text for the chart. More info in the SignalFx docs.

AxesIncludeZero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

AxesPrecision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

AxisLeft TimeChartAxisLeft

Set of axis options.

AxisRight TimeChartAxisRight

Set of axis options.

ColorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

Description string

Description of the chart.

DisableSampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

EndTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

EventOptions []TimeChartEventOption

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

HistogramOptions []TimeChartHistogramOption

Only used when plot_type is "Histogram". Histogram specific options.

LegendFieldsToHides []string

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

LegendOptionsFields []TimeChartLegendOptionsField

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

MaxDelay int

How long (in seconds) to wait for late datapoints.

MinimumResolution int

The minimum resolution (in seconds) to use for computing the underlying program.

Name string

Name of the chart.

OnChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ShowDataMarkers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

ShowEventLines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

Stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

StartTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

Tags []string

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

TimeRange int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

Timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

UnitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

VizOptions []TimeChartVizOption

Plot-level customization options, associated with a publish statement.

programText string

Signalflow program text for the chart. More info in the SignalFx docs.

axesIncludeZero boolean

Force the chart to display zero on the y-axes, even if none of the data is near zero.

axesPrecision number

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

axisLeft TimeChartAxisLeft

Set of axis options.

axisRight TimeChartAxisRight

Set of axis options.

colorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

description string

Description of the chart.

disableSampling boolean

If false, samples a subset of the output MTS, which improves UI performance. false by default

endTime number

Seconds since epoch. Used for visualization. Conflicts with time_range.

eventOptions TimeChartEventOption[]

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

histogramOptions TimeChartHistogramOption[]

Only used when plot_type is "Histogram". Histogram specific options.

legendFieldsToHides string[]

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

legendOptionsFields TimeChartLegendOptionsField[]

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

maxDelay number

How long (in seconds) to wait for late datapoints.

minimumResolution number

The minimum resolution (in seconds) to use for computing the underlying program.

name string

Name of the chart.

onChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

plotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

showDataMarkers boolean

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

showEventLines boolean

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

stacked boolean

Whether area and bar charts in the visualization should be stacked. false by default.

startTime number

Seconds since epoch. Used for visualization. Conflicts with time_range.

tags string[]

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

timeRange number

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

unitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

vizOptions TimeChartVizOption[]

Plot-level customization options, associated with a publish statement.

program_text str

Signalflow program text for the chart. More info in the SignalFx docs.

axes_include_zero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

axes_precision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

axis_left TimeChartAxisLeftArgs

Set of axis options.

axis_right TimeChartAxisRightArgs

Set of axis options.

color_by str

Must be "Dimension" or "Metric". "Dimension" by default.

description str

Description of the chart.

disable_sampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

end_time int

Seconds since epoch. Used for visualization. Conflicts with time_range.

event_options Sequence[TimeChartEventOptionArgs]

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

histogram_options Sequence[TimeChartHistogramOptionArgs]

Only used when plot_type is "Histogram". Histogram specific options.

legend_fields_to_hides Sequence[str]

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

legend_options_fields Sequence[TimeChartLegendOptionsFieldArgs]

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

max_delay int

How long (in seconds) to wait for late datapoints.

minimum_resolution int

The minimum resolution (in seconds) to use for computing the underlying program.

name str

Name of the chart.

on_chart_legend_dimension str

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

plot_type str

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

show_data_markers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

show_event_lines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

start_time int

Seconds since epoch. Used for visualization. Conflicts with time_range.

tags Sequence[str]

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

time_range int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

timezone str

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

unit_prefix str

Must be "Metric" or "Binary”. "Metric" by default.

viz_options Sequence[TimeChartVizOptionArgs]

Plot-level customization options, associated with a publish statement.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Url string

The URL of the chart.

Id string
The provider-assigned unique ID for this managed resource.
Url string

The URL of the chart.

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

The URL of the chart.

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

The URL of the chart.

Look up an Existing TimeChart Resource

Get an existing TimeChart 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?: TimeChartState, opts?: CustomResourceOptions): TimeChart
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, axes_include_zero: Optional[bool] = None, axes_precision: Optional[int] = None, axis_left: Optional[TimeChartAxisLeftArgs] = None, axis_right: Optional[TimeChartAxisRightArgs] = None, color_by: Optional[str] = None, description: Optional[str] = None, disable_sampling: Optional[bool] = None, end_time: Optional[int] = None, event_options: Optional[Sequence[TimeChartEventOptionArgs]] = None, histogram_options: Optional[Sequence[TimeChartHistogramOptionArgs]] = None, legend_fields_to_hides: Optional[Sequence[str]] = None, legend_options_fields: Optional[Sequence[TimeChartLegendOptionsFieldArgs]] = None, max_delay: Optional[int] = None, minimum_resolution: Optional[int] = None, name: Optional[str] = None, on_chart_legend_dimension: Optional[str] = None, plot_type: Optional[str] = None, program_text: Optional[str] = None, show_data_markers: Optional[bool] = None, show_event_lines: Optional[bool] = None, stacked: Optional[bool] = None, start_time: Optional[int] = None, tags: Optional[Sequence[str]] = None, time_range: Optional[int] = None, timezone: Optional[str] = None, unit_prefix: Optional[str] = None, url: Optional[str] = None, viz_options: Optional[Sequence[TimeChartVizOptionArgs]] = None) -> TimeChart
func GetTimeChart(ctx *Context, name string, id IDInput, state *TimeChartState, opts ...ResourceOption) (*TimeChart, error)
public static TimeChart Get(string name, Input<string> id, TimeChartState? 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:

AxesIncludeZero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

AxesPrecision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

AxisLeft Pulumi.SignalFx.Inputs.TimeChartAxisLeftArgs

Set of axis options.

AxisRight Pulumi.SignalFx.Inputs.TimeChartAxisRightArgs

Set of axis options.

ColorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

Description string

Description of the chart.

DisableSampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

EndTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

EventOptions List<Pulumi.SignalFx.Inputs.TimeChartEventOptionArgs>

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

HistogramOptions List<Pulumi.SignalFx.Inputs.TimeChartHistogramOptionArgs>

Only used when plot_type is "Histogram". Histogram specific options.

LegendFieldsToHides List<string>

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

LegendOptionsFields List<Pulumi.SignalFx.Inputs.TimeChartLegendOptionsFieldArgs>

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

MaxDelay int

How long (in seconds) to wait for late datapoints.

MinimumResolution int

The minimum resolution (in seconds) to use for computing the underlying program.

Name string

Name of the chart.

OnChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ProgramText string

Signalflow program text for the chart. More info in the SignalFx docs.

ShowDataMarkers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

ShowEventLines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

Stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

StartTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

Tags List<string>

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

TimeRange int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

Timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

UnitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

Url string

The URL of the chart.

VizOptions List<Pulumi.SignalFx.Inputs.TimeChartVizOptionArgs>

Plot-level customization options, associated with a publish statement.

AxesIncludeZero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

AxesPrecision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

AxisLeft TimeChartAxisLeft

Set of axis options.

AxisRight TimeChartAxisRight

Set of axis options.

ColorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

Description string

Description of the chart.

DisableSampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

EndTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

EventOptions []TimeChartEventOption

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

HistogramOptions []TimeChartHistogramOption

Only used when plot_type is "Histogram". Histogram specific options.

LegendFieldsToHides []string

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

LegendOptionsFields []TimeChartLegendOptionsField

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

MaxDelay int

How long (in seconds) to wait for late datapoints.

MinimumResolution int

The minimum resolution (in seconds) to use for computing the underlying program.

Name string

Name of the chart.

OnChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ProgramText string

Signalflow program text for the chart. More info in the SignalFx docs.

ShowDataMarkers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

ShowEventLines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

Stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

StartTime int

Seconds since epoch. Used for visualization. Conflicts with time_range.

Tags []string

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

TimeRange int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

Timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

UnitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

Url string

The URL of the chart.

VizOptions []TimeChartVizOption

Plot-level customization options, associated with a publish statement.

axesIncludeZero boolean

Force the chart to display zero on the y-axes, even if none of the data is near zero.

axesPrecision number

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

axisLeft TimeChartAxisLeft

Set of axis options.

axisRight TimeChartAxisRight

Set of axis options.

colorBy string

Must be "Dimension" or "Metric". "Dimension" by default.

description string

Description of the chart.

disableSampling boolean

If false, samples a subset of the output MTS, which improves UI performance. false by default

endTime number

Seconds since epoch. Used for visualization. Conflicts with time_range.

eventOptions TimeChartEventOption[]

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

histogramOptions TimeChartHistogramOption[]

Only used when plot_type is "Histogram". Histogram specific options.

legendFieldsToHides string[]

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

legendOptionsFields TimeChartLegendOptionsField[]

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

maxDelay number

How long (in seconds) to wait for late datapoints.

minimumResolution number

The minimum resolution (in seconds) to use for computing the underlying program.

name string

Name of the chart.

onChartLegendDimension string

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

plotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

programText string

Signalflow program text for the chart. More info in the SignalFx docs.

showDataMarkers boolean

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

showEventLines boolean

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

stacked boolean

Whether area and bar charts in the visualization should be stacked. false by default.

startTime number

Seconds since epoch. Used for visualization. Conflicts with time_range.

tags string[]

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

timeRange number

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

timezone string

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

unitPrefix string

Must be "Metric" or "Binary”. "Metric" by default.

url string

The URL of the chart.

vizOptions TimeChartVizOption[]

Plot-level customization options, associated with a publish statement.

axes_include_zero bool

Force the chart to display zero on the y-axes, even if none of the data is near zero.

axes_precision int

Specifies the digits SignalFx displays for values plotted on the chart. Defaults to 3.

axis_left TimeChartAxisLeftArgs

Set of axis options.

axis_right TimeChartAxisRightArgs

Set of axis options.

color_by str

Must be "Dimension" or "Metric". "Dimension" by default.

description str

Description of the chart.

disable_sampling bool

If false, samples a subset of the output MTS, which improves UI performance. false by default

end_time int

Seconds since epoch. Used for visualization. Conflicts with time_range.

event_options Sequence[TimeChartEventOptionArgs]

Event customization options, associated with a publish statement. You will need to use this to change settings for any events(…) statements you use.

histogram_options Sequence[TimeChartHistogramOptionArgs]

Only used when plot_type is "Histogram". Histogram specific options.

legend_fields_to_hides Sequence[str]

List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use legend_options_fields.

Deprecated: Please use legend_options_fields

legend_options_fields Sequence[TimeChartLegendOptionsFieldArgs]

List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with legend_fields_to_hide.

max_delay int

How long (in seconds) to wait for late datapoints.

minimum_resolution int

The minimum resolution (in seconds) to use for computing the underlying program.

name str

Name of the chart.

on_chart_legend_dimension str

Dimensions to show in the on-chart legend. On-chart legend is off unless a dimension is specified. Allowed: "metric", "plot_label" and any dimension.

plot_type str

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

program_text str

Signalflow program text for the chart. More info in the SignalFx docs.

show_data_markers bool

Show markers (circles) for each datapoint used to draw line or area charts. false by default.

show_event_lines bool

Whether vertical highlight lines should be drawn in the visualizations at times when events occurred. false by default.

stacked bool

Whether area and bar charts in the visualization should be stacked. false by default.

start_time int

Seconds since epoch. Used for visualization. Conflicts with time_range.

tags Sequence[str]

Tags associated with the chart

Deprecated: signalfx_time_chart.tags is being removed in the next release

time_range int

How many seconds ago from which to display data. For example, the last hour would be 3600, etc. Conflicts with start_time and end_time.

timezone str

Time zone that SignalFlow uses as the basis of calendar window transformation methods. For example, if you set “timezone”: “Europe/Paris” and then use the transformation sum(cycle=“week”, cycle_start=“Monday”) in your chart’s SignalFlow program, the calendar window starts on Monday, Paris time. See the full list of timezones for more. "UTC" by default.

unit_prefix str

Must be "Metric" or "Binary”. "Metric" by default.

url str

The URL of the chart.

viz_options Sequence[TimeChartVizOptionArgs]

Plot-level customization options, associated with a publish statement.

Supporting Types

TimeChartAxisLeft

HighWatermark double

A line to draw as a high watermark.

HighWatermarkLabel string

A label to attach to the high watermark line.

Label string

Label used in the publish statement that displays the event query you want to customize.

LowWatermark double

A line to draw as a low watermark.

LowWatermarkLabel string

A label to attach to the low watermark line.

MaxValue double

The maximum value for the right axis.

MinValue double

The minimum value for the right axis.

Watermarks List<Pulumi.SignalFx.Inputs.TimeChartAxisLeftWatermarkArgs>
HighWatermark float64

A line to draw as a high watermark.

HighWatermarkLabel string

A label to attach to the high watermark line.

Label string

Label used in the publish statement that displays the event query you want to customize.

LowWatermark float64

A line to draw as a low watermark.

LowWatermarkLabel string

A label to attach to the low watermark line.

MaxValue float64

The maximum value for the right axis.

MinValue float64

The minimum value for the right axis.

Watermarks []TimeChartAxisLeftWatermark
highWatermark number

A line to draw as a high watermark.

highWatermarkLabel string

A label to attach to the high watermark line.

label string

Label used in the publish statement that displays the event query you want to customize.

lowWatermark number

A line to draw as a low watermark.

lowWatermarkLabel string

A label to attach to the low watermark line.

maxValue number

The maximum value for the right axis.

minValue number

The minimum value for the right axis.

watermarks TimeChartAxisLeftWatermark[]
high_watermark float

A line to draw as a high watermark.

high_watermark_label str

A label to attach to the high watermark line.

label str

Label used in the publish statement that displays the event query you want to customize.

low_watermark float

A line to draw as a low watermark.

low_watermark_label str

A label to attach to the low watermark line.

max_value float

The maximum value for the right axis.

min_value float

The minimum value for the right axis.

watermarks Sequence[TimeChartAxisLeftWatermarkArgs]

TimeChartAxisLeftWatermark

Value double
Label string

Label used in the publish statement that displays the event query you want to customize.

Value float64
Label string

Label used in the publish statement that displays the event query you want to customize.

value number
label string

Label used in the publish statement that displays the event query you want to customize.

value float
label str

Label used in the publish statement that displays the event query you want to customize.

TimeChartAxisRight

HighWatermark double

A line to draw as a high watermark.

HighWatermarkLabel string

A label to attach to the high watermark line.

Label string

Label used in the publish statement that displays the event query you want to customize.

LowWatermark double

A line to draw as a low watermark.

LowWatermarkLabel string

A label to attach to the low watermark line.

MaxValue double

The maximum value for the right axis.

MinValue double

The minimum value for the right axis.

Watermarks List<Pulumi.SignalFx.Inputs.TimeChartAxisRightWatermarkArgs>
HighWatermark float64

A line to draw as a high watermark.

HighWatermarkLabel string

A label to attach to the high watermark line.

Label string

Label used in the publish statement that displays the event query you want to customize.

LowWatermark float64

A line to draw as a low watermark.

LowWatermarkLabel string

A label to attach to the low watermark line.

MaxValue float64

The maximum value for the right axis.

MinValue float64

The minimum value for the right axis.

Watermarks []TimeChartAxisRightWatermark
highWatermark number

A line to draw as a high watermark.

highWatermarkLabel string

A label to attach to the high watermark line.

label string

Label used in the publish statement that displays the event query you want to customize.

lowWatermark number

A line to draw as a low watermark.

lowWatermarkLabel string

A label to attach to the low watermark line.

maxValue number

The maximum value for the right axis.

minValue number

The minimum value for the right axis.

watermarks TimeChartAxisRightWatermark[]
high_watermark float

A line to draw as a high watermark.

high_watermark_label str

A label to attach to the high watermark line.

label str

Label used in the publish statement that displays the event query you want to customize.

low_watermark float

A line to draw as a low watermark.

low_watermark_label str

A label to attach to the low watermark line.

max_value float

The maximum value for the right axis.

min_value float

The minimum value for the right axis.

watermarks Sequence[TimeChartAxisRightWatermarkArgs]

TimeChartAxisRightWatermark

Value double
Label string

Label used in the publish statement that displays the event query you want to customize.

Value float64
Label string

Label used in the publish statement that displays the event query you want to customize.

value number
label string

Label used in the publish statement that displays the event query you want to customize.

value float
label str

Label used in the publish statement that displays the event query you want to customize.

TimeChartEventOption

Label string

Label used in the publish statement that displays the event query you want to customize.

Color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

DisplayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

Label string

Label used in the publish statement that displays the event query you want to customize.

Color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

DisplayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

label string

Label used in the publish statement that displays the event query you want to customize.

color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

displayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

label str

Label used in the publish statement that displays the event query you want to customize.

color str

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

display_name str

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

TimeChartHistogramOption

ColorTheme string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine, red, gold, greenyellow, chartreuse, jade

ColorTheme string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine, red, gold, greenyellow, chartreuse, jade

colorTheme string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine, red, gold, greenyellow, chartreuse, jade

color_theme str

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine, red, gold, greenyellow, chartreuse, jade

TimeChartLegendOptionsField

Property string

The name of the property to display. Note the special values of plot_label (corresponding with the API’s sf_metric) which shows the label of the time series publish() and metric (corresponding with the API’s sf_originatingMetric) that shows the name of the metric for the time series being displayed.

Enabled bool

True or False depending on if you want the property to be shown or hidden.

Property string

The name of the property to display. Note the special values of plot_label (corresponding with the API’s sf_metric) which shows the label of the time series publish() and metric (corresponding with the API’s sf_originatingMetric) that shows the name of the metric for the time series being displayed.

Enabled bool

True or False depending on if you want the property to be shown or hidden.

property string

The name of the property to display. Note the special values of plot_label (corresponding with the API’s sf_metric) which shows the label of the time series publish() and metric (corresponding with the API’s sf_originatingMetric) that shows the name of the metric for the time series being displayed.

enabled boolean

True or False depending on if you want the property to be shown or hidden.

property str

The name of the property to display. Note the special values of plot_label (corresponding with the API’s sf_metric) which shows the label of the time series publish() and metric (corresponding with the API’s sf_originatingMetric) that shows the name of the metric for the time series being displayed.

enabled bool

True or False depending on if you want the property to be shown or hidden.

TimeChartVizOption

Label string

Label used in the publish statement that displays the event query you want to customize.

Axis string

Y-axis associated with values for this plot. Must be either right or left.

Color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

DisplayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ValuePrefix string
ValueSuffix string
ValueUnit string

A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gigibyte, Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week. * value_prefix, value_suffix - (Optional) Arbitrary prefix/suffix to display with the value of this plot.

Label string

Label used in the publish statement that displays the event query you want to customize.

Axis string

Y-axis associated with values for this plot. Must be either right or left.

Color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

DisplayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

PlotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

ValuePrefix string
ValueSuffix string
ValueUnit string

A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gigibyte, Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week. * value_prefix, value_suffix - (Optional) Arbitrary prefix/suffix to display with the value of this plot.

label string

Label used in the publish statement that displays the event query you want to customize.

axis string

Y-axis associated with values for this plot. Must be either right or left.

color string

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

displayName string

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

plotType string

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

valuePrefix string
valueSuffix string
valueUnit string

A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gigibyte, Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week. * value_prefix, value_suffix - (Optional) Arbitrary prefix/suffix to display with the value of this plot.

label str

Label used in the publish statement that displays the event query you want to customize.

axis str

Y-axis associated with values for this plot. Must be either right or left.

color str

Color to use : gray, blue, azure, navy, brown, orange, yellow, iris, magenta, pink, purple, violet, lilac, emerald, green, aquamarine.

display_name str

Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.

plot_type str

The visualization style to use. Must be "LineChart", "AreaChart", "ColumnChart", or "Histogram". Chart level plot_type by default.

value_prefix str
value_suffix str
value_unit str

A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gigibyte, Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week. * value_prefix, value_suffix - (Optional) Arbitrary prefix/suffix to display with the value of this plot.

Package Details

Repository
https://github.com/pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.