@jooon/pulumi-signoz 0.1.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.
Files changed (51) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +114 -0
  3. package/alert.d.ts +307 -0
  4. package/alert.d.ts.map +1 -0
  5. package/alert.js +128 -0
  6. package/alert.js.map +1 -0
  7. package/config/index.d.ts +2 -0
  8. package/config/index.d.ts.map +1 -0
  9. package/config/index.js +21 -0
  10. package/config/index.js.map +1 -0
  11. package/config/vars.d.ts +22 -0
  12. package/config/vars.d.ts.map +1 -0
  13. package/config/vars.js +54 -0
  14. package/config/vars.js.map +1 -0
  15. package/dashboard.d.ts +186 -0
  16. package/dashboard.d.ts.map +1 -0
  17. package/dashboard.js +126 -0
  18. package/dashboard.js.map +1 -0
  19. package/getAlert.d.ts +47 -0
  20. package/getAlert.d.ts.map +1 -0
  21. package/getAlert.js +45 -0
  22. package/getAlert.js.map +1 -0
  23. package/getDashboard.d.ts +36 -0
  24. package/getDashboard.d.ts.map +1 -0
  25. package/getDashboard.js +47 -0
  26. package/getDashboard.js.map +1 -0
  27. package/index.d.ts +17 -0
  28. package/index.d.ts.map +1 -0
  29. package/index.js +75 -0
  30. package/index.js.map +1 -0
  31. package/package.json +30 -0
  32. package/provider.d.ts +74 -0
  33. package/provider.d.ts.map +1 -0
  34. package/provider.js +81 -0
  35. package/provider.js.map +1 -0
  36. package/types/index.d.ts +4 -0
  37. package/types/index.d.ts.map +1 -0
  38. package/types/index.js +34 -0
  39. package/types/index.js.map +1 -0
  40. package/types/input.d.ts +31 -0
  41. package/types/input.d.ts.map +1 -0
  42. package/types/input.js +5 -0
  43. package/types/input.js.map +1 -0
  44. package/types/output.d.ts +58 -0
  45. package/types/output.d.ts.map +1 -0
  46. package/types/output.js +5 -0
  47. package/types/output.js.map +1 -0
  48. package/utilities.d.ts +5 -0
  49. package/utilities.d.ts.map +1 -0
  50. package/utilities.js +114 -0
  51. package/utilities.js.map +1 -0
