@pulumiverse/grafana 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cloud/getIps.d.ts CHANGED
@@ -32,6 +32,10 @@ export interface GetIpsResult {
32
32
  * Set of IP addresses that are used for hosted metrics.
33
33
  */
34
34
  readonly hostedMetrics: string[];
35
+ /**
36
+ * Set of IP addresses that are used for hosted profiles.
37
+ */
38
+ readonly hostedProfiles: string[];
35
39
  /**
36
40
  * Set of IP addresses that are used for hosted traces.
37
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getIps.js","sourceRoot":"","sources":["../../cloud/getIps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,MAAM,CAAC,IAA2B;IAC9C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE,EAC3D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wBAIC;AA+BD;;;;;;;;;;;GAWG;AACH,SAAgB,YAAY,CAAC,IAAiC;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE,EACjE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC"}
1
+ {"version":3,"file":"getIps.js","sourceRoot":"","sources":["../../cloud/getIps.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,MAAM,CAAC,IAA2B;IAC9C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE,EAC3D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wBAIC;AAmCD;;;;;;;;;;;GAWG;AACH,SAAgB,YAAY,CAAC,IAAiC;IAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE,EACjE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oCAIC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/grafana",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "A Pulumi package for creating and managing grafana.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,7 +24,7 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "grafana",
27
- "version": "2.6.0",
27
+ "version": "2.7.0",
28
28
  "server": "github://api.github.com/pulumiverse"
29
29
  }
30
30
  }
package/types/input.d.ts CHANGED
@@ -70,10 +70,40 @@ export declare namespace alerting {
70
70
  value: pulumi.Input<string>;
71
71
  }
72
72
  interface AlertEnrichmentSpecStep {
73
+ /**
74
+ * Integrate with Grafana Asserts for enrichment.
75
+ */
76
+ asserts?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepAsserts>;
73
77
  /**
74
78
  * Assign annotations to an alert.
75
79
  */
76
80
  assign?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepAssign>;
81
+ /**
82
+ * Use AI assistant to investigate alerts and add insights.
83
+ */
84
+ assistantInvestigations?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepAssistantInvestigations>;
85
+ /**
86
+ * Query Grafana data sources and add results to alerts.
87
+ */
88
+ dataSource?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepDataSource>;
89
+ /**
90
+ * Generate AI explanation and store in an annotation.
91
+ */
92
+ explain?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepExplain>;
93
+ /**
94
+ * Call an external HTTP service for enrichment.
95
+ */
96
+ external?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepExternal>;
97
+ /**
98
+ * Analyze alerts for patterns and insights.
99
+ */
100
+ sift?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepSift>;
101
+ }
102
+ interface AlertEnrichmentSpecStepAsserts {
103
+ /**
104
+ * Maximum execution time (e.g., '30s', '1m')
105
+ */
106
+ timeout?: pulumi.Input<string>;
77
107
  }
78
108
  interface AlertEnrichmentSpecStepAssign {
79
109
  /**
@@ -87,6 +117,80 @@ export declare namespace alerting {
87
117
  */
88
118
  timeout?: pulumi.Input<string>;
89
119
  }
