@pulumiverse/grafana 0.5.0 → 0.5.1
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/annotation.d.ts +28 -3
- package/annotation.js +25 -0
- package/annotation.js.map +1 -1
- package/apiKey.d.ts +18 -0
- package/apiKey.js +18 -0
- package/apiKey.js.map +1 -1
- package/cloudAccessPolicy.d.ts +57 -15
- package/cloudAccessPolicy.js +51 -0
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +54 -9
- package/cloudAccessPolicyToken.js +51 -0
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +35 -6
- package/cloudApiKey.js +32 -0
- package/cloudApiKey.js.map +1 -1
- package/cloudOrgMember.d.ts +9 -0
- package/cloudOrgMember.js +9 -0
- package/cloudOrgMember.js.map +1 -1
- package/cloudPluginInstallation.d.ts +32 -0
- package/cloudPluginInstallation.js +32 -0
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +49 -38
- package/cloudStack.js +30 -0
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +36 -3
- package/cloudStackServiceAccount.js +33 -0
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +28 -0
- package/cloudStackServiceAccountToken.js +28 -0
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/contactPoint.d.ts +44 -9
- package/contactPoint.js +38 -0
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +44 -16
- package/dashboard.js +37 -0
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +55 -3
- package/dashboardPermission.js +52 -0
- package/dashboardPermission.js.map +1 -1
- package/dashboardPermissionItem.d.ts +48 -0
- package/dashboardPermissionItem.js +48 -0
- package/dashboardPermissionItem.js.map +1 -1
- package/dashboardPublic.d.ts +73 -12
- package/dashboardPublic.js +67 -0
- package/dashboardPublic.js.map +1 -1
- package/dataSource.d.ts +102 -36
- package/dataSource.js +78 -0
- package/dataSource.js.map +1 -1
- package/dataSourceConfig.d.ts +69 -18
- package/dataSourceConfig.js +63 -0
- package/dataSourceConfig.js.map +1 -1
- package/dataSourcePermission.d.ts +66 -3
- package/dataSourcePermission.js +63 -0
- package/dataSourcePermission.js.map +1 -1
- package/dataSourcePermissionItem.d.ts +61 -0
- package/dataSourcePermissionItem.js +61 -0
- package/dataSourcePermissionItem.js.map +1 -1
- package/folder.d.ts +43 -9
- package/folder.js +37 -0
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +49 -0
- package/folderPermission.js +49 -0
- package/folderPermission.js.map +1 -1
- package/folderPermissionItem.d.ts +47 -0
- package/folderPermissionItem.js +47 -0
- package/folderPermissionItem.js.map +1 -1
- package/getCloudIps.d.ts +43 -0
- package/getCloudIps.js +28 -0
- package/getCloudIps.js.map +1 -1
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +28 -0
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +84 -0
- package/getCloudStack.js +6 -0
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +114 -0
- package/getDashboard.js +64 -0
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +56 -0
- package/getDashboards.js +14 -0
- package/getDashboards.js.map +1 -1
- package/getDataSource.d.ts +118 -0
- package/getDataSource.js +76 -0
- package/getDataSource.js.map +1 -1
- package/getFolder.d.ts +71 -0
- package/getFolder.js +44 -0
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +60 -0
- package/getFolders.js +48 -0
- package/getFolders.js.map +1 -1
- package/getLibraryPanel.d.ts +65 -0
- package/getLibraryPanel.js +6 -0
- package/getLibraryPanel.js.map +1 -1
- package/getOnCallSlackChannel.d.ts +44 -0
- package/getOnCallSlackChannel.js +32 -0
- package/getOnCallSlackChannel.js.map +1 -1
- package/getOncallAction.d.ts +21 -0
- package/getOncallAction.js +12 -0
- package/getOncallAction.js.map +1 -1
- package/getOncallEscalationChain.d.ts +41 -0
- package/getOncallEscalationChain.js +32 -0
- package/getOncallEscalationChain.js.map +1 -1
- package/getOncallIntegration.d.ts +44 -0
- package/getOncallIntegration.js +32 -0
- package/getOncallIntegration.js.map +1 -1
- package/getOncallOutgoingWebhook.d.ts +41 -0
- package/getOncallOutgoingWebhook.js +32 -0
- package/getOncallOutgoingWebhook.js.map +1 -1
- package/getOncallSchedule.d.ts +46 -0
- package/getOncallSchedule.js +34 -0
- package/getOncallSchedule.js.map +1 -1
- package/getOncallTeam.d.ts +37 -0
- package/getOncallTeam.js +28 -0
- package/getOncallTeam.js.map +1 -1
- package/getOncallUser.d.ts +47 -0
- package/getOncallUser.js +32 -0
- package/getOncallUser.js.map +1 -1
- package/getOncallUserGroup.d.ts +32 -0
- package/getOncallUserGroup.js +32 -0
- package/getOncallUserGroup.js.map +1 -1
- package/getOrganization.d.ts +70 -0
- package/getOrganization.js +52 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationPreferences.d.ts +53 -0
- package/getOrganizationPreferences.js +30 -0
- package/getOrganizationPreferences.js.map +1 -1
- package/getRole.d.ts +118 -0
- package/getRole.js +82 -0
- package/getRole.js.map +1 -1
- package/getServiceAccount.d.ts +32 -0
- package/getServiceAccount.js +8 -0
- package/getServiceAccount.js.map +1 -1
- package/getSlos.d.ts +17 -0
- package/getSlos.js +14 -0
- package/getSlos.js.map +1 -1
- package/getSyntheticMonitoringProbe.d.ts +62 -0
- package/getSyntheticMonitoringProbe.js +32 -0
- package/getSyntheticMonitoringProbe.js.map +1 -1
- package/getSyntheticMonitoringProbes.d.ts +40 -0
- package/getSyntheticMonitoringProbes.js +28 -0
- package/getSyntheticMonitoringProbes.js.map +1 -1
- package/getTeam.d.ts +50 -0
- package/getTeam.js +50 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +99 -0
- package/getUser.js +66 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +51 -0
- package/getUsers.js +48 -0
- package/getUsers.js.map +1 -1
- package/libraryPanel.d.ts +43 -12
- package/libraryPanel.js +37 -0
- package/libraryPanel.js.map +1 -1
- package/machineLearningHoliday.d.ts +14 -3
- package/machineLearningHoliday.js +11 -0
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +18 -12
- package/machineLearningJob.js +9 -0
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +22 -12
- package/machineLearningOutlierDetector.js +13 -0
- package/machineLearningOutlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +32 -0
- package/messageTemplate.js +32 -0
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +51 -0
- package/muteTiming.js +51 -0
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +98 -9
- package/notificationPolicy.js +92 -0
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +81 -41
- package/oncallEscalation.js +52 -0
- package/oncallEscalation.js.map +1 -1
- package/oncallEscalationChain.d.ts +25 -6
- package/oncallEscalationChain.js +22 -0
- package/oncallEscalationChain.js.map +1 -1
- package/oncallIntegration.d.ts +16 -15
- package/oncallIntegration.js +10 -0
- package/oncallIntegration.js.map +1 -1
- package/oncallOnCallShift.d.ts +30 -27
- package/oncallOnCallShift.js +9 -0
- package/oncallOnCallShift.js.map +1 -1
- package/oncallOutgoingWebhook.d.ts +34 -21
- package/oncallOutgoingWebhook.js +22 -0
- package/oncallOutgoingWebhook.js.map +1 -1
- package/oncallRoute.d.ts +49 -3
- package/oncallRoute.js +46 -0
- package/oncallRoute.js.map +1 -1
- package/oncallSchedule.d.ts +49 -9
- package/oncallSchedule.js +43 -0
- package/oncallSchedule.js.map +1 -1
- package/organization.d.ts +94 -39
- package/organization.js +37 -0
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +31 -9
- package/organizationPreference.js +25 -0
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +41 -0
- package/playlist.js +41 -0
- package/playlist.js.map +1 -1
- package/report.d.ts +56 -15
- package/report.js +41 -0
- package/report.js.map +1 -1
- package/role.d.ts +58 -15
- package/role.js +46 -0
- package/role.js.map +1 -1
- package/roleAssignment.d.ts +48 -0
- package/roleAssignment.js +48 -0
- package/roleAssignment.js.map +1 -1
- package/roleAssignmentItem.d.ts +51 -0
- package/roleAssignmentItem.js +51 -0
- package/roleAssignmentItem.js.map +1 -1
- package/ruleGroup.d.ts +117 -9
- package/ruleGroup.js +111 -0
- package/ruleGroup.js.map +1 -1
- package/serviceAccount.d.ts +33 -3
- package/serviceAccount.js +30 -0
- package/serviceAccount.js.map +1 -1
- package/serviceAccountPermission.d.ts +50 -0
- package/serviceAccountPermission.js +50 -0
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountPermissionItem.d.ts +44 -0
- package/serviceAccountPermissionItem.js +44 -0
- package/serviceAccountPermissionItem.js.map +1 -1
- package/serviceAccountToken.d.ts +27 -9
- package/serviceAccountToken.js +24 -0
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +39 -27
- package/slo.js +15 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +75 -3
- package/ssoSettings.js +72 -0
- package/ssoSettings.js.map +1 -1
- package/syntheticMonitoringCheck.d.ts +431 -36
- package/syntheticMonitoringCheck.js +413 -0
- package/syntheticMonitoringCheck.js.map +1 -1
- package/syntheticMonitoringInstallation.d.ts +75 -24
- package/syntheticMonitoringInstallation.js +69 -0
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/syntheticMonitoringProbe.d.ts +39 -6
- package/syntheticMonitoringProbe.js +36 -0
- package/syntheticMonitoringProbe.js.map +1 -1
- package/team.d.ts +33 -0
- package/team.js +33 -0
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +31 -0
- package/teamExternalGroup.js +31 -0
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +123 -123
- package/types/output.d.ts +123 -123
- package/user.d.ts +33 -3
- package/user.js +30 -0
- package/user.js.map +1 -1
|
@@ -1,6 +1,419 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Synthetic Monitoring checks are tests that run on selected probes at defined
|
|
6
|
+
* intervals and report metrics and logs back to your Grafana Cloud account. The
|
|
7
|
+
* target for checks can be a domain name, a server, or a website, depending on
|
|
8
|
+
* what information you would like to gather about your endpoint. You can define
|
|
9
|
+
* multiple checks for a single endpoint to check different capabilities.
|
|
10
|
+
*
|
|
11
|
+
* * [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/)
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ### DNS Basic
|
|
16
|
+
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as grafana from "@pulumi/grafana";
|
|
21
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
22
|
+
*
|
|
23
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
24
|
+
* const dns = new grafana.SyntheticMonitoringCheck("dns", {
|
|
25
|
+
* job: "DNS Defaults",
|
|
26
|
+
* target: "grafana.com",
|
|
27
|
+
* enabled: false,
|
|
28
|
+
* probes: [main.then(main => main.probes?.Atlanta)],
|
|
29
|
+
* labels: {
|
|
30
|
+
* foo: "bar",
|
|
31
|
+
* },
|
|
32
|
+
* settings: {
|
|
33
|
+
* dns: {},
|
|
34
|
+
* },
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
38
|
+
*
|
|
39
|
+
* ### DNS Complex
|
|
40
|
+
*
|
|
41
|
+
* <!--Start PulumiCodeChooser -->
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as grafana from "@pulumi/grafana";
|
|
45
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
46
|
+
*
|
|
47
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
48
|
+
* const dns = new grafana.SyntheticMonitoringCheck("dns", {
|
|
49
|
+
* job: "DNS Updated",
|
|
50
|
+
* target: "grafana.net",
|
|
51
|
+
* enabled: false,
|
|
52
|
+
* probes: [
|
|
53
|
+
* main.then(main => main.probes?.Frankfurt),
|
|
54
|
+
* main.then(main => main.probes?.London),
|
|
55
|
+
* ],
|
|
56
|
+
* labels: {
|
|
57
|
+
* foo: "baz",
|
|
58
|
+
* },
|
|
59
|
+
* settings: {
|
|
60
|
+
* dns: {
|
|
61
|
+
* ipVersion: "Any",
|
|
62
|
+
* server: "8.8.4.4",
|
|
63
|
+
* port: 8600,
|
|
64
|
+
* recordType: "CNAME",
|
|
65
|
+
* protocol: "TCP",
|
|
66
|
+
* validRCodes: [
|
|
67
|
+
* "NOERROR",
|
|
68
|
+
* "NOTAUTH",
|
|
69
|
+
* ],
|
|
70
|
+
* validateAnswerRrs: {
|
|
71
|
+
* failIfMatchesRegexps: [".+-bad-stuff*"],
|
|
72
|
+
* failIfNotMatchesRegexps: [".+-good-stuff*"],
|
|
73
|
+
* },
|
|
74
|
+
* validateAuthorityRrs: {
|
|
75
|
+
* failIfMatchesRegexps: [".+-bad-stuff*"],
|
|
76
|
+
* failIfNotMatchesRegexps: [".+-good-stuff*"],
|
|
77
|
+
* },
|
|
78
|
+
* validateAdditionalRrs: [{
|
|
79
|
+
* failIfMatchesRegexps: [".+-bad-stuff*"],
|
|
80
|
+
* failIfNotMatchesRegexps: [".+-good-stuff*"],
|
|
81
|
+
* }],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
* <!--End PulumiCodeChooser -->
|
|
87
|
+
*
|
|
88
|
+
* ### HTTP Basic
|
|
89
|
+
*
|
|
90
|
+
* <!--Start PulumiCodeChooser -->
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as grafana from "@pulumi/grafana";
|
|
94
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
95
|
+
*
|
|
96
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
97
|
+
* const http = new grafana.SyntheticMonitoringCheck("http", {
|
|
98
|
+
* job: "HTTP Defaults",
|
|
99
|
+
* target: "https://grafana.com",
|
|
100
|
+
* enabled: false,
|
|
101
|
+
* probes: [main.then(main => main.probes?.Atlanta)],
|
|
102
|
+
* labels: {
|
|
103
|
+
* foo: "bar",
|
|
104
|
+
* },
|
|
105
|
+
* settings: {
|
|
106
|
+
* http: {},
|
|
107
|
+
* },
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
* <!--End PulumiCodeChooser -->
|
|
111
|
+
*
|
|
112
|
+
* ### HTTP Complex
|
|
113
|
+
*
|
|
114
|
+
* <!--Start PulumiCodeChooser -->
|
|
115
|
+
* ```typescript
|
|
116
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
117
|
+
* import * as grafana from "@pulumi/grafana";
|
|
118
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
119
|
+
*
|
|
120
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
121
|
+
* const http = new grafana.SyntheticMonitoringCheck("http", {
|
|
122
|
+
* job: "HTTP Defaults",
|
|
123
|
+
* target: "https://grafana.org",
|
|
124
|
+
* enabled: false,
|
|
125
|
+
* probes: [
|
|
126
|
+
* main.then(main => main.probes?.Bangalore),
|
|
127
|
+
* main.then(main => main.probes?.Mumbai),
|
|
128
|
+
* ],
|
|
129
|
+
* labels: {
|
|
130
|
+
* foo: "bar",
|
|
131
|
+
* },
|
|
132
|
+
* settings: {
|
|
133
|
+
* http: {
|
|
134
|
+
* ipVersion: "V6",
|
|
135
|
+
* method: "TRACE",
|
|
136
|
+
* body: "and spirit",
|
|
137
|
+
* noFollowRedirects: true,
|
|
138
|
+
* bearerToken: "asdfjkl;",
|
|
139
|
+
* proxyUrl: "https://almost-there",
|
|
140
|
+
* failIfSsl: true,
|
|
141
|
+
* failIfNotSsl: true,
|
|
142
|
+
* cacheBustingQueryParamName: "pineapple",
|
|
143
|
+
* tlsConfig: {
|
|
144
|
+
* serverName: "grafana.org",
|
|
145
|
+
* clientCert: `-----BEGIN CERTIFICATE-----
|
|
146
|
+
* MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
|
|
147
|
+
* RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
|
|
148
|
+
* MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
|
|
149
|
+
* 0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
|
|
150
|
+
* h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
|
|
151
|
+
* BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
|
|
152
|
+
* iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
|
|
153
|
+
* a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
|
|
154
|
+
* FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
|
|
155
|
+
* qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
|
|
156
|
+
* FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
|
|
157
|
+
* Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
|
|
158
|
+
* 6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
|
|
159
|
+
* UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
|
|
160
|
+
* yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
|
|
161
|
+
* e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
|
|
162
|
+
* XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
|
|
163
|
+
* tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
|
|
164
|
+
* QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
|
|
165
|
+
* tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
|
|
166
|
+
* prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
|
|
167
|
+
* 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
|
|
168
|
+
* l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
|
|
169
|
+
* 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
|
|
170
|
+
* vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
|
|
171
|
+
* -----END CERTIFICATE-----
|
|
172
|
+
* `,
|
|
173
|
+
* },
|
|
174
|
+
* headers: ["Content-Type: multipart/form-data; boundary=something"],
|
|
175
|
+
* basicAuth: {
|
|
176
|
+
* username: "open",
|
|
177
|
+
* password: "sesame",
|
|
178
|
+
* },
|
|
179
|
+
* validStatusCodes: [
|
|
180
|
+
* 200,
|
|
181
|
+
* 201,
|
|
182
|
+
* ],
|
|
183
|
+
* validHttpVersions: [
|
|
184
|
+
* "HTTP/1.0",
|
|
185
|
+
* "HTTP/1.1",
|
|
186
|
+
* "HTTP/2.0",
|
|
187
|
+
* ],
|
|
188
|
+
* failIfBodyMatchesRegexps: [".*bad stuff.*"],
|
|
189
|
+
* failIfBodyNotMatchesRegexps: [".*good stuff.*"],
|
|
190
|
+
* failIfHeaderMatchesRegexps: [{
|
|
191
|
+
* header: "Content-Type",
|
|
192
|
+
* regexp: "application/soap*",
|
|
193
|
+
* allowMissing: true,
|
|
194
|
+
* }],
|
|
195
|
+
* },
|
|
196
|
+
* },
|
|
197
|
+
* });
|
|
198
|
+
* ```
|
|
199
|
+
* <!--End PulumiCodeChooser -->
|
|
200
|
+
*
|
|
201
|
+
* ### Ping Basic
|
|
202
|
+
*
|
|
203
|
+
* <!--Start PulumiCodeChooser -->
|
|
204
|
+
* ```typescript
|
|
205
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
206
|
+
* import * as grafana from "@pulumi/grafana";
|
|
207
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
208
|
+
*
|
|
209
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
210
|
+
* const ping = new grafana.SyntheticMonitoringCheck("ping", {
|
|
211
|
+
* job: "Ping Defaults",
|
|
212
|
+
* target: "grafana.com",
|
|
213
|
+
* enabled: false,
|
|
214
|
+
* probes: [main.then(main => main.probes?.Atlanta)],
|
|
215
|
+
* labels: {
|
|
216
|
+
* foo: "bar",
|
|
217
|
+
* },
|
|
218
|
+
* settings: {
|
|
219
|
+
* ping: {},
|
|
220
|
+
* },
|
|
221
|
+
* });
|
|
222
|
+
* ```
|
|
223
|
+
* <!--End PulumiCodeChooser -->
|
|
224
|
+
*
|
|
225
|
+
* ### Ping Complex
|
|
226
|
+
*
|
|
227
|
+
* <!--Start PulumiCodeChooser -->
|
|
228
|
+
* ```typescript
|
|
229
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
230
|
+
* import * as grafana from "@pulumi/grafana";
|
|
231
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
232
|
+
*
|
|
233
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
234
|
+
* const ping = new grafana.SyntheticMonitoringCheck("ping", {
|
|
235
|
+
* job: "Ping Updated",
|
|
236
|
+
* target: "grafana.net",
|
|
237
|
+
* enabled: false,
|
|
238
|
+
* probes: [
|
|
239
|
+
* main.then(main => main.probes?.Frankfurt),
|
|
240
|
+
* main.then(main => main.probes?.London),
|
|
241
|
+
* ],
|
|
242
|
+
* labels: {
|
|
243
|
+
* foo: "baz",
|
|
244
|
+
* },
|
|
245
|
+
* settings: {
|
|
246
|
+
* ping: {
|
|
247
|
+
* ipVersion: "Any",
|
|
248
|
+
* payloadSize: 20,
|
|
249
|
+
* dontFragment: true,
|
|
250
|
+
* },
|
|
251
|
+
* },
|
|
252
|
+
* });
|
|
253
|
+
* ```
|
|
254
|
+
* <!--End PulumiCodeChooser -->
|
|
255
|
+
*
|
|
256
|
+
* ### TCP Basic
|
|
257
|
+
*
|
|
258
|
+
* <!--Start PulumiCodeChooser -->
|
|
259
|
+
* ```typescript
|
|
260
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
261
|
+
* import * as grafana from "@pulumi/grafana";
|
|
262
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
263
|
+
*
|
|
264
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
265
|
+
* const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
|
|
266
|
+
* job: "TCP Defaults",
|
|
267
|
+
* target: "grafana.com:80",
|
|
268
|
+
* enabled: false,
|
|
269
|
+
* probes: [main.then(main => main.probes?.Atlanta)],
|
|
270
|
+
* labels: {
|
|
271
|
+
* foo: "bar",
|
|
272
|
+
* },
|
|
273
|
+
* settings: {
|
|
274
|
+
* tcp: {},
|
|
275
|
+
* },
|
|
276
|
+
* });
|
|
277
|
+
* ```
|
|
278
|
+
* <!--End PulumiCodeChooser -->
|
|
279
|
+
*
|
|
280
|
+
* ### TCP Complex
|
|
281
|
+
*
|
|
282
|
+
* <!--Start PulumiCodeChooser -->
|
|
283
|
+
* ```typescript
|
|
284
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
285
|
+
* import * as grafana from "@pulumi/grafana";
|
|
286
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
287
|
+
*
|
|
288
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
289
|
+
* const tcp = new grafana.SyntheticMonitoringCheck("tcp", {
|
|
290
|
+
* job: "TCP Defaults",
|
|
291
|
+
* target: "grafana.com:443",
|
|
292
|
+
* enabled: false,
|
|
293
|
+
* probes: [
|
|
294
|
+
* main.then(main => main.probes?.Frankfurt),
|
|
295
|
+
* main.then(main => main.probes?.London),
|
|
296
|
+
* ],
|
|
297
|
+
* labels: {
|
|
298
|
+
* foo: "baz",
|
|
299
|
+
* },
|
|
300
|
+
* settings: {
|
|
301
|
+
* tcp: {
|
|
302
|
+
* ipVersion: "V6",
|
|
303
|
+
* tls: true,
|
|
304
|
+
* queryResponses: [
|
|
305
|
+
* {
|
|
306
|
+
* send: "howdy",
|
|
307
|
+
* expect: "hi",
|
|
308
|
+
* },
|
|
309
|
+
* {
|
|
310
|
+
* send: "like this",
|
|
311
|
+
* expect: "like that",
|
|
312
|
+
* startTls: true,
|
|
313
|
+
* },
|
|
314
|
+
* ],
|
|
315
|
+
* tlsConfig: {
|
|
316
|
+
* serverName: "grafana.com",
|
|
317
|
+
* caCert: `-----BEGIN CERTIFICATE-----
|
|
318
|
+
* MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
|
|
319
|
+
* RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
|
|
320
|
+
* MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
|
|
321
|
+
* 0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
|
|
322
|
+
* h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
|
|
323
|
+
* BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
|
|
324
|
+
* iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
|
|
325
|
+
* a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
|
|
326
|
+
* FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
|
|
327
|
+
* qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
|
|
328
|
+
* FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
|
|
329
|
+
* Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
|
|
330
|
+
* 6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
|
|
331
|
+
* UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
|
|
332
|
+
* yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
|
|
333
|
+
* e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
|
|
334
|
+
* XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
|
|
335
|
+
* tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
|
|
336
|
+
* QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
|
|
337
|
+
* tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
|
|
338
|
+
* prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
|
|
339
|
+
* 5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
|
|
340
|
+
* l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
|
|
341
|
+
* 7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
|
|
342
|
+
* vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
|
|
343
|
+
* -----END CERTIFICATE-----
|
|
344
|
+
* `,
|
|
345
|
+
* },
|
|
346
|
+
* },
|
|
347
|
+
* },
|
|
348
|
+
* });
|
|
349
|
+
* ```
|
|
350
|
+
* <!--End PulumiCodeChooser -->
|
|
351
|
+
*
|
|
352
|
+
* ### Traceroute Basic
|
|
353
|
+
*
|
|
354
|
+
* <!--Start PulumiCodeChooser -->
|
|
355
|
+
* ```typescript
|
|
356
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
357
|
+
* import * as grafana from "@pulumi/grafana";
|
|
358
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
359
|
+
*
|
|
360
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
361
|
+
* const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
|
|
362
|
+
* job: "Traceroute defaults",
|
|
363
|
+
* target: "grafana.com",
|
|
364
|
+
* enabled: false,
|
|
365
|
+
* frequency: 120000,
|
|
366
|
+
* timeout: 30000,
|
|
367
|
+
* probes: [main.then(main => main.probes?.Atlanta)],
|
|
368
|
+
* labels: {
|
|
369
|
+
* foo: "bar",
|
|
370
|
+
* },
|
|
371
|
+
* settings: {
|
|
372
|
+
* traceroute: {},
|
|
373
|
+
* },
|
|
374
|
+
* });
|
|
375
|
+
* ```
|
|
376
|
+
* <!--End PulumiCodeChooser -->
|
|
377
|
+
*
|
|
378
|
+
* ### Traceroute Complex
|
|
379
|
+
*
|
|
380
|
+
* <!--Start PulumiCodeChooser -->
|
|
381
|
+
* ```typescript
|
|
382
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
383
|
+
* import * as grafana from "@pulumi/grafana";
|
|
384
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
385
|
+
*
|
|
386
|
+
* const main = grafana.getSyntheticMonitoringProbes({});
|
|
387
|
+
* const traceroute = new grafana.SyntheticMonitoringCheck("traceroute", {
|
|
388
|
+
* job: "Traceroute complex",
|
|
389
|
+
* target: "grafana.net",
|
|
390
|
+
* enabled: false,
|
|
391
|
+
* frequency: 120000,
|
|
392
|
+
* timeout: 30000,
|
|
393
|
+
* probes: [
|
|
394
|
+
* main.then(main => main.probes?.Frankfurt),
|
|
395
|
+
* main.then(main => main.probes?.London),
|
|
396
|
+
* ],
|
|
397
|
+
* labels: {
|
|
398
|
+
* foo: "baz",
|
|
399
|
+
* },
|
|
400
|
+
* settings: {
|
|
401
|
+
* traceroute: {
|
|
402
|
+
* maxHops: 25,
|
|
403
|
+
* maxUnknownHops: 10,
|
|
404
|
+
* ptrLookup: false,
|
|
405
|
+
* },
|
|
406
|
+
* },
|
|
407
|
+
* });
|
|
408
|
+
* ```
|
|
409
|
+
* <!--End PulumiCodeChooser -->
|
|
410
|
+
*
|
|
411
|
+
* ## Import
|
|
412
|
+
*
|
|
413
|
+
* ```sh
|
|
414
|
+
* $ pulumi import grafana:index/syntheticMonitoringCheck:SyntheticMonitoringCheck name "{{ id }}"
|
|
415
|
+
* ```
|
|
416
|
+
*/
|
|
4
417
|
export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
|
|
5
418
|
/**
|
|
6
419
|
* Get an existing SyntheticMonitoringCheck resource's state with the given name, ID, and optional extra
|
|
@@ -18,22 +431,19 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
|
|
|
18
431
|
*/
|
|
19
432
|
static isInstance(obj: any): obj is SyntheticMonitoringCheck;
|
|
20
433
|
/**
|
|
21
|
-
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
|
|
22
|
-
* levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
|
|
434
|
+
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
|
|
23
435
|
*/
|
|
24
436
|
readonly alertSensitivity: pulumi.Output<string | undefined>;
|
|
25
437
|
/**
|
|
26
|
-
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
|
|
27
|
-
* metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
|
|
438
|
+
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
|
|
28
439
|
*/
|
|
29
440
|
readonly basicMetricsOnly: pulumi.Output<boolean | undefined>;
|
|
30
441
|
/**
|
|
31
|
-
* Whether to enable the check.
|
|
442
|
+
* Whether to enable the check. Defaults to `true`.
|
|
32
443
|
*/
|
|
33
444
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
34
445
|
/**
|
|
35
|
-
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
|
|
36
|
-
* value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
|
|
446
|
+
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
|
|
37
447
|
*/
|
|
38
448
|
readonly frequency: pulumi.Output<number | undefined>;
|
|
39
449
|
/**
|
|
@@ -41,9 +451,7 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
|
|
|
41
451
|
*/
|
|
42
452
|
readonly job: pulumi.Output<string>;
|
|
43
453
|
/**
|
|
44
|
-
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
|
|
45
|
-
* check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
|
|
46
|
-
* the labels cannot be empty, and the maximum length is 32 bytes.
|
|
454
|
+
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
|
|
47
455
|
*/
|
|
48
456
|
readonly labels: pulumi.Output<{
|
|
49
457
|
[key: string]: string;
|
|
@@ -65,8 +473,7 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
|
|
|
65
473
|
*/
|
|
66
474
|
readonly tenantId: pulumi.Output<number>;
|
|
67
475
|
/**
|
|
68
|
-
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
|
|
69
|
-
* and the maximum 10 seconds (10000 ms).
|
|
476
|
+
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
|
|
70
477
|
*/
|
|
71
478
|
readonly timeout: pulumi.Output<number | undefined>;
|
|
72
479
|
/**
|
|
@@ -83,22 +490,19 @@ export declare class SyntheticMonitoringCheck extends pulumi.CustomResource {
|
|
|
83
490
|
*/
|
|
84
491
|
export interface SyntheticMonitoringCheckState {
|
|
85
492
|
/**
|
|
86
|
-
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
|
|
87
|
-
* levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
|
|
493
|
+
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
|
|
88
494
|
*/
|
|
89
495
|
alertSensitivity?: pulumi.Input<string>;
|
|
90
496
|
/**
|
|
91
|
-
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
|
|
92
|
-
* metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
|
|
497
|
+
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
|
|
93
498
|
*/
|
|
94
499
|
basicMetricsOnly?: pulumi.Input<boolean>;
|
|
95
500
|
/**
|
|
96
|
-
* Whether to enable the check.
|
|
501
|
+
* Whether to enable the check. Defaults to `true`.
|
|
97
502
|
*/
|
|
98
503
|
enabled?: pulumi.Input<boolean>;
|
|
99
504
|
/**
|
|
100
|
-
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
|
|
101
|
-
* value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
|
|
505
|
+
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
|
|
102
506
|
*/
|
|
103
507
|
frequency?: pulumi.Input<number>;
|
|
104
508
|
/**
|
|
@@ -106,9 +510,7 @@ export interface SyntheticMonitoringCheckState {
|
|
|
106
510
|
*/
|
|
107
511
|
job?: pulumi.Input<string>;
|
|
108
512
|
/**
|
|
109
|
-
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
|
|
110
|
-
* check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
|
|
111
|
-
* the labels cannot be empty, and the maximum length is 32 bytes.
|
|
513
|
+
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
|
|
112
514
|
*/
|
|
113
515
|
labels?: pulumi.Input<{
|
|
114
516
|
[key: string]: pulumi.Input<string>;
|
|
@@ -130,8 +532,7 @@ export interface SyntheticMonitoringCheckState {
|
|
|
130
532
|
*/
|
|
131
533
|
tenantId?: pulumi.Input<number>;
|
|
132
534
|
/**
|
|
133
|
-
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
|
|
134
|
-
* and the maximum 10 seconds (10000 ms).
|
|
535
|
+
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
|
|
135
536
|
*/
|
|
136
537
|
timeout?: pulumi.Input<number>;
|
|
137
538
|
}
|
|
@@ -140,22 +541,19 @@ export interface SyntheticMonitoringCheckState {
|
|
|
140
541
|
*/
|
|
141
542
|
export interface SyntheticMonitoringCheckArgs {
|
|
142
543
|
/**
|
|
143
|
-
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert
|
|
144
|
-
* levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/).
|
|
544
|
+
* Can be set to `none`, `low`, `medium`, or `high` to correspond to the check [alert levels](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/configure-alerts/synthetic-monitoring-alerting/). Defaults to `none`.
|
|
145
545
|
*/
|
|
146
546
|
alertSensitivity?: pulumi.Input<string>;
|
|
147
547
|
/**
|
|
148
|
-
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of
|
|
149
|
-
* metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each.
|
|
548
|
+
* Metrics are reduced by default. Set this to `false` if you'd like to publish all metrics. We maintain a [full list of metrics](https://github.com/grafana/synthetic-monitoring-agent/tree/main/internal/scraper/testdata) collected for each. Defaults to `true`.
|
|
150
549
|
*/
|
|
151
550
|
basicMetricsOnly?: pulumi.Input<boolean>;
|
|
152
551
|
/**
|
|
153
|
-
* Whether to enable the check.
|
|
552
|
+
* Whether to enable the check. Defaults to `true`.
|
|
154
553
|
*/
|
|
155
554
|
enabled?: pulumi.Input<boolean>;
|
|
156
555
|
/**
|
|
157
|
-
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable
|
|
158
|
-
* value is 1 second (1000 ms), and the maximum is 120 seconds (120000 ms).
|
|
556
|
+
* How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to `60000`.
|
|
159
557
|
*/
|
|
160
558
|
frequency?: pulumi.Input<number>;
|
|
161
559
|
/**
|
|
@@ -163,9 +561,7 @@ export interface SyntheticMonitoringCheckArgs {
|
|
|
163
561
|
*/
|
|
164
562
|
job: pulumi.Input<string>;
|
|
165
563
|
/**
|
|
166
|
-
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per
|
|
167
|
-
* check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of
|
|
168
|
-
* the labels cannot be empty, and the maximum length is 32 bytes.
|
|
564
|
+
* Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
|
|
169
565
|
*/
|
|
170
566
|
labels?: pulumi.Input<{
|
|
171
567
|
[key: string]: pulumi.Input<string>;
|
|
@@ -183,8 +579,7 @@ export interface SyntheticMonitoringCheckArgs {
|
|
|
183
579
|
*/
|
|
184
580
|
target: pulumi.Input<string>;
|
|
185
581
|
/**
|
|
186
|
-
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms),
|
|
187
|
-
* and the maximum 10 seconds (10000 ms).
|
|
582
|
+
* Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to `3000`.
|
|
188
583
|
*/
|
|
189
584
|
timeout?: pulumi.Input<number>;
|
|
190
585
|
}
|