package/alert.js ADDED
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Alert = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Alert extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Alert resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new Alert(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'signoz:index/alert:Alert';
46
+ /**
47
+ * Returns true if the given object is an instance of Alert. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === Alert.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["alert"] = state?.alert;
62
+ resourceInputs["alertType"] = state?.alertType;
63
+ resourceInputs["broadcastToAll"] = state?.broadcastToAll;
64
+ resourceInputs["condition"] = state?.condition;
65
+ resourceInputs["createAt"] = state?.createAt;
66
+ resourceInputs["createBy"] = state?.createBy;
67
+ resourceInputs["description"] = state?.description;
68
+ resourceInputs["disabled"] = state?.disabled;
69
+ resourceInputs["evalWindow"] = state?.evalWindow;
70
+ resourceInputs["evaluation"] = state?.evaluation;
71
+ resourceInputs["frequency"] = state?.frequency;
72
+ resourceInputs["labels"] = state?.labels;
73
+ resourceInputs["notificationSettings"] = state?.notificationSettings;
74
+ resourceInputs["preferredChannels"] = state?.preferredChannels;
75
+ resourceInputs["ruleType"] = state?.ruleType;
76
+ resourceInputs["schemaVersion"] = state?.schemaVersion;
77
+ resourceInputs["severity"] = state?.severity;
78
+ resourceInputs["source"] = state?.source;
79
+ resourceInputs["state"] = state?.state;
80
+ resourceInputs["summary"] = state?.summary;
81
+ resourceInputs["updateAt"] = state?.updateAt;
82
+ resourceInputs["updateBy"] = state?.updateBy;
83
+ resourceInputs["version"] = state?.version;
84
+ }
85
+ else {
86
+ const args = argsOrState;
87
+ if (args?.alert === undefined && !opts.urn) {
88
+ throw new Error("Missing required property 'alert'");
89
+ }
90
+ if (args?.alertType === undefined && !opts.urn) {
91
+ throw new Error("Missing required property 'alertType'");
92
+ }
93
+ if (args?.condition === undefined && !opts.urn) {
94
+ throw new Error("Missing required property 'condition'");
95
+ }
96
+ if (args?.severity === undefined && !opts.urn) {
97
+ throw new Error("Missing required property 'severity'");
98
+ }
99
+ resourceInputs["alert"] = args?.alert;
100
+ resourceInputs["alertType"] = args?.alertType;
101
+ resourceInputs["broadcastToAll"] = args?.broadcastToAll;
102
+ resourceInputs["condition"] = args?.condition;
103
+ resourceInputs["description"] = args?.description;
104
+ resourceInputs["disabled"] = args?.disabled;
105
+ resourceInputs["evalWindow"] = args?.evalWindow;
106
+ resourceInputs["evaluation"] = args?.evaluation;
107
+ resourceInputs["frequency"] = args?.frequency;
108
+ resourceInputs["labels"] = args?.labels;
109
+ resourceInputs["notificationSettings"] = args?.notificationSettings;
110
+ resourceInputs["preferredChannels"] = args?.preferredChannels;
111
+ resourceInputs["ruleType"] = args?.ruleType;
112
+ resourceInputs["schemaVersion"] = args?.schemaVersion;
113
+ resourceInputs["severity"] = args?.severity;
114
+ resourceInputs["source"] = args?.source;
115
+ resourceInputs["summary"] = args?.summary;
116
+ resourceInputs["version"] = args?.version;
117
+ resourceInputs["createAt"] = undefined /*out*/;
118
+ resourceInputs["createBy"] = undefined /*out*/;
119
+ resourceInputs["state"] = undefined /*out*/;
120
+ resourceInputs["updateAt"] = undefined /*out*/;
121
+ resourceInputs["updateBy"] = undefined /*out*/;
122
+ }
123
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
124
+ super(Alert.__pulumiType, name, resourceInputs, opts);
125
+ }
126
+ }
127
+ exports.Alert = Alert;
128
+ //# sourceMappingURL=alert.js.map
package/alert.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","sourceRoot":"","sources":["../alert.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IA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AS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAvML,sBAwMC"}
@@ -0,0 +1,2 @@
1
+ export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Access token of the SigNoz API. You can retrieve it from SigNoz UI
3
+ * with Admin Role ([documentation](https://signoz.io/newsroom/launch-week-1-day-5/#using-access-token)).
4
+ * Also, you can set it using environment variable SIGNOZ_ACCESS_TOKEN.
5
+ */
6
+ export declare const accessToken: string | undefined;
7
+ /**
8
+ * Endpoint of the SigNoz. It is the root URL of the SigNoz UI.
9
+ * Also, you can set it using environment variable SIGNOZ_ENDPOINT. If not set, it defaults to http://localhost:3301.
10
+ */
11
+ export declare const endpoint: string | undefined;
12
+ /**
13
+ * Specifies the max retry limit for the HTTP requests made to SigNoz.
14
+ * Also, you can set it using environment variable SIGNOZ_HTTP_MAX_RETRY. If not set, it defaults to 10.
15
+ */
16
+ export declare const httpMaxRetry: number | undefined;
17
+ /**
18
+ * Specifies the timeout limit in seconds for the HTTP requests made to SigNoz.
19
+ * Also, you can set it using environment variable SIGNOZ_HTTP_TIMEOUT. If not set, it defaults to 35.
20
+ */
21
+ export declare const httpTimeout: number | undefined;
22
+ //# sourceMappingURL=vars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;AAQrD;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;AAQtD;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC"}
package/config/vars.js ADDED
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ const pulumi = __importStar(require("@pulumi/pulumi"));
29
+ const __config = new pulumi.Config("signoz");
30
+ Object.defineProperty(exports, "accessToken", {
31
+ get() {
32
+ return __config.get("accessToken");
33
+ },
34
+ enumerable: true,
35
+ });
36
+ Object.defineProperty(exports, "endpoint", {
37
+ get() {
38
+ return __config.get("endpoint");
39
+ },
40
+ enumerable: true,
41
+ });
42
+ Object.defineProperty(exports, "httpMaxRetry", {
43
+ get() {
44
+ return __config.getObject("httpMaxRetry");
45
+ },
46
+ enumerable: true,
47
+ });
48
+ Object.defineProperty(exports, "httpTimeout", {
49
+ get() {
50
+ return __config.getObject("httpTimeout");
51
+ },
52
+ enumerable: true,
53
+ });
54
+ //# sourceMappingURL=vars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAQ7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,cAAc,CAAC,CAAC;IACtD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAOH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,aAAa,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/dashboard.d.ts ADDED
@@ -0,0 +1,186 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class Dashboard extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing Dashboard resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DashboardState, opts?: pulumi.CustomResourceOptions): Dashboard;
13
+ /**
14
+ * Returns true if the given object is an instance of Dashboard. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is Dashboard;
18
+ readonly collapsableRowsMigrated: pulumi.Output<boolean>;
19
+ /**
20
+ * Creation time of the dashboard.
21
+ */
22
+ readonly createdAt: pulumi.Output<string>;
23
+ /**
24
+ * Creator of the dashboard.
25
+ */
26
+ readonly createdBy: pulumi.Output<string>;
27
+ /**
28
+ * Description of the dashboard.
29
+ */
30
+ readonly description: pulumi.Output<string>;
31
+ /**
32
+ * Layout of the dashboard.
33
+ */
34
+ readonly layout: pulumi.Output<string>;
35
+ /**
36
+ * Name of the dashboard.
37
+ */
38
+ readonly name: pulumi.Output<string>;
39
+ readonly panelMap: pulumi.Output<string | undefined>;
40
+ /**
41
+ * Source of the dashboard. By default, it is <SIGNOZ_ENDPOINT>/dashboard.
42
+ */
43
+ readonly source: pulumi.Output<string>;
44
+ /**
45
+ * Tags of the dashboard.
46
+ */
47
+ readonly tags: pulumi.Output<string[] | undefined>;
48
+ /**
49
+ * Title of the dashboard.
50
+ */
51
+ readonly title: pulumi.Output<string>;
52
+ /**
53
+ * Last update time of the dashboard.
54
+ */
55
+ readonly updatedAt: pulumi.Output<string>;
56
+ /**
57
+ * Last updater of the dashboard.
58
+ */
59
+ readonly updatedBy: pulumi.Output<string>;
60
+ readonly uploadedGrafana: pulumi.Output<boolean>;
61
+ /**
62
+ * Variables for the dashboard.
63
+ */
64
+ readonly variables: pulumi.Output<string>;
65
+ /**
66
+ * Version of the dashboard.
67
+ */
68
+ readonly version: pulumi.Output<string>;
69
+ /**
70
+ * Widgets for the dashboard.
71
+ */
72
+ readonly widgets: pulumi.Output<string>;
73
+ /**
74
+ * Create a Dashboard resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: DashboardArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering Dashboard resources.
84
+ */
85
+ export interface DashboardState {
86
+ collapsableRowsMigrated?: pulumi.Input<boolean | undefined>;
87
+ /**
88
+ * Creation time of the dashboard.
89
+ */
90
+ createdAt?: pulumi.Input<string | undefined>;
91
+ /**
92
+ * Creator of the dashboard.
93
+ */
94
+ createdBy?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Description of the dashboard.
97
+ */
98
+ description?: pulumi.Input<string | undefined>;
99
+ /**
100
+ * Layout of the dashboard.
101
+ */
102
+ layout?: pulumi.Input<string | undefined>;
103
+ /**
104
+ * Name of the dashboard.
105
+ */
106
+ name?: pulumi.Input<string | undefined>;
107
+ panelMap?: pulumi.Input<string | undefined>;
108
+ /**
109
+ * Source of the dashboard. By default, it is <SIGNOZ_ENDPOINT>/dashboard.
110
+ */
111
+ source?: pulumi.Input<string | undefined>;
112
+ /**
113
+ * Tags of the dashboard.
114
+ */
115
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
116
+ /**
117
+ * Title of the dashboard.
118
+ */
119
+ title?: pulumi.Input<string | undefined>;
120
+ /**
121
+ * Last update time of the dashboard.
122
+ */
123
+ updatedAt?: pulumi.Input<string | undefined>;
124
+ /**
125
+ * Last updater of the dashboard.
126
+ */
127
+ updatedBy?: pulumi.Input<string | undefined>;
128
+ uploadedGrafana?: pulumi.Input<boolean | undefined>;
129
+ /**
130
+ * Variables for the dashboard.
131
+ */
132
+ variables?: pulumi.Input<string | undefined>;
133
+ /**
134
+ * Version of the dashboard.
135
+ */
136
+ version?: pulumi.Input<string | undefined>;
137
+ /**
138
+ * Widgets for the dashboard.
139
+ */
140
+ widgets?: pulumi.Input<string | undefined>;
141
+ }
142
+ /**
143
+ * The set of arguments for constructing a Dashboard resource.
144
+ */
145
+ export interface DashboardArgs {
146
+ collapsableRowsMigrated: pulumi.Input<boolean>;
147
+ /**
148
+ * Description of the dashboard.
149
+ */
150
+ description: pulumi.Input<string>;
151
+ /**
152
+ * Layout of the dashboard.
153
+ */
154
+ layout: pulumi.Input<string>;
155
+ /**
156
+ * Name of the dashboard.
157
+ */
158
+ name?: pulumi.Input<string | undefined>;
159
+ panelMap?: pulumi.Input<string | undefined>;
160
+ /**
161
+ * Source of the dashboard. By default, it is <SIGNOZ_ENDPOINT>/dashboard.
162
+ */
163
+ source?: pulumi.Input<string | undefined>;
164
+ /**
165
+ * Tags of the dashboard.
166
+ */
167
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
168
+ /**
169
+ * Title of the dashboard.
170
+ */
171
+ title: pulumi.Input<string>;
172
+ uploadedGrafana: pulumi.Input<boolean>;
173
+ /**
174
+ * Variables for the dashboard.
175
+ */
176
+ variables: pulumi.Input<string>;
177
+ /**
178
+ * Version of the dashboard.
179
+ */
180
+ version: pulumi.Input<string>;
181
+ /**
182
+ * Widgets for the dashboard.
183
+ */
184
+ widgets: pulumi.Input<string>;
185
+ }
186
+ //# sourceMappingURL=dashboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC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;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
package/dashboard.js ADDED
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Dashboard = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ class Dashboard extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Dashboard resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new Dashboard(name, state, { ...opts, id: id });
43
+ }
44
+ /** @internal */
45
+ static __pulumiType = 'signoz:index/dashboard:Dashboard';
46
+ /**
47
+ * Returns true if the given object is an instance of Dashboard. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === Dashboard.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["collapsableRowsMigrated"] = state?.collapsableRowsMigrated;
62
+ resourceInputs["createdAt"] = state?.createdAt;
63
+ resourceInputs["createdBy"] = state?.createdBy;
64
+ resourceInputs["description"] = state?.description;
65
+ resourceInputs["layout"] = state?.layout;
66
+ resourceInputs["name"] = state?.name;
67
+ resourceInputs["panelMap"] = state?.panelMap;
68
+ resourceInputs["source"] = state?.source;
69
+ resourceInputs["tags"] = state?.tags;
70
+ resourceInputs["title"] = state?.title;
71
+ resourceInputs["updatedAt"] = state?.updatedAt;
72
+ resourceInputs["updatedBy"] = state?.updatedBy;
73
+ resourceInputs["uploadedGrafana"] = state?.uploadedGrafana;
74
+ resourceInputs["variables"] = state?.variables;
75
+ resourceInputs["version"] = state?.version;
76
+ resourceInputs["widgets"] = state?.widgets;
77
+ }
78
+ else {
79
+ const args = argsOrState;
80
+ if (args?.collapsableRowsMigrated === undefined && !opts.urn) {
81
+ throw new Error("Missing required property 'collapsableRowsMigrated'");
82
+ }
83
+ if (args?.description === undefined && !opts.urn) {
84
+ throw new Error("Missing required property 'description'");
85
+ }
86
+ if (args?.layout === undefined && !opts.urn) {
87
+ throw new Error("Missing required property 'layout'");
88
+ }
89
+ if (args?.title === undefined && !opts.urn) {
90
+ throw new Error("Missing required property 'title'");
91
+ }
92
+ if (args?.uploadedGrafana === undefined && !opts.urn) {
93
+ throw new Error("Missing required property 'uploadedGrafana'");
94
+ }
95
+ if (args?.variables === undefined && !opts.urn) {
96
+ throw new Error("Missing required property 'variables'");
97
+ }
98
+ if (args?.version === undefined && !opts.urn) {
99
+ throw new Error("Missing required property 'version'");
100
+ }
101
+ if (args?.widgets === undefined && !opts.urn) {
102
+ throw new Error("Missing required property 'widgets'");
103
+ }
104
+ resourceInputs["collapsableRowsMigrated"] = args?.collapsableRowsMigrated;
105
+ resourceInputs["description"] = args?.description;
106
+ resourceInputs["layout"] = args?.layout;
107
+ resourceInputs["name"] = args?.name;
108
+ resourceInputs["panelMap"] = args?.panelMap;
109
+ resourceInputs["source"] = args?.source;
110
+ resourceInputs["tags"] = args?.tags;
111
+ resourceInputs["title"] = args?.title;
112
+ resourceInputs["uploadedGrafana"] = args?.uploadedGrafana;
113
+ resourceInputs["variables"] = args?.variables;
114
+ resourceInputs["version"] = args?.version;
115
+ resourceInputs["widgets"] = args?.widgets;
116
+ resourceInputs["createdAt"] = undefined /*out*/;
117
+ resourceInputs["createdBy"] = undefined /*out*/;
118
+ resourceInputs["updatedAt"] = undefined /*out*/;
119
+ resourceInputs["updatedBy"] = undefined /*out*/;
120
+ }
121
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
122
+ super(Dashboard.__pulumiType, name, resourceInputs, opts);
123
+ }
124
+ }
125
+ exports.Dashboard = Dashboard;
126
+ //# sourceMappingURL=dashboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,sE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c,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA9JL,8BA+JC"}
package/getAlert.d.ts ADDED
@@ -0,0 +1,47 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getAlert(args: GetAlertArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertResult>;
4
+ /**
5
+ * A collection of arguments for invoking getAlert.
6
+ */
7
+ export interface GetAlertArgs {
8
+ id: string;
9
+ }
10
+ /**
11
+ * A collection of values returned by getAlert.
12
+ */
13
+ export interface GetAlertResult {
14
+ readonly alert: string;
15
+ readonly alertType: string;
16
+ /**
17
+ * @deprecated This field is no longer needed and will be ignored
18
+ */
19
+ readonly broadcastToAll: boolean;
20
+ readonly condition: string;
21
+ readonly description: string;
22
+ readonly disabled: boolean;
23
+ readonly evalWindow: string;
24
+ readonly evaluation: string;
25
+ readonly frequency: string;
26
+ readonly id: string;
27
+ readonly labels: {
28
+ [key: string]: string;
29
+ };
30
+ readonly notificationSettings: outputs.GetAlertNotificationSettings;
31
+ readonly preferredChannels: string[];
32
+ readonly ruleType: string;
33
+ readonly schemaVersion: string;
34
+ readonly severity: string;
35
+ readonly source: string;
36
+ readonly state: string;
37
+ readonly summary: string;
38
+ readonly version: string;
39
+ }
40
+ export declare function getAlertOutput(args: GetAlertOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertResult>;
41
+ /**
42
+ * A collection of arguments for invoking getAlert.
43
+ */
44
+ export interface GetAlertOutputArgs {
45
+ id: pulumi.Input<string>;
46
+ }
47
+ //# sourceMappingURL=getAlert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlert.d.ts","sourceRoot":"","sources":["../getAlert.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,wBAAgB,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAKjG;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IACzC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC,4BAA4B,CAAC;IACpE,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IACrC,QAA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