Wavefront v3.1.6 published on Thursday, Oct 31, 2024 by Pulumi
wavefront.getDerivedMetrics
Explore with Pulumi AI
Use this data source to get information about all Wavefront derived metrics.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
// Get the information about all derived metrics.
const example = wavefront.getDerivedMetrics({
limit: 10,
offset: 0,
});
import pulumi
import pulumi_wavefront as wavefront
# Get the information about all derived metrics.
example = wavefront.get_derived_metrics(limit=10,
offset=0)
package main
import (
"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get the information about all derived metrics.
_, err := wavefront.GetDerivedMetrics(ctx, &wavefront.GetDerivedMetricsArgs{
Limit: pulumi.IntRef(10),
Offset: pulumi.IntRef(0),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() =>
{
// Get the information about all derived metrics.
var example = Wavefront.GetDerivedMetrics.Invoke(new()
{
Limit = 10,
Offset = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import com.pulumi.wavefront.inputs.GetDerivedMetricsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Get the information about all derived metrics.
final var example = WavefrontFunctions.getDerivedMetrics(GetDerivedMetricsArgs.builder()
.limit(10)
.offset(0)
.build());
}
}
variables:
# Get the information about all derived metrics.
example:
fn::invoke:
Function: wavefront:getDerivedMetrics
Arguments:
limit: 10
offset: 0
Using getDerivedMetrics
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDerivedMetrics(args: GetDerivedMetricsArgs, opts?: InvokeOptions): Promise<GetDerivedMetricsResult>
function getDerivedMetricsOutput(args: GetDerivedMetricsOutputArgs, opts?: InvokeOptions): Output<GetDerivedMetricsResult>
def get_derived_metrics(limit: Optional[int] = None,
offset: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetDerivedMetricsResult
def get_derived_metrics_output(limit: Optional[pulumi.Input[int]] = None,
offset: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDerivedMetricsResult]
func GetDerivedMetrics(ctx *Context, args *GetDerivedMetricsArgs, opts ...InvokeOption) (*GetDerivedMetricsResult, error)
func GetDerivedMetricsOutput(ctx *Context, args *GetDerivedMetricsOutputArgs, opts ...InvokeOption) GetDerivedMetricsResultOutput
> Note: This function is named GetDerivedMetrics
in the Go SDK.
public static class GetDerivedMetrics
{
public static Task<GetDerivedMetricsResult> InvokeAsync(GetDerivedMetricsArgs args, InvokeOptions? opts = null)
public static Output<GetDerivedMetricsResult> Invoke(GetDerivedMetricsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDerivedMetricsResult> getDerivedMetrics(GetDerivedMetricsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: wavefront:index/getDerivedMetrics:getDerivedMetrics
arguments:
# arguments dictionary
The following arguments are supported:
getDerivedMetrics Result
The following output properties are available:
- Derived
Metrics List<GetDerived Metrics Derived Metric> - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Limit int
- Offset int
- Derived
Metrics []GetDerived Metrics Derived Metric - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Limit int
- Offset int
- derived
Metrics List<GetDerived Metrics Derived Metric> - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- limit Integer
- offset Integer
- derived
Metrics GetDerived Metrics Derived Metric[] - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- id string
- The provider-assigned unique ID for this managed resource.
- limit number
- offset number
- derived_
metrics Sequence[GetDerived Metrics Derived Metric] - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- id str
- The provider-assigned unique ID for this managed resource.
- limit int
- offset int
- derived
Metrics List<Property Map> - List of all derived metrics in Wavefront. For each derived metric you will see a list of attributes.
- id String
- The provider-assigned unique ID for this managed resource.
- limit Number
- offset Number
Supporting Types
GetDerivedMetricsDerivedMetric
- Additional
Information string - User-supplied additional explanatory information about the derived metric.
- Create
User stringId - The ID of the user who created the derived metric.
- Created
Epoch intMillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- Deleted bool
- A Boolean flag indicating whether the derived metric is deleted or not.
- Hosts
Useds List<string> - A list of hosts used in the derived metric.
- Id string
- The ID of the derived metric in Wavefront.
- In
Trash bool - A Boolean variable indicating trash status.
- Include
Obsolete boolMetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- Last
Error stringMessage - Last error message occurred.
- Last
Failed intTime - Timestamp of the last failed derived metric.
- Last
Processed intMillis - The last processed timestamp.
- Last
Query intTime - The timestamp indicating the last time the query was executed.
- Metrics
Useds List<string> - A list of metrics used in the derived metric.
- Minutes int
- How frequently the query generating the derived metric is run.
- Name string
- The name of the derived metric in Wavefront.
- Points
Scanned intAt Last Query - The number of points scanned when the last query was executed.
- Process
Rate intMinutes - The specified query is executed every
process_rate_minutes
minutes. - Query string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- Query
Failing bool - A Boolean variable indicating whether query is failing for the derived metric.
- Query
Qb boolEnabled - A Boolean flag for enabling
query_qb
- Statuses List<string>
- The status of the derived metric.
- List<string>
- A set of tags assigned to the derived metric.
- Update
User stringId - The ID of the user who updated the derived metric.
- Updated
Epoch intMillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
- Additional
Information string - User-supplied additional explanatory information about the derived metric.
- Create
User stringId - The ID of the user who created the derived metric.
- Created
Epoch intMillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- Deleted bool
- A Boolean flag indicating whether the derived metric is deleted or not.
- Hosts
Useds []string - A list of hosts used in the derived metric.
- Id string
- The ID of the derived metric in Wavefront.
- In
Trash bool - A Boolean variable indicating trash status.
- Include
Obsolete boolMetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- Last
Error stringMessage - Last error message occurred.
- Last
Failed intTime - Timestamp of the last failed derived metric.
- Last
Processed intMillis - The last processed timestamp.
- Last
Query intTime - The timestamp indicating the last time the query was executed.
- Metrics
Useds []string - A list of metrics used in the derived metric.
- Minutes int
- How frequently the query generating the derived metric is run.
- Name string
- The name of the derived metric in Wavefront.
- Points
Scanned intAt Last Query - The number of points scanned when the last query was executed.
- Process
Rate intMinutes - The specified query is executed every
process_rate_minutes
minutes. - Query string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- Query
Failing bool - A Boolean variable indicating whether query is failing for the derived metric.
- Query
Qb boolEnabled - A Boolean flag for enabling
query_qb
- Statuses []string
- The status of the derived metric.
- []string
- A set of tags assigned to the derived metric.
- Update
User stringId - The ID of the user who updated the derived metric.
- Updated
Epoch intMillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
- additional
Information String - User-supplied additional explanatory information about the derived metric.
- create
User StringId - The ID of the user who created the derived metric.
- created
Epoch IntegerMillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- deleted Boolean
- A Boolean flag indicating whether the derived metric is deleted or not.
- hosts
Useds List<String> - A list of hosts used in the derived metric.
- id String
- The ID of the derived metric in Wavefront.
- in
Trash Boolean - A Boolean variable indicating trash status.
- include
Obsolete BooleanMetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- last
Error StringMessage - Last error message occurred.
- last
Failed IntegerTime - Timestamp of the last failed derived metric.
- last
Processed IntegerMillis - The last processed timestamp.
- last
Query IntegerTime - The timestamp indicating the last time the query was executed.
- metrics
Useds List<String> - A list of metrics used in the derived metric.
- minutes Integer
- How frequently the query generating the derived metric is run.
- name String
- The name of the derived metric in Wavefront.
- points
Scanned IntegerAt Last Query - The number of points scanned when the last query was executed.
- process
Rate IntegerMinutes - The specified query is executed every
process_rate_minutes
minutes. - query String
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- query
Failing Boolean - A Boolean variable indicating whether query is failing for the derived metric.
- query
Qb BooleanEnabled - A Boolean flag for enabling
query_qb
- statuses List<String>
- The status of the derived metric.
- List<String>
- A set of tags assigned to the derived metric.
- update
User StringId - The ID of the user who updated the derived metric.
- updated
Epoch IntegerMillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
- additional
Information string - User-supplied additional explanatory information about the derived metric.
- create
User stringId - The ID of the user who created the derived metric.
- created
Epoch numberMillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- deleted boolean
- A Boolean flag indicating whether the derived metric is deleted or not.
- hosts
Useds string[] - A list of hosts used in the derived metric.
- id string
- The ID of the derived metric in Wavefront.
- in
Trash boolean - A Boolean variable indicating trash status.
- include
Obsolete booleanMetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- last
Error stringMessage - Last error message occurred.
- last
Failed numberTime - Timestamp of the last failed derived metric.
- last
Processed numberMillis - The last processed timestamp.
- last
Query numberTime - The timestamp indicating the last time the query was executed.
- metrics
Useds string[] - A list of metrics used in the derived metric.
- minutes number
- How frequently the query generating the derived metric is run.
- name string
- The name of the derived metric in Wavefront.
- points
Scanned numberAt Last Query - The number of points scanned when the last query was executed.
- process
Rate numberMinutes - The specified query is executed every
process_rate_minutes
minutes. - query string
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- query
Failing boolean - A Boolean variable indicating whether query is failing for the derived metric.
- query
Qb booleanEnabled - A Boolean flag for enabling
query_qb
- statuses string[]
- The status of the derived metric.
- string[]
- A set of tags assigned to the derived metric.
- update
User stringId - The ID of the user who updated the derived metric.
- updated
Epoch numberMillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
- additional_
information str - User-supplied additional explanatory information about the derived metric.
- create_
user_ strid - The ID of the user who created the derived metric.
- created_
epoch_ intmillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- deleted bool
- A Boolean flag indicating whether the derived metric is deleted or not.
- hosts_
useds Sequence[str] - A list of hosts used in the derived metric.
- id str
- The ID of the derived metric in Wavefront.
- in_
trash bool - A Boolean variable indicating trash status.
- include_
obsolete_ boolmetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- last_
error_ strmessage - Last error message occurred.
- last_
failed_ inttime - Timestamp of the last failed derived metric.
- last_
processed_ intmillis - The last processed timestamp.
- last_
query_ inttime - The timestamp indicating the last time the query was executed.
- metrics_
useds Sequence[str] - A list of metrics used in the derived metric.
- minutes int
- How frequently the query generating the derived metric is run.
- name str
- The name of the derived metric in Wavefront.
- points_
scanned_ intat_ last_ query - The number of points scanned when the last query was executed.
- process_
rate_ intminutes - The specified query is executed every
process_rate_minutes
minutes. - query str
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- query_
failing bool - A Boolean variable indicating whether query is failing for the derived metric.
- query_
qb_ boolenabled - A Boolean flag for enabling
query_qb
- statuses Sequence[str]
- The status of the derived metric.
- Sequence[str]
- A set of tags assigned to the derived metric.
- update_
user_ strid - The ID of the user who updated the derived metric.
- updated_
epoch_ intmillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
- additional
Information String - User-supplied additional explanatory information about the derived metric.
- create
User StringId - The ID of the user who created the derived metric.
- created
Epoch NumberMillis - The timestamp in epoch milliseconds indicating when the derived metric is created.
- deleted Boolean
- A Boolean flag indicating whether the derived metric is deleted or not.
- hosts
Useds List<String> - A list of hosts used in the derived metric.
- id String
- The ID of the derived metric in Wavefront.
- in
Trash Boolean - A Boolean variable indicating trash status.
- include
Obsolete BooleanMetrics - A Boolean flag indicating whether to include obsolete metrics or not.
- last
Error StringMessage - Last error message occurred.
- last
Failed NumberTime - Timestamp of the last failed derived metric.
- last
Processed NumberMillis - The last processed timestamp.
- last
Query NumberTime - The timestamp indicating the last time the query was executed.
- metrics
Useds List<String> - A list of metrics used in the derived metric.
- minutes Number
- How frequently the query generating the derived metric is run.
- name String
- The name of the derived metric in Wavefront.
- points
Scanned NumberAt Last Query - The number of points scanned when the last query was executed.
- process
Rate NumberMinutes - The specified query is executed every
process_rate_minutes
minutes. - query String
- A Wavefront query that is evaluated at regular intervals (default is 1 minute).
- query
Failing Boolean - A Boolean variable indicating whether query is failing for the derived metric.
- query
Qb BooleanEnabled - A Boolean flag for enabling
query_qb
- statuses List<String>
- The status of the derived metric.
- List<String>
- A set of tags assigned to the derived metric.
- update
User StringId - The ID of the user who updated the derived metric.
- updated
Epoch NumberMillis - The timestamp in epoch milliseconds indicating when the derived metric is updated.
Package Details
- Repository
- Wavefront pulumi/pulumi-wavefront
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
wavefront
Terraform Provider.