grafana.alerting.AlertEnrichment
This resource is currently under development. Documentation will be provided in a future release.
Create AlertEnrichment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AlertEnrichment(name: string, args?: AlertEnrichmentArgs, opts?: CustomResourceOptions);@overload
def AlertEnrichment(resource_name: str,
args: Optional[AlertEnrichmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AlertEnrichment(resource_name: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[AlertEnrichmentMetadataArgs] = None,
options: Optional[AlertEnrichmentOptionsArgs] = None,
spec: Optional[AlertEnrichmentSpecArgs] = None)func NewAlertEnrichment(ctx *Context, name string, args *AlertEnrichmentArgs, opts ...ResourceOption) (*AlertEnrichment, error)public AlertEnrichment(string name, AlertEnrichmentArgs? args = null, CustomResourceOptions? opts = null)
public AlertEnrichment(String name, AlertEnrichmentArgs args)
public AlertEnrichment(String name, AlertEnrichmentArgs args, CustomResourceOptions options)
type: grafana:alerting:AlertEnrichment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertEnrichmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlertEnrichmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlertEnrichmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertEnrichmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertEnrichmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alertEnrichmentResource = new Grafana.Alerting.AlertEnrichment("alertEnrichmentResource", new()
{
Metadata = new Grafana.Alerting.Inputs.AlertEnrichmentMetadataArgs
{
Uid = "string",
Annotations =
{
{ "string", "string" },
},
FolderUid = "string",
Url = "string",
Uuid = "string",
Version = "string",
},
Options = new Grafana.Alerting.Inputs.AlertEnrichmentOptionsArgs
{
Overwrite = false,
},
Spec = new Grafana.Alerting.Inputs.AlertEnrichmentSpecArgs
{
Title = "string",
AlertRuleUids = new[]
{
"string",
},
AnnotationMatchers = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecAnnotationMatcherArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
Description = "string",
DisableProvenance = false,
LabelMatchers = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecLabelMatcherArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
Receivers = new[]
{
"string",
},
Steps = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepArgs
{
Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssertsArgs
{
Timeout = "string",
},
Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssignArgs
{
Annotations =
{
{ "string", "string" },
},
Timeout = "string",
},
AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepAssistantInvestigationsArgs
{
Timeout = "string",
},
Conditional = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalArgs
{
Else = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseArgs
{
Steps = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepArgs
{
Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssertsArgs
{
Timeout = "string",
},
Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssignArgs
{
Annotations =
{
{ "string", "string" },
},
Timeout = "string",
},
AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs
{
Timeout = "string",
},
DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs
{
LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs
{
DataSourceType = "string",
DataSourceUid = "string",
Expr = "string",
MaxLines = 0,
},
RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs
{
RefId = "string",
Request = "string",
},
Timeout = "string",
},
Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExplainArgs
{
Annotation = "string",
Timeout = "string",
},
External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepExternalArgs
{
Timeout = "string",
Url = "string",
},
Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalElseStepSiftArgs
{
Timeout = "string",
},
},
},
},
If = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfArgs
{
AnnotationMatchers = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
DataSourceCondition = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs
{
Request = "string",
},
LabelMatchers = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs
{
Name = "string",
Type = "string",
Value = "string",
},
},
},
Then = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenArgs
{
Steps = new[]
{
new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepArgs
{
Asserts = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssertsArgs
{
Timeout = "string",
},
Assign = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssignArgs
{
Annotations =
{
{ "string", "string" },
},
Timeout = "string",
},
AssistantInvestigations = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs
{
Timeout = "string",
},
DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs
{
LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs
{
DataSourceType = "string",
DataSourceUid = "string",
Expr = "string",
MaxLines = 0,
},
RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs
{
RefId = "string",
Request = "string",
},
Timeout = "string",
},
Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExplainArgs
{
Annotation = "string",
Timeout = "string",
},
External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepExternalArgs
{
Timeout = "string",
Url = "string",
},
Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepConditionalThenStepSiftArgs
{
Timeout = "string",
},
},
},
},
Timeout = "string",
},
DataSource = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceArgs
{
LogsQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceLogsQueryArgs
{
DataSourceType = "string",
DataSourceUid = "string",
Expr = "string",
MaxLines = 0,
},
RawQuery = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepDataSourceRawQueryArgs
{
RefId = "string",
Request = "string",
},
Timeout = "string",
},
Explain = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExplainArgs
{
Annotation = "string",
Timeout = "string",
},
External = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepExternalArgs
{
Timeout = "string",
Url = "string",
},
Sift = new Grafana.Alerting.Inputs.AlertEnrichmentSpecStepSiftArgs
{
Timeout = "string",
},
},
},
},
});
example, err := alerting.NewAlertEnrichment(ctx, "alertEnrichmentResource", &alerting.AlertEnrichmentArgs{
Metadata: &alerting.AlertEnrichmentMetadataArgs{
Uid: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
FolderUid: pulumi.String("string"),
Url: pulumi.String("string"),
Uuid: pulumi.String("string"),
Version: pulumi.String("string"),
},
Options: &alerting.AlertEnrichmentOptionsArgs{
Overwrite: pulumi.Bool(false),
},
Spec: &alerting.AlertEnrichmentSpecArgs{
Title: pulumi.String("string"),
AlertRuleUids: pulumi.StringArray{
pulumi.String("string"),
},
AnnotationMatchers: alerting.AlertEnrichmentSpecAnnotationMatcherArray{
&alerting.AlertEnrichmentSpecAnnotationMatcherArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
DisableProvenance: pulumi.Bool(false),
LabelMatchers: alerting.AlertEnrichmentSpecLabelMatcherArray{
&alerting.AlertEnrichmentSpecLabelMatcherArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Receivers: pulumi.StringArray{
pulumi.String("string"),
},
Steps: alerting.AlertEnrichmentSpecStepArray{
&alerting.AlertEnrichmentSpecStepArgs{
Asserts: &alerting.AlertEnrichmentSpecStepAssertsArgs{
Timeout: pulumi.String("string"),
},
Assign: &alerting.AlertEnrichmentSpecStepAssignArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
AssistantInvestigations: &alerting.AlertEnrichmentSpecStepAssistantInvestigationsArgs{
Timeout: pulumi.String("string"),
},
Conditional: &alerting.AlertEnrichmentSpecStepConditionalArgs{
Else: &alerting.AlertEnrichmentSpecStepConditionalElseArgs{
Steps: alerting.AlertEnrichmentSpecStepConditionalElseStepArray{
&alerting.AlertEnrichmentSpecStepConditionalElseStepArgs{
Asserts: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssertsArgs{
Timeout: pulumi.String("string"),
},
Assign: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssignArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
AssistantInvestigations: &alerting.AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs{
Timeout: pulumi.String("string"),
},
DataSource: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs{
LogsQuery: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs{
DataSourceType: pulumi.String("string"),
DataSourceUid: pulumi.String("string"),
Expr: pulumi.String("string"),
MaxLines: pulumi.Int(0),
},
RawQuery: &alerting.AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs{
RefId: pulumi.String("string"),
Request: pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
Explain: &alerting.AlertEnrichmentSpecStepConditionalElseStepExplainArgs{
Annotation: pulumi.String("string"),
Timeout: pulumi.String("string"),
},
External: &alerting.AlertEnrichmentSpecStepConditionalElseStepExternalArgs{
Timeout: pulumi.String("string"),
Url: pulumi.String("string"),
},
Sift: &alerting.AlertEnrichmentSpecStepConditionalElseStepSiftArgs{
Timeout: pulumi.String("string"),
},
},
},
},
If: &alerting.AlertEnrichmentSpecStepConditionalIfArgs{
AnnotationMatchers: alerting.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArray{
&alerting.AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
DataSourceCondition: &alerting.AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs{
Request: pulumi.String("string"),
},
LabelMatchers: alerting.AlertEnrichmentSpecStepConditionalIfLabelMatcherArray{
&alerting.AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Then: &alerting.AlertEnrichmentSpecStepConditionalThenArgs{
Steps: alerting.AlertEnrichmentSpecStepConditionalThenStepArray{
&alerting.AlertEnrichmentSpecStepConditionalThenStepArgs{
Asserts: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssertsArgs{
Timeout: pulumi.String("string"),
},
Assign: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssignArgs{
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
AssistantInvestigations: &alerting.AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs{
Timeout: pulumi.String("string"),
},
DataSource: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs{
LogsQuery: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs{
DataSourceType: pulumi.String("string"),
DataSourceUid: pulumi.String("string"),
Expr: pulumi.String("string"),
MaxLines: pulumi.Int(0),
},
RawQuery: &alerting.AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs{
RefId: pulumi.String("string"),
Request: pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
Explain: &alerting.AlertEnrichmentSpecStepConditionalThenStepExplainArgs{
Annotation: pulumi.String("string"),
Timeout: pulumi.String("string"),
},
External: &alerting.AlertEnrichmentSpecStepConditionalThenStepExternalArgs{
Timeout: pulumi.String("string"),
Url: pulumi.String("string"),
},
Sift: &alerting.AlertEnrichmentSpecStepConditionalThenStepSiftArgs{
Timeout: pulumi.String("string"),
},
},
},
},
Timeout: pulumi.String("string"),
},
DataSource: &alerting.AlertEnrichmentSpecStepDataSourceArgs{
LogsQuery: &alerting.AlertEnrichmentSpecStepDataSourceLogsQueryArgs{
DataSourceType: pulumi.String("string"),
DataSourceUid: pulumi.String("string"),
Expr: pulumi.String("string"),
MaxLines: pulumi.Int(0),
},
RawQuery: &alerting.AlertEnrichmentSpecStepDataSourceRawQueryArgs{
RefId: pulumi.String("string"),
Request: pulumi.String("string"),
},
Timeout: pulumi.String("string"),
},
Explain: &alerting.AlertEnrichmentSpecStepExplainArgs{
Annotation: pulumi.String("string"),
Timeout: pulumi.String("string"),
},
External: &alerting.AlertEnrichmentSpecStepExternalArgs{
Timeout: pulumi.String("string"),
Url: pulumi.String("string"),
},
Sift: &alerting.AlertEnrichmentSpecStepSiftArgs{
Timeout: pulumi.String("string"),
},
},
},
},
})
var alertEnrichmentResource = new AlertEnrichment("alertEnrichmentResource", AlertEnrichmentArgs.builder()
.metadata(AlertEnrichmentMetadataArgs.builder()
.uid("string")
.annotations(Map.of("string", "string"))
.folderUid("string")
.url("string")
.uuid("string")
.version("string")
.build())
.options(AlertEnrichmentOptionsArgs.builder()
.overwrite(false)
.build())
.spec(AlertEnrichmentSpecArgs.builder()
.title("string")
.alertRuleUids("string")
.annotationMatchers(AlertEnrichmentSpecAnnotationMatcherArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.description("string")
.disableProvenance(false)
.labelMatchers(AlertEnrichmentSpecLabelMatcherArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.receivers("string")
.steps(AlertEnrichmentSpecStepArgs.builder()
.asserts(AlertEnrichmentSpecStepAssertsArgs.builder()
.timeout("string")
.build())
.assign(AlertEnrichmentSpecStepAssignArgs.builder()
.annotations(Map.of("string", "string"))
.timeout("string")
.build())
.assistantInvestigations(AlertEnrichmentSpecStepAssistantInvestigationsArgs.builder()
.timeout("string")
.build())
.conditional(AlertEnrichmentSpecStepConditionalArgs.builder()
.else_(AlertEnrichmentSpecStepConditionalElseArgs.builder()
.steps(AlertEnrichmentSpecStepConditionalElseStepArgs.builder()
.asserts(AlertEnrichmentSpecStepConditionalElseStepAssertsArgs.builder()
.timeout("string")
.build())
.assign(AlertEnrichmentSpecStepConditionalElseStepAssignArgs.builder()
.annotations(Map.of("string", "string"))
.timeout("string")
.build())
.assistantInvestigations(AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs.builder()
.timeout("string")
.build())
.dataSource(AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs.builder()
.logsQuery(AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs.builder()
.dataSourceType("string")
.dataSourceUid("string")
.expr("string")
.maxLines(0)
.build())
.rawQuery(AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs.builder()
.refId("string")
.request("string")
.build())
.timeout("string")
.build())
.explain(AlertEnrichmentSpecStepConditionalElseStepExplainArgs.builder()
.annotation("string")
.timeout("string")
.build())
.external(AlertEnrichmentSpecStepConditionalElseStepExternalArgs.builder()
.timeout("string")
.url("string")
.build())
.sift(AlertEnrichmentSpecStepConditionalElseStepSiftArgs.builder()
.timeout("string")
.build())
.build())
.build())
.if_(AlertEnrichmentSpecStepConditionalIfArgs.builder()
.annotationMatchers(AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.dataSourceCondition(AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs.builder()
.request("string")
.build())
.labelMatchers(AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs.builder()
.name("string")
.type("string")
.value("string")
.build())
.build())
.then(AlertEnrichmentSpecStepConditionalThenArgs.builder()
.steps(AlertEnrichmentSpecStepConditionalThenStepArgs.builder()
.asserts(AlertEnrichmentSpecStepConditionalThenStepAssertsArgs.builder()
.timeout("string")
.build())
.assign(AlertEnrichmentSpecStepConditionalThenStepAssignArgs.builder()
.annotations(Map.of("string", "string"))
.timeout("string")
.build())
.assistantInvestigations(AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs.builder()
.timeout("string")
.build())
.dataSource(AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs.builder()
.logsQuery(AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs.builder()
.dataSourceType("string")
.dataSourceUid("string")
.expr("string")
.maxLines(0)
.build())
.rawQuery(AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs.builder()
.refId("string")
.request("string")
.build())
.timeout("string")
.build())
.explain(AlertEnrichmentSpecStepConditionalThenStepExplainArgs.builder()
.annotation("string")
.timeout("string")
.build())
.external(AlertEnrichmentSpecStepConditionalThenStepExternalArgs.builder()
.timeout("string")
.url("string")
.build())
.sift(AlertEnrichmentSpecStepConditionalThenStepSiftArgs.builder()
.timeout("string")
.build())
.build())
.build())
.timeout("string")
.build())
.dataSource(AlertEnrichmentSpecStepDataSourceArgs.builder()
.logsQuery(AlertEnrichmentSpecStepDataSourceLogsQueryArgs.builder()
.dataSourceType("string")
.dataSourceUid("string")
.expr("string")
.maxLines(0)
.build())
.rawQuery(AlertEnrichmentSpecStepDataSourceRawQueryArgs.builder()
.refId("string")
.request("string")
.build())
.timeout("string")
.build())
.explain(AlertEnrichmentSpecStepExplainArgs.builder()
.annotation("string")
.timeout("string")
.build())
.external(AlertEnrichmentSpecStepExternalArgs.builder()
.timeout("string")
.url("string")
.build())
.sift(AlertEnrichmentSpecStepSiftArgs.builder()
.timeout("string")
.build())
.build())
.build())
.build());
alert_enrichment_resource = grafana.alerting.AlertEnrichment("alertEnrichmentResource",
metadata={
"uid": "string",
"annotations": {
"string": "string",
},
"folder_uid": "string",
"url": "string",
"uuid": "string",
"version": "string",
},
options={
"overwrite": False,
},
spec={
"title": "string",
"alert_rule_uids": ["string"],
"annotation_matchers": [{
"name": "string",
"type": "string",
"value": "string",
}],
"description": "string",
"disable_provenance": False,
"label_matchers": [{
"name": "string",
"type": "string",
"value": "string",
}],
"receivers": ["string"],
"steps": [{
"asserts": {
"timeout": "string",
},
"assign": {
"annotations": {
"string": "string",
},
"timeout": "string",
},
"assistant_investigations": {
"timeout": "string",
},
"conditional": {
"else_": {
"steps": [{
"asserts": {
"timeout": "string",
},
"assign": {
"annotations": {
"string": "string",
},
"timeout": "string",
},
"assistant_investigations": {
"timeout": "string",
},
"data_source": {
"logs_query": {
"data_source_type": "string",
"data_source_uid": "string",
"expr": "string",
"max_lines": 0,
},
"raw_query": {
"ref_id": "string",
"request": "string",
},
"timeout": "string",
},
"explain": {
"annotation": "string",
"timeout": "string",
},
"external": {
"timeout": "string",
"url": "string",
},
"sift": {
"timeout": "string",
},
}],
},
"if_": {
"annotation_matchers": [{
"name": "string",
"type": "string",
"value": "string",
}],
"data_source_condition": {
"request": "string",
},
"label_matchers": [{
"name": "string",
"type": "string",
"value": "string",
}],
},
"then": {
"steps": [{
"asserts": {
"timeout": "string",
},
"assign": {
"annotations": {
"string": "string",
},
"timeout": "string",
},
"assistant_investigations": {
"timeout": "string",
},
"data_source": {
"logs_query": {
"data_source_type": "string",
"data_source_uid": "string",
"expr": "string",
"max_lines": 0,
},
"raw_query": {
"ref_id": "string",
"request": "string",
},
"timeout": "string",
},
"explain": {
"annotation": "string",
"timeout": "string",
},
"external": {
"timeout": "string",
"url": "string",
},
"sift": {
"timeout": "string",
},
}],
},
"timeout": "string",
},
"data_source": {
"logs_query": {
"data_source_type": "string",
"data_source_uid": "string",
"expr": "string",
"max_lines": 0,
},
"raw_query": {
"ref_id": "string",
"request": "string",
},
"timeout": "string",
},
"explain": {
"annotation": "string",
"timeout": "string",
},
"external": {
"timeout": "string",
"url": "string",
},
"sift": {
"timeout": "string",
},
}],
})
const alertEnrichmentResource = new grafana.alerting.AlertEnrichment("alertEnrichmentResource", {
metadata: {
uid: "string",
annotations: {
string: "string",
},
folderUid: "string",
url: "string",
uuid: "string",
version: "string",
},
options: {
overwrite: false,
},
spec: {
title: "string",
alertRuleUids: ["string"],
annotationMatchers: [{
name: "string",
type: "string",
value: "string",
}],
description: "string",
disableProvenance: false,
labelMatchers: [{
name: "string",
type: "string",
value: "string",
}],
receivers: ["string"],
steps: [{
asserts: {
timeout: "string",
},
assign: {
annotations: {
string: "string",
},
timeout: "string",
},
assistantInvestigations: {
timeout: "string",
},
conditional: {
"else": {
steps: [{
asserts: {
timeout: "string",
},
assign: {
annotations: {
string: "string",
},
timeout: "string",
},
assistantInvestigations: {
timeout: "string",
},
dataSource: {
logsQuery: {
dataSourceType: "string",
dataSourceUid: "string",
expr: "string",
maxLines: 0,
},
rawQuery: {
refId: "string",
request: "string",
},
timeout: "string",
},
explain: {
annotation: "string",
timeout: "string",
},
external: {
timeout: "string",
url: "string",
},
sift: {
timeout: "string",
},
}],
},
"if": {
annotationMatchers: [{
name: "string",
type: "string",
value: "string",
}],
dataSourceCondition: {
request: "string",
},
labelMatchers: [{
name: "string",
type: "string",
value: "string",
}],
},
then: {
steps: [{
asserts: {
timeout: "string",
},
assign: {
annotations: {
string: "string",
},
timeout: "string",
},
assistantInvestigations: {
timeout: "string",
},
dataSource: {
logsQuery: {
dataSourceType: "string",
dataSourceUid: "string",
expr: "string",
maxLines: 0,
},
rawQuery: {
refId: "string",
request: "string",
},
timeout: "string",
},
explain: {
annotation: "string",
timeout: "string",
},
external: {
timeout: "string",
url: "string",
},
sift: {
timeout: "string",
},
}],
},
timeout: "string",
},
dataSource: {
logsQuery: {
dataSourceType: "string",
dataSourceUid: "string",
expr: "string",
maxLines: 0,
},
rawQuery: {
refId: "string",
request: "string",
},
timeout: "string",
},
explain: {
annotation: "string",
timeout: "string",
},
external: {
timeout: "string",
url: "string",
},
sift: {
timeout: "string",
},
}],
},
});
type: grafana:alerting:AlertEnrichment
properties:
metadata:
annotations:
string: string
folderUid: string
uid: string
url: string
uuid: string
version: string
options:
overwrite: false
spec:
alertRuleUids:
- string
annotationMatchers:
- name: string
type: string
value: string
description: string
disableProvenance: false
labelMatchers:
- name: string
type: string
value: string
receivers:
- string
steps:
- asserts:
timeout: string
assign:
annotations:
string: string
timeout: string
assistantInvestigations:
timeout: string
conditional:
else:
steps:
- asserts:
timeout: string
assign:
annotations:
string: string
timeout: string
assistantInvestigations:
timeout: string
dataSource:
logsQuery:
dataSourceType: string
dataSourceUid: string
expr: string
maxLines: 0
rawQuery:
refId: string
request: string
timeout: string
explain:
annotation: string
timeout: string
external:
timeout: string
url: string
sift:
timeout: string
if:
annotationMatchers:
- name: string
type: string
value: string
dataSourceCondition:
request: string
labelMatchers:
- name: string
type: string
value: string
then:
steps:
- asserts:
timeout: string
assign:
annotations:
string: string
timeout: string
assistantInvestigations:
timeout: string
dataSource:
logsQuery:
dataSourceType: string
dataSourceUid: string
expr: string
maxLines: 0
rawQuery:
refId: string
request: string
timeout: string
explain:
annotation: string
timeout: string
external:
timeout: string
url: string
sift:
timeout: string
timeout: string
dataSource:
logsQuery:
dataSourceType: string
dataSourceUid: string
expr: string
maxLines: 0
rawQuery:
refId: string
request: string
timeout: string
explain:
annotation: string
timeout: string
external:
timeout: string
url: string
sift:
timeout: string
title: string
AlertEnrichment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AlertEnrichment resource accepts the following input properties:
- Metadata
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec - The spec of the resource.
- Metadata
Alert
Enrichment Metadata Args - The metadata of the resource.
- Options
Alert
Enrichment Options Args - Options for applying the resource.
- Spec
Alert
Enrichment Spec Args - The spec of the resource.
- metadata
Alert
Enrichment Metadata - The metadata of the resource.
- options
Alert
Enrichment Options - Options for applying the resource.
- spec
Alert
Enrichment Spec - The spec of the resource.
- metadata
Alert
Enrichment Metadata - The metadata of the resource.
- options
Alert
Enrichment Options - Options for applying the resource.
- spec
Alert
Enrichment Spec - The spec of the resource.
- metadata
Alert
Enrichment Metadata Args - The metadata of the resource.
- options
Alert
Enrichment Options Args - Options for applying the resource.
- spec
Alert
Enrichment Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AlertEnrichment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AlertEnrichment Resource
Get an existing AlertEnrichment 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?: AlertEnrichmentState, opts?: CustomResourceOptions): AlertEnrichment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[AlertEnrichmentMetadataArgs] = None,
options: Optional[AlertEnrichmentOptionsArgs] = None,
spec: Optional[AlertEnrichmentSpecArgs] = None) -> AlertEnrichmentfunc GetAlertEnrichment(ctx *Context, name string, id IDInput, state *AlertEnrichmentState, opts ...ResourceOption) (*AlertEnrichment, error)public static AlertEnrichment Get(string name, Input<string> id, AlertEnrichmentState? state, CustomResourceOptions? opts = null)public static AlertEnrichment get(String name, Output<String> id, AlertEnrichmentState state, CustomResourceOptions options)resources: _: type: grafana:alerting:AlertEnrichment get: id: ${id}- 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.
- 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.
- Metadata
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Metadata - The metadata of the resource.
- Options
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Options - Options for applying the resource.
- Spec
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec - The spec of the resource.
- Metadata
Alert
Enrichment Metadata Args - The metadata of the resource.
- Options
Alert
Enrichment Options Args - Options for applying the resource.
- Spec
Alert
Enrichment Spec Args - The spec of the resource.
- metadata
Alert
Enrichment Metadata - The metadata of the resource.
- options
Alert
Enrichment Options - Options for applying the resource.
- spec
Alert
Enrichment Spec - The spec of the resource.
- metadata
Alert
Enrichment Metadata - The metadata of the resource.
- options
Alert
Enrichment Options - Options for applying the resource.
- spec
Alert
Enrichment Spec - The spec of the resource.
- metadata
Alert
Enrichment Metadata Args - The metadata of the resource.
- options
Alert
Enrichment Options Args - Options for applying the resource.
- spec
Alert
Enrichment Spec Args - The spec of the resource.
- metadata Property Map
- The metadata of the resource.
- options Property Map
- Options for applying the resource.
- spec Property Map
- The spec of the resource.
Supporting Types
AlertEnrichmentMetadata, AlertEnrichmentMetadataArgs
- Uid string
- The unique identifier of the resource.
- Annotations Dictionary<string, string>
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- Uid string
- The unique identifier of the resource.
- Annotations map[string]string
- Annotations of the resource.
- Folder
Uid string - The UID of the folder to save the resource in.
- Url string
- The full URL of the resource.
- Uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- Version string
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String,String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
- uid string
- The unique identifier of the resource.
- annotations {[key: string]: string}
- Annotations of the resource.
- folder
Uid string - The UID of the folder to save the resource in.
- url string
- The full URL of the resource.
- uuid string
- The globally unique identifier of a resource, used by the API for tracking.
- version string
- The version of the resource.
- uid str
- The unique identifier of the resource.
- annotations Mapping[str, str]
- Annotations of the resource.
- folder_
uid str - The UID of the folder to save the resource in.
- url str
- The full URL of the resource.
- uuid str
- The globally unique identifier of a resource, used by the API for tracking.
- version str
- The version of the resource.
- uid String
- The unique identifier of the resource.
- annotations Map<String>
- Annotations of the resource.
- folder
Uid String - The UID of the folder to save the resource in.
- url String
- The full URL of the resource.
- uuid String
- The globally unique identifier of a resource, used by the API for tracking.
- version String
- The version of the resource.
AlertEnrichmentOptions, AlertEnrichmentOptionsArgs
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- Overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite bool
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
- overwrite Boolean
- Set to true if you want to overwrite existing resource with newer version, same resource title in folder or same resource uid.
AlertEnrichmentSpec, AlertEnrichmentSpecArgs
- Title string
- The title of the alert enrichment.
- Alert
Rule List<string>Uids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- Annotation
Matchers List<Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Annotation Matcher> - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- Description string
- Description of the alert enrichment.
- Disable
Provenance bool - Label
Matchers List<Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Label Matcher> - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- Receivers List<string>
- Receiver names to match. If empty, applies to all receivers.
- Steps
List<Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step> - Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
- Title string
- The title of the alert enrichment.
- Alert
Rule []stringUids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- Annotation
Matchers []AlertEnrichment Spec Annotation Matcher - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- Description string
- Description of the alert enrichment.
- Disable
Provenance bool - Label
Matchers []AlertEnrichment Spec Label Matcher - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- Receivers []string
- Receiver names to match. If empty, applies to all receivers.
- Steps
[]Alert
Enrichment Spec Step - Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
- title String
- The title of the alert enrichment.
- alert
Rule List<String>Uids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- annotation
Matchers List<AlertEnrichment Spec Annotation Matcher> - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- description String
- Description of the alert enrichment.
- disable
Provenance Boolean - label
Matchers List<AlertEnrichment Spec Label Matcher> - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- receivers List<String>
- Receiver names to match. If empty, applies to all receivers.
- steps
List<Alert
Enrichment Spec Step> - Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
- title string
- The title of the alert enrichment.
- alert
Rule string[]Uids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- annotation
Matchers AlertEnrichment Spec Annotation Matcher[] - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- description string
- Description of the alert enrichment.
- disable
Provenance boolean - label
Matchers AlertEnrichment Spec Label Matcher[] - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- receivers string[]
- Receiver names to match. If empty, applies to all receivers.
- steps
Alert
Enrichment Spec Step[] - Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
- title str
- The title of the alert enrichment.
- alert_
rule_ Sequence[str]uids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- annotation_
matchers Sequence[AlertEnrichment Spec Annotation Matcher] - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- description str
- Description of the alert enrichment.
- disable_
provenance bool - label_
matchers Sequence[AlertEnrichment Spec Label Matcher] - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- receivers Sequence[str]
- Receiver names to match. If empty, applies to all receivers.
- steps
Sequence[Alert
Enrichment Spec Step] - Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
- title String
- The title of the alert enrichment.
- alert
Rule List<String>Uids - UIDs of alert rules this enrichment applies to. If empty, applies to all alert rules.
- annotation
Matchers List<Property Map> - Annotation matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, annotation key to match), 'value' (string, annotation value to compare against, supports regex for =~/!~ operators).
- description String
- Description of the alert enrichment.
- disable
Provenance Boolean - label
Matchers List<Property Map> - Label matchers that an alert must satisfy for this enrichment to apply. Each matcher is an object with: 'type' (string, one of: =, !=, =~, !~), 'name' (string, label key to match), 'value' (string, label value to compare against, supports regex for =~/!~ operators).
- receivers List<String>
- Receiver names to match. If empty, applies to all receivers.
- steps List<Property Map>
- Enrichment step. Can be repeated multiple times to define a sequence of steps. Each step must contain exactly one enrichment block.
AlertEnrichmentSpecAnnotationMatcher, AlertEnrichmentSpecAnnotationMatcherArgs
AlertEnrichmentSpecLabelMatcher, AlertEnrichmentSpecLabelMatcherArgs
AlertEnrichmentSpecStep, AlertEnrichmentSpecStepArgs
- Asserts
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Assign - Assign annotations to an alert.
- Assistant
Investigations Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Conditional
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional - Conditional step with if/then/else.
- Data
Source Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Explain - Generate AI explanation and store in an annotation.
- External
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step External - Call an external HTTP service for enrichment.
- Sift
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Sift - Analyze alerts for patterns and insights.
- Asserts
Alert
Enrichment Spec Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Alert
Enrichment Spec Step Assign - Assign annotations to an alert.
- Assistant
Investigations AlertEnrichment Spec Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Conditional
Alert
Enrichment Spec Step Conditional - Conditional step with if/then/else.
- Data
Source AlertEnrichment Spec Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Alert
Enrichment Spec Step Explain - Generate AI explanation and store in an annotation.
- External
Alert
Enrichment Spec Step External - Call an external HTTP service for enrichment.
- Sift
Alert
Enrichment Spec Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- conditional
Alert
Enrichment Spec Step Conditional - Conditional step with if/then/else.
- data
Source AlertEnrichment Spec Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- conditional
Alert
Enrichment Spec Step Conditional - Conditional step with if/then/else.
- data
Source AlertEnrichment Spec Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Assign - Assign annotations to an alert.
- assistant_
investigations AlertEnrichment Spec Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- conditional
Alert
Enrichment Spec Step Conditional - Conditional step with if/then/else.
- data_
source AlertEnrichment Spec Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Sift - Analyze alerts for patterns and insights.
- asserts Property Map
- Integrate with Grafana Asserts for enrichment.
- assign Property Map
- Assign annotations to an alert.
- assistant
Investigations Property Map - Use AI assistant to investigate alerts and add insights.
- conditional Property Map
- Conditional step with if/then/else.
- data
Source Property Map - Query Grafana data sources and add results to alerts.
- explain Property Map
- Generate AI explanation and store in an annotation.
- external Property Map
- Call an external HTTP service for enrichment.
- sift Property Map
- Analyze alerts for patterns and insights.
AlertEnrichmentSpecStepAsserts, AlertEnrichmentSpecStepAssertsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepAssign, AlertEnrichmentSpecStepAssignArgs
- Annotations Dictionary<string, string>
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotations map[string]string
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String,String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotations {[key: string]: string}
- Map of annotation names to values to set on matching alerts.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Mapping[str, str]
- Map of annotation names to values to set on matching alerts.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepAssistantInvestigations, AlertEnrichmentSpecStepAssistantInvestigationsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditional, AlertEnrichmentSpecStepConditionalArgs
- Else
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else - Steps when condition is false.
- If
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional If - Condition to evaluate.
- Then
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then - Steps when condition is true.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Else
Alert
Enrichment Spec Step Conditional Else - Steps when condition is false.
- If
Alert
Enrichment Spec Step Conditional If - Condition to evaluate.
- Then
Alert
Enrichment Spec Step Conditional Then - Steps when condition is true.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- else_
Alert
Enrichment Spec Step Conditional Else - Steps when condition is false.
- if_
Alert
Enrichment Spec Step Conditional If - Condition to evaluate.
- then
Alert
Enrichment Spec Step Conditional Then - Steps when condition is true.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- else
Alert
Enrichment Spec Step Conditional Else - Steps when condition is false.
- if
Alert
Enrichment Spec Step Conditional If - Condition to evaluate.
- then
Alert
Enrichment Spec Step Conditional Then - Steps when condition is true.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- else_
Alert
Enrichment Spec Step Conditional Else - Steps when condition is false.
- if_
Alert
Enrichment Spec Step Conditional If - Condition to evaluate.
- then
Alert
Enrichment Spec Step Conditional Then - Steps when condition is true.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- else Property Map
- Steps when condition is false.
- if Property Map
- Condition to evaluate.
- then Property Map
- Steps when condition is true.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElse, AlertEnrichmentSpecStepConditionalElseArgs
AlertEnrichmentSpecStepConditionalElseStep, AlertEnrichmentSpecStepConditionalElseStepArgs
- Asserts
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Assign - Assign annotations to an alert.
- Assistant
Investigations Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Data
Source Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Explain - Generate AI explanation and store in an annotation.
- External
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step External - Call an external HTTP service for enrichment.
- Sift
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Sift - Analyze alerts for patterns and insights.
- Asserts
Alert
Enrichment Spec Step Conditional Else Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Alert
Enrichment Spec Step Conditional Else Step Assign - Assign annotations to an alert.
- Assistant
Investigations AlertEnrichment Spec Step Conditional Else Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Data
Source AlertEnrichment Spec Step Conditional Else Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Alert
Enrichment Spec Step Conditional Else Step Explain - Generate AI explanation and store in an annotation.
- External
Alert
Enrichment Spec Step Conditional Else Step External - Call an external HTTP service for enrichment.
- Sift
Alert
Enrichment Spec Step Conditional Else Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Else Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Else Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Conditional Else Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data
Source AlertEnrichment Spec Step Conditional Else Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Else Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Else Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Else Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Else Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Else Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Conditional Else Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data
Source AlertEnrichment Spec Step Conditional Else Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Else Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Else Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Else Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Else Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Else Step Assign - Assign annotations to an alert.
- assistant_
investigations AlertEnrichment Spec Step Conditional Else Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data_
source AlertEnrichment Spec Step Conditional Else Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Else Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Else Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Else Step Sift - Analyze alerts for patterns and insights.
- asserts Property Map
- Integrate with Grafana Asserts for enrichment.
- assign Property Map
- Assign annotations to an alert.
- assistant
Investigations Property Map - Use AI assistant to investigate alerts and add insights.
- data
Source Property Map - Query Grafana data sources and add results to alerts.
- explain Property Map
- Generate AI explanation and store in an annotation.
- external Property Map
- Call an external HTTP service for enrichment.
- sift Property Map
- Analyze alerts for patterns and insights.
AlertEnrichmentSpecStepConditionalElseStepAsserts, AlertEnrichmentSpecStepConditionalElseStepAssertsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElseStepAssign, AlertEnrichmentSpecStepConditionalElseStepAssignArgs
- Annotations Dictionary<string, string>
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotations map[string]string
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String,String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotations {[key: string]: string}
- Map of annotation names to values to set on matching alerts.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Mapping[str, str]
- Map of annotation names to values to set on matching alerts.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigations, AlertEnrichmentSpecStepConditionalElseStepAssistantInvestigationsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElseStepDataSource, AlertEnrichmentSpecStepConditionalElseStepDataSourceArgs
- Logs
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Else Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Logs
Query AlertEnrichment Spec Step Conditional Else Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query AlertEnrichment Spec Step Conditional Else Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Conditional Else Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Conditional Else Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Conditional Else Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Conditional Else Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs_
query AlertEnrichment Spec Step Conditional Else Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw_
query AlertEnrichment Spec Step Conditional Else Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- logs
Query Property Map - Logs query configuration for querying log data sources.
- raw
Query Property Map - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQuery, AlertEnrichmentSpecStepConditionalElseStepDataSourceLogsQueryArgs
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Integer - Maximum number of log lines to include. Defaults to 3.
- data
Source stringType - Data source type (e.g., 'loki').
- data
Source stringUid - UID of the data source to query.
- expr string
- Log query expression to execute.
- max
Lines number - Maximum number of log lines to include. Defaults to 3.
- data_
source_ strtype - Data source type (e.g., 'loki').
- data_
source_ struid - UID of the data source to query.
- expr str
- Log query expression to execute.
- max_
lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Number - Maximum number of log lines to include. Defaults to 3.
AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQuery, AlertEnrichmentSpecStepConditionalElseStepDataSourceRawQueryArgs
AlertEnrichmentSpecStepConditionalElseStepExplain, AlertEnrichmentSpecStepConditionalElseStepExplainArgs
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation str
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalElseStepExternal, AlertEnrichmentSpecStepConditionalElseStepExternalArgs
AlertEnrichmentSpecStepConditionalElseStepSift, AlertEnrichmentSpecStepConditionalElseStepSiftArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalIf, AlertEnrichmentSpecStepConditionalIfArgs
- Annotation
Matchers List<Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional If Annotation Matcher> - Annotation matchers for the condition.
- Data
Source Pulumiverse.Condition Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional If Data Source Condition - Data source condition.
- Label
Matchers List<Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional If Label Matcher> - Label matchers for the condition.
- Annotation
Matchers []AlertEnrichment Spec Step Conditional If Annotation Matcher - Annotation matchers for the condition.
- Data
Source AlertCondition Enrichment Spec Step Conditional If Data Source Condition - Data source condition.
- Label
Matchers []AlertEnrichment Spec Step Conditional If Label Matcher - Label matchers for the condition.
- annotation
Matchers List<AlertEnrichment Spec Step Conditional If Annotation Matcher> - Annotation matchers for the condition.
- data
Source AlertCondition Enrichment Spec Step Conditional If Data Source Condition - Data source condition.
- label
Matchers List<AlertEnrichment Spec Step Conditional If Label Matcher> - Label matchers for the condition.
- annotation
Matchers AlertEnrichment Spec Step Conditional If Annotation Matcher[] - Annotation matchers for the condition.
- data
Source AlertCondition Enrichment Spec Step Conditional If Data Source Condition - Data source condition.
- label
Matchers AlertEnrichment Spec Step Conditional If Label Matcher[] - Label matchers for the condition.
- annotation_
matchers Sequence[AlertEnrichment Spec Step Conditional If Annotation Matcher] - Annotation matchers for the condition.
- data_
source_ Alertcondition Enrichment Spec Step Conditional If Data Source Condition - Data source condition.
- label_
matchers Sequence[AlertEnrichment Spec Step Conditional If Label Matcher] - Label matchers for the condition.
- annotation
Matchers List<Property Map> - Annotation matchers for the condition.
- data
Source Property MapCondition - Data source condition.
- label
Matchers List<Property Map> - Label matchers for the condition.
AlertEnrichmentSpecStepConditionalIfAnnotationMatcher, AlertEnrichmentSpecStepConditionalIfAnnotationMatcherArgs
AlertEnrichmentSpecStepConditionalIfDataSourceCondition, AlertEnrichmentSpecStepConditionalIfDataSourceConditionArgs
- Request string
- Data source request payload.
- Request string
- Data source request payload.
- request String
- Data source request payload.
- request string
- Data source request payload.
- request str
- Data source request payload.
- request String
- Data source request payload.
AlertEnrichmentSpecStepConditionalIfLabelMatcher, AlertEnrichmentSpecStepConditionalIfLabelMatcherArgs
AlertEnrichmentSpecStepConditionalThen, AlertEnrichmentSpecStepConditionalThenArgs
AlertEnrichmentSpecStepConditionalThenStep, AlertEnrichmentSpecStepConditionalThenStepArgs
- Asserts
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Assign - Assign annotations to an alert.
- Assistant
Investigations Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Data
Source Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Explain - Generate AI explanation and store in an annotation.
- External
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step External - Call an external HTTP service for enrichment.
- Sift
Pulumiverse.
Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Sift - Analyze alerts for patterns and insights.
- Asserts
Alert
Enrichment Spec Step Conditional Then Step Asserts - Integrate with Grafana Asserts for enrichment.
- Assign
Alert
Enrichment Spec Step Conditional Then Step Assign - Assign annotations to an alert.
- Assistant
Investigations AlertEnrichment Spec Step Conditional Then Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- Data
Source AlertEnrichment Spec Step Conditional Then Step Data Source - Query Grafana data sources and add results to alerts.
- Explain
Alert
Enrichment Spec Step Conditional Then Step Explain - Generate AI explanation and store in an annotation.
- External
Alert
Enrichment Spec Step Conditional Then Step External - Call an external HTTP service for enrichment.
- Sift
Alert
Enrichment Spec Step Conditional Then Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Then Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Then Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Conditional Then Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data
Source AlertEnrichment Spec Step Conditional Then Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Then Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Then Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Then Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Then Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Then Step Assign - Assign annotations to an alert.
- assistant
Investigations AlertEnrichment Spec Step Conditional Then Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data
Source AlertEnrichment Spec Step Conditional Then Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Then Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Then Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Then Step Sift - Analyze alerts for patterns and insights.
- asserts
Alert
Enrichment Spec Step Conditional Then Step Asserts - Integrate with Grafana Asserts for enrichment.
- assign
Alert
Enrichment Spec Step Conditional Then Step Assign - Assign annotations to an alert.
- assistant_
investigations AlertEnrichment Spec Step Conditional Then Step Assistant Investigations - Use AI assistant to investigate alerts and add insights.
- data_
source AlertEnrichment Spec Step Conditional Then Step Data Source - Query Grafana data sources and add results to alerts.
- explain
Alert
Enrichment Spec Step Conditional Then Step Explain - Generate AI explanation and store in an annotation.
- external
Alert
Enrichment Spec Step Conditional Then Step External - Call an external HTTP service for enrichment.
- sift
Alert
Enrichment Spec Step Conditional Then Step Sift - Analyze alerts for patterns and insights.
- asserts Property Map
- Integrate with Grafana Asserts for enrichment.
- assign Property Map
- Assign annotations to an alert.
- assistant
Investigations Property Map - Use AI assistant to investigate alerts and add insights.
- data
Source Property Map - Query Grafana data sources and add results to alerts.
- explain Property Map
- Generate AI explanation and store in an annotation.
- external Property Map
- Call an external HTTP service for enrichment.
- sift Property Map
- Analyze alerts for patterns and insights.
AlertEnrichmentSpecStepConditionalThenStepAsserts, AlertEnrichmentSpecStepConditionalThenStepAssertsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalThenStepAssign, AlertEnrichmentSpecStepConditionalThenStepAssignArgs
- Annotations Dictionary<string, string>
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotations map[string]string
- Map of annotation names to values to set on matching alerts.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String,String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotations {[key: string]: string}
- Map of annotation names to values to set on matching alerts.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotations Mapping[str, str]
- Map of annotation names to values to set on matching alerts.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotations Map<String>
- Map of annotation names to values to set on matching alerts.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigations, AlertEnrichmentSpecStepConditionalThenStepAssistantInvestigationsArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalThenStepDataSource, AlertEnrichmentSpecStepConditionalThenStepDataSourceArgs
- Logs
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Conditional Then Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Logs
Query AlertEnrichment Spec Step Conditional Then Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query AlertEnrichment Spec Step Conditional Then Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Conditional Then Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Conditional Then Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Conditional Then Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Conditional Then Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs_
query AlertEnrichment Spec Step Conditional Then Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw_
query AlertEnrichment Spec Step Conditional Then Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- logs
Query Property Map - Logs query configuration for querying log data sources.
- raw
Query Property Map - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQuery, AlertEnrichmentSpecStepConditionalThenStepDataSourceLogsQueryArgs
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Integer - Maximum number of log lines to include. Defaults to 3.
- data
Source stringType - Data source type (e.g., 'loki').
- data
Source stringUid - UID of the data source to query.
- expr string
- Log query expression to execute.
- max
Lines number - Maximum number of log lines to include. Defaults to 3.
- data_
source_ strtype - Data source type (e.g., 'loki').
- data_
source_ struid - UID of the data source to query.
- expr str
- Log query expression to execute.
- max_
lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Number - Maximum number of log lines to include. Defaults to 3.
AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQuery, AlertEnrichmentSpecStepConditionalThenStepDataSourceRawQueryArgs
AlertEnrichmentSpecStepConditionalThenStepExplain, AlertEnrichmentSpecStepConditionalThenStepExplainArgs
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation str
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepConditionalThenStepExternal, AlertEnrichmentSpecStepConditionalThenStepExternalArgs
AlertEnrichmentSpecStepConditionalThenStepSift, AlertEnrichmentSpecStepConditionalThenStepSiftArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepDataSource, AlertEnrichmentSpecStepDataSourceArgs
- Logs
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query Pulumiverse.Grafana. Alerting. Inputs. Alert Enrichment Spec Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Logs
Query AlertEnrichment Spec Step Data Source Logs Query - Logs query configuration for querying log data sources.
- Raw
Query AlertEnrichment Spec Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- logs
Query AlertEnrichment Spec Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw
Query AlertEnrichment Spec Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- logs_
query AlertEnrichment Spec Step Data Source Logs Query - Logs query configuration for querying log data sources.
- raw_
query AlertEnrichment Spec Step Data Source Raw Query - Raw query configuration for advanced data source queries.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- logs
Query Property Map - Logs query configuration for querying log data sources.
- raw
Query Property Map - Raw query configuration for advanced data source queries.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepDataSourceLogsQuery, AlertEnrichmentSpecStepDataSourceLogsQueryArgs
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- Data
Source stringType - Data source type (e.g., 'loki').
- Data
Source stringUid - UID of the data source to query.
- Expr string
- Log query expression to execute.
- Max
Lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Integer - Maximum number of log lines to include. Defaults to 3.
- data
Source stringType - Data source type (e.g., 'loki').
- data
Source stringUid - UID of the data source to query.
- expr string
- Log query expression to execute.
- max
Lines number - Maximum number of log lines to include. Defaults to 3.
- data_
source_ strtype - Data source type (e.g., 'loki').
- data_
source_ struid - UID of the data source to query.
- expr str
- Log query expression to execute.
- max_
lines int - Maximum number of log lines to include. Defaults to 3.
- data
Source StringType - Data source type (e.g., 'loki').
- data
Source StringUid - UID of the data source to query.
- expr String
- Log query expression to execute.
- max
Lines Number - Maximum number of log lines to include. Defaults to 3.
AlertEnrichmentSpecStepDataSourceRawQuery, AlertEnrichmentSpecStepDataSourceRawQueryArgs
AlertEnrichmentSpecStepExplain, AlertEnrichmentSpecStepExplainArgs
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- annotation string
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- annotation str
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- annotation String
- Annotation name to set the explanation in. Defaults to 'ai_explanation'.
- timeout String
- Maximum execution time (e.g., '30s', '1m')
AlertEnrichmentSpecStepExternal, AlertEnrichmentSpecStepExternalArgs
AlertEnrichmentSpecStepSift, AlertEnrichmentSpecStepSiftArgs
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- Timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
- timeout string
- Maximum execution time (e.g., '30s', '1m')
- timeout str
- Maximum execution time (e.g., '30s', '1m')
- timeout String
- Maximum execution time (e.g., '30s', '1m')
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