120
+ interface AlertEnrichmentSpecStepAssistantInvestigations {
121
+ /**
122
+ * Maximum execution time (e.g., '30s', '1m')
123
+ */
124
+ timeout?: pulumi.Input<string>;
125
+ }
126
+ interface AlertEnrichmentSpecStepDataSource {
127
+ /**
128
+ * Logs query configuration for querying log data sources.
129
+ */
130
+ logsQuery?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepDataSourceLogsQuery>;
131
+ /**
132
+ * Raw query configuration for advanced data source queries.
133
+ */
134
+ rawQuery?: pulumi.Input<inputs.alerting.AlertEnrichmentSpecStepDataSourceRawQuery>;
135
+ /**
136
+ * Maximum execution time (e.g., '30s', '1m')
137
+ */
138
+ timeout?: pulumi.Input<string>;
139
+ }
140
+ interface AlertEnrichmentSpecStepDataSourceLogsQuery {
141
+ /**
142
+ * Data source type (e.g., 'loki').
143
+ */
144
+ dataSourceType?: pulumi.Input<string>;
145
+ /**
146
+ * UID of the data source to query.
147
+ */
148
+ dataSourceUid?: pulumi.Input<string>;
149
+ /**
150
+ * Log query expression to execute.
151
+ */
152
+ expr?: pulumi.Input<string>;
153
+ /**
154
+ * Maximum number of log lines to include. Defaults to 3.
155
+ */
156
+ maxLines?: pulumi.Input<number>;
157
+ }
158
+ interface AlertEnrichmentSpecStepDataSourceRawQuery {
159
+ /**
160
+ * Reference ID for correlating queries.
161
+ */
162
+ refId?: pulumi.Input<string>;
163
+ /**
164
+ * Raw request payload for the data source query.
165
+ */
166
+ request?: pulumi.Input<string>;
167
+ }
168
+ interface AlertEnrichmentSpecStepExplain {
169
+ /**
170
+ * Annotation name to set the explanation in. Defaults to 'ai_explanation'.
171
+ */
172
+ annotation?: pulumi.Input<string>;
173
+ /**
174
+ * Maximum execution time (e.g., '30s', '1m')
175
+ */
176
+ timeout?: pulumi.Input<string>;
177
+ }
178
+ interface AlertEnrichmentSpecStepExternal {
179
+ /**
180
+ * Maximum execution time (e.g., '30s', '1m')
181
+ */
182
+ timeout?: pulumi.Input<string>;
183
+ /**
184
+ * HTTP endpoint URL to call for enrichment
185
+ */
186
+ url?: pulumi.Input<string>;
187
+ }
188
+ interface AlertEnrichmentSpecStepSift {
189
+ /**
190
+ * Maximum execution time (e.g., '30s', '1m')
191
+ */
192
+ timeout?: pulumi.Input<string>;
193
+ }
90
194
  interface ContactPointAlertmanager {
91
195
  /**
92
196
  * The password component of the basic auth credentials to use.
package/types/output.d.ts CHANGED
@@ -40,7 +40,7 @@ export declare namespace alerting {
40
40
  /**
41
41
  * Description of the alert enrichment.
42
42
  */
43
- description?: string;
43
+ description: string;
44
44
  /**
45
45
  * 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).
46
46
  */
@@ -69,10 +69,40 @@ export declare namespace alerting {
69
69
  value: string;
70
70
  }
71
71
  interface AlertEnrichmentSpecStep {
72
+ /**
73
+ * Integrate with Grafana Asserts for enrichment.
74
+ */
75
+ asserts?: outputs.alerting.AlertEnrichmentSpecStepAsserts;
72
76
  /**
73
77
  * Assign annotations to an alert.
74
78
  */
75
79
  assign?: outputs.alerting.AlertEnrichmentSpecStepAssign;
80
+ /**
81
+ * Use AI assistant to investigate alerts and add insights.
82
+ */
83
+ assistantInvestigations?: outputs.alerting.AlertEnrichmentSpecStepAssistantInvestigations;
84
+ /**
85
+ * Query Grafana data sources and add results to alerts.
86
+ */
87
+ dataSource?: outputs.alerting.AlertEnrichmentSpecStepDataSource;
88
+ /**
89
+ * Generate AI explanation and store in an annotation.
90
+ */
91
+ explain?: outputs.alerting.AlertEnrichmentSpecStepExplain;
92
+ /**
93
+ * Call an external HTTP service for enrichment.
94
+ */
95
+ external?: outputs.alerting.AlertEnrichmentSpecStepExternal;
96
+ /**
97
+ * Analyze alerts for patterns and insights.
98
+ */
99
+ sift?: outputs.alerting.AlertEnrichmentSpecStepSift;
100
+ }
101
+ interface AlertEnrichmentSpecStepAsserts {
102
+ /**
103
+ * Maximum execution time (e.g., '30s', '1m')
104
+ */
105
+ timeout?: string;
76
106
  }
77
107
  interface AlertEnrichmentSpecStepAssign {
78
108
  /**
@@ -86,6 +116,80 @@ export declare namespace alerting {
86
116
  */
87
117
  timeout?: string;
88
118
  }
119
+ interface AlertEnrichmentSpecStepAssistantInvestigations {
120
+ /**
121
+ * Maximum execution time (e.g., '30s', '1m')
122
+ */
123
+ timeout?: string;
124
+ }
125
+ interface AlertEnrichmentSpecStepDataSource {
126
+ /**
127
+ * Logs query configuration for querying log data sources.
128
+ */
129
+ logsQuery?: outputs.alerting.AlertEnrichmentSpecStepDataSourceLogsQuery;
130
+ /**
131
+ * Raw query configuration for advanced data source queries.
132
+ */
133
+ rawQuery?: outputs.alerting.AlertEnrichmentSpecStepDataSourceRawQuery;
134
+ /**
135
+ * Maximum execution time (e.g., '30s', '1m')
136
+ */
137
+ timeout?: string;
138
+ }
139
+ interface AlertEnrichmentSpecStepDataSourceLogsQuery {
140
+ /**
141
+ * Data source type (e.g., 'loki').
142
+ */
143
+ dataSourceType?: string;
144
+ /**
145
+ * UID of the data source to query.
146
+ */
147
+ dataSourceUid?: string;
148
+ /**
149
+ * Log query expression to execute.
150
+ */
151
+ expr?: string;
152
+ /**
153
+ * Maximum number of log lines to include. Defaults to 3.
154
+ */
155
+ maxLines: number;
156
+ }
157
+ interface AlertEnrichmentSpecStepDataSourceRawQuery {
158
+ /**
159
+ * Reference ID for correlating queries.
160
+ */
161
+ refId: string;
162
+ /**
163
+ * Raw request payload for the data source query.
164
+ */
165
+ request?: string;
166
+ }
167
+ interface AlertEnrichmentSpecStepExplain {
168
+ /**
169
+ * Annotation name to set the explanation in. Defaults to 'ai_explanation'.
170
+ */
171
+ annotation: string;
172
+ /**
173
+ * Maximum execution time (e.g., '30s', '1m')
174
+ */
175
+ timeout?: string;
176
+ }
177
+ interface AlertEnrichmentSpecStepExternal {
178
+ /**
179
+ * Maximum execution time (e.g., '30s', '1m')
180
+ */
181
+ timeout?: string;
182
+ /**
183
+ * HTTP endpoint URL to call for enrichment
184
+ */
185
+ url?: string;
186
+ }
187
+ interface AlertEnrichmentSpecStepSift {
188
+ /**
189
+ * Maximum execution time (e.g., '30s', '1m')
190
+ */
191
+ timeout?: string;
192
+ }
89
193
  interface ContactPointAlertmanager {
90
194
  /**
91
195
  * The password component of the basic auth credentials to use.