@pulumi/datadog 4.61.0-alpha.1764800788 → 4.61.0-alpha.1764888314
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/actionConnection.d.ts +65 -0
- package/actionConnection.js +65 -0
- package/actionConnection.js.map +1 -1
- package/apmRetentionFilter.d.ts +16 -0
- package/apmRetentionFilter.js +16 -0
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.d.ts +18 -0
- package/apmRetentionFilterOrder.js +18 -0
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appsecWafCustomRule.d.ts +58 -0
- package/appsecWafCustomRule.js +58 -0
- package/appsecWafCustomRule.js.map +1 -1
- package/awsCurConfig.d.ts +21 -0
- package/awsCurConfig.js +21 -0
- package/awsCurConfig.js.map +1 -1
- package/azureUcConfig.d.ts +24 -0
- package/azureUcConfig.js +24 -0
- package/azureUcConfig.js.map +1 -1
- package/csmThreatsAgentRule.d.ts +23 -0
- package/csmThreatsAgentRule.js +23 -0
- package/csmThreatsAgentRule.js.map +1 -1
- package/customAllocationRule.d.ts +27 -0
- package/customAllocationRule.js +27 -0
- package/customAllocationRule.js.map +1 -1
- package/customAllocationRules.d.ts +69 -0
- package/customAllocationRules.js +69 -0
- package/customAllocationRules.js.map +1 -1
- package/downtimeSchedule.d.ts +35 -0
- package/downtimeSchedule.js +35 -0
- package/downtimeSchedule.js.map +1 -1
- package/monitorNotificationRule.d.ts +17 -0
- package/monitorNotificationRule.js +17 -0
- package/monitorNotificationRule.js.map +1 -1
- package/observabilityPipeline.d.ts +66 -0
- package/observabilityPipeline.js +66 -0
- package/observabilityPipeline.js.map +1 -1
- package/onCallSchedule.d.ts +28 -0
- package/onCallSchedule.js +28 -0
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.d.ts +33 -0
- package/onCallTeamRoutingRules.js +33 -0
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.d.ts +13 -0
- package/openapiApi.js +13 -0
- package/openapiApi.js.map +1 -1
- package/package.json +2 -2
- package/rumMetric.d.ts +26 -0
- package/rumMetric.js +26 -0
- package/rumMetric.js.map +1 -1
- package/rumRetentionFiltersOrder.d.ts +45 -0
- package/rumRetentionFiltersOrder.js +45 -0
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringRuleJson.d.ts +45 -0
- package/securityMonitoringRuleJson.js +45 -0
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityNotificationRule.d.ts +35 -0
- package/securityNotificationRule.js +35 -0
- package/securityNotificationRule.js.map +1 -1
- package/spansMetric.d.ts +22 -0
- package/spansMetric.js +22 -0
- package/spansMetric.js.map +1 -1
- package/tagPipelineRuleset.d.ts +58 -0
- package/tagPipelineRuleset.js +58 -0
- package/tagPipelineRuleset.js.map +1 -1
- package/tagPipelineRulesets.d.ts +167 -0
- package/tagPipelineRulesets.js +167 -0
- package/tagPipelineRulesets.js.map +1 -1
|
@@ -6,6 +6,39 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const teamRulesTest = new datadog.OnCallTeamRoutingRules("team_rules_test", {
|
|
14
|
+
* teamId: "00000000-aba2-0000-0000-000000000000",
|
|
15
|
+
* rules: [
|
|
16
|
+
* {
|
|
17
|
+
* query: "tags.service:test",
|
|
18
|
+
* actions: [{
|
|
19
|
+
* sendSlackMessage: [{
|
|
20
|
+
* workspace: "workspace",
|
|
21
|
+
* channel: "channel",
|
|
22
|
+
* }],
|
|
23
|
+
* }],
|
|
24
|
+
* timeRestrictions: [{
|
|
25
|
+
* timeZone: "America/New_York",
|
|
26
|
+
* restrictions: [{
|
|
27
|
+
* endDay: "monday",
|
|
28
|
+
* endTime: "17:00:00",
|
|
29
|
+
* startDay: "monday",
|
|
30
|
+
* startTime: "09:00:00",
|
|
31
|
+
* }],
|
|
32
|
+
* }],
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* escalationPolicy: "00000000-aba2-0000-0000-000000000000",
|
|
36
|
+
* urgency: "dynamic",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
9
42
|
* ## Import
|
|
10
43
|
*
|
|
11
44
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,39 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const teamRulesTest = new datadog.OnCallTeamRoutingRules("team_rules_test", {
|
|
18
|
+
* teamId: "00000000-aba2-0000-0000-000000000000",
|
|
19
|
+
* rules: [
|
|
20
|
+
* {
|
|
21
|
+
* query: "tags.service:test",
|
|
22
|
+
* actions: [{
|
|
23
|
+
* sendSlackMessage: [{
|
|
24
|
+
* workspace: "workspace",
|
|
25
|
+
* channel: "channel",
|
|
26
|
+
* }],
|
|
27
|
+
* }],
|
|
28
|
+
* timeRestrictions: [{
|
|
29
|
+
* timeZone: "America/New_York",
|
|
30
|
+
* restrictions: [{
|
|
31
|
+
* endDay: "monday",
|
|
32
|
+
* endTime: "17:00:00",
|
|
33
|
+
* startDay: "monday",
|
|
34
|
+
* startTime: "09:00:00",
|
|
35
|
+
* }],
|
|
36
|
+
* }],
|
|
37
|
+
* },
|
|
38
|
+
* {
|
|
39
|
+
* escalationPolicy: "00000000-aba2-0000-0000-000000000000",
|
|
40
|
+
* urgency: "dynamic",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
13
46
|
* ## Import
|
|
14
47
|
*
|
|
15
48
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCallTeamRoutingRules.js","sourceRoot":"","sources":["../onCallTeamRoutingRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"onCallTeamRoutingRules.js","sourceRoot":"","sources":["../onCallTeamRoutingRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA9DL,wDA+DC;AAjDG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
package/openapiApi.d.ts
CHANGED
|
@@ -2,6 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Deprecated: use the `datadog.SoftwareCatalog` resource instead. Provides a Datadog OpenAPI resource. This can be used to synchronize Datadog's [API catalog](https://docs.datadoghq.com/api_catalog/) with an [OpenAPI](https://www.openapis.org/) specifications file.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* // Uploads an OpenAPI file from the given local path to Datadog's API catalog
|
|
13
|
+
* const my_api = new datadog.OpenapiApi("my-api", {spec: std.index.file({
|
|
14
|
+
* input: "./path/my-api.yaml",
|
|
15
|
+
* }).result});
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
5
18
|
* ## Import
|
|
6
19
|
*
|
|
7
20
|
* The `pulumi import` command can be used, for example:
|
package/openapiApi.js
CHANGED
|
@@ -8,6 +8,19 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Deprecated: use the `datadog.SoftwareCatalog` resource instead. Provides a Datadog OpenAPI resource. This can be used to synchronize Datadog's [API catalog](https://docs.datadoghq.com/api_catalog/) with an [OpenAPI](https://www.openapis.org/) specifications file.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* // Uploads an OpenAPI file from the given local path to Datadog's API catalog
|
|
19
|
+
* const my_api = new datadog.OpenapiApi("my-api", {spec: std.index.file({
|
|
20
|
+
* input: "./path/my-api.yaml",
|
|
21
|
+
* }).result});
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
11
24
|
* ## Import
|
|
12
25
|
*
|
|
13
26
|
* The `pulumi import` command can be used, for example:
|
package/openapiApi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapiApi.js","sourceRoot":"","sources":["../openapiApi.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"openapiApi.js","sourceRoot":"","sources":["../openapiApi.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,I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|
3
|
+
"version": "4.61.0-alpha.1764888314",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Datadog resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "datadog",
|
|
25
|
-
"version": "4.61.0-alpha.
|
|
25
|
+
"version": "4.61.0-alpha.1764888314"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/rumMetric.d.ts
CHANGED
|
@@ -6,6 +6,32 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new rum_metric resource
|
|
14
|
+
* const testingRumMetric = new datadog.RumMetric("testing_rum_metric", {
|
|
15
|
+
* name: "testing.rum.metric",
|
|
16
|
+
* compute: [{
|
|
17
|
+
* aggregationType: "distribution",
|
|
18
|
+
* includePercentiles: true,
|
|
19
|
+
* path: "@duration",
|
|
20
|
+
* }],
|
|
21
|
+
* eventType: "session",
|
|
22
|
+
* filter: [{
|
|
23
|
+
* query: "@service:web-ui",
|
|
24
|
+
* }],
|
|
25
|
+
* groupBies: [{
|
|
26
|
+
* path: "@browser.name",
|
|
27
|
+
* tagName: "browser_name",
|
|
28
|
+
* }],
|
|
29
|
+
* uniqueness: [{
|
|
30
|
+
* when: "match",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
9
35
|
* ## Import
|
|
10
36
|
*
|
|
11
37
|
* The `pulumi import` command can be used, for example:
|
package/rumMetric.js
CHANGED
|
@@ -10,6 +10,32 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new rum_metric resource
|
|
18
|
+
* const testingRumMetric = new datadog.RumMetric("testing_rum_metric", {
|
|
19
|
+
* name: "testing.rum.metric",
|
|
20
|
+
* compute: [{
|
|
21
|
+
* aggregationType: "distribution",
|
|
22
|
+
* includePercentiles: true,
|
|
23
|
+
* path: "@duration",
|
|
24
|
+
* }],
|
|
25
|
+
* eventType: "session",
|
|
26
|
+
* filter: [{
|
|
27
|
+
* query: "@service:web-ui",
|
|
28
|
+
* }],
|
|
29
|
+
* groupBies: [{
|
|
30
|
+
* path: "@browser.name",
|
|
31
|
+
* tagName: "browser_name",
|
|
32
|
+
* }],
|
|
33
|
+
* uniqueness: [{
|
|
34
|
+
* when: "match",
|
|
35
|
+
* }],
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
13
39
|
* ## Import
|
|
14
40
|
*
|
|
15
41
|
* The `pulumi import` command can be used, for example:
|
package/rumMetric.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rumMetric.js","sourceRoot":"","sources":["../rumMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"rumMetric.js","sourceRoot":"","sources":["../rumMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,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AI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,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;;AA7EL,8BA8EC;AAhEG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -2,6 +2,51 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Datadog RumRetentionFiltersOrder resource. This is used to manage the order of Datadog RUM retention filters. Please note that retentionFilterIds should contain all IDs of retention filters, including the default ones created internally for a given RUM application.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* // Create a new rum_application resource.
|
|
13
|
+
* const myRumApplication = new datadog.RumApplication("my_rum_application", {
|
|
14
|
+
* name: "my-rum-application-test",
|
|
15
|
+
* type: "browser",
|
|
16
|
+
* });
|
|
17
|
+
* // Retrieve rum_retention_filters for the rum_application created above.
|
|
18
|
+
* const myRetentionFilters = datadog.getRumRetentionFilters({
|
|
19
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
20
|
+
* });
|
|
21
|
+
* // Create a new rum_retention_filter resource.
|
|
22
|
+
* const newRumRetentionFilter = new datadog.RumRetentionFilter("new_rum_retention_filter", {
|
|
23
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
24
|
+
* name: "testing.rum.retention_filter",
|
|
25
|
+
* eventType: "action",
|
|
26
|
+
* sampleRate: 60,
|
|
27
|
+
* query: "@session.has_replay:true",
|
|
28
|
+
* enabled: true,
|
|
29
|
+
* });
|
|
30
|
+
* // Create a new rum_retention_filters_order resource for reordering.
|
|
31
|
+
* // Please note that the IDs of all default retention filters have the prefix 'default', and you need to populate the retention_filter_ids field with all retention filter IDs.
|
|
32
|
+
* const myRumRetentionFiltersOrder = new datadog.RumRetentionFiltersOrder("my_rum_retention_filters_order", {
|
|
33
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
34
|
+
* retentionFilterIds: std.index.concat({
|
|
35
|
+
* input: [
|
|
36
|
+
* myRetentionFilters.then(myRetentionFilters => .filter(rf => std.index.startswith({
|
|
37
|
+
* input: rf.id,
|
|
38
|
+
* prefix: "default",
|
|
39
|
+
* }).result).map(rf => (rf.id))),
|
|
40
|
+
* [newRumRetentionFilter.id],
|
|
41
|
+
* pulumi.all([myRetentionFilters, newRumRetentionFilter.id]).apply(([myRetentionFilters, id]) => .filter(rf => !std.index.startswith({
|
|
42
|
+
* input: rf.id,
|
|
43
|
+
* prefix: "default",
|
|
44
|
+
* }).result && rf.id != id).map(rf => (rf.id))),
|
|
45
|
+
* ],
|
|
46
|
+
* }).result,
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
5
50
|
* ## Import
|
|
6
51
|
*
|
|
7
52
|
* The `pulumi import` command can be used, for example:
|
|
@@ -8,6 +8,51 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Datadog RumRetentionFiltersOrder resource. This is used to manage the order of Datadog RUM retention filters. Please note that retentionFilterIds should contain all IDs of retention filters, including the default ones created internally for a given RUM application.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* // Create a new rum_application resource.
|
|
19
|
+
* const myRumApplication = new datadog.RumApplication("my_rum_application", {
|
|
20
|
+
* name: "my-rum-application-test",
|
|
21
|
+
* type: "browser",
|
|
22
|
+
* });
|
|
23
|
+
* // Retrieve rum_retention_filters for the rum_application created above.
|
|
24
|
+
* const myRetentionFilters = datadog.getRumRetentionFilters({
|
|
25
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
26
|
+
* });
|
|
27
|
+
* // Create a new rum_retention_filter resource.
|
|
28
|
+
* const newRumRetentionFilter = new datadog.RumRetentionFilter("new_rum_retention_filter", {
|
|
29
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
30
|
+
* name: "testing.rum.retention_filter",
|
|
31
|
+
* eventType: "action",
|
|
32
|
+
* sampleRate: 60,
|
|
33
|
+
* query: "@session.has_replay:true",
|
|
34
|
+
* enabled: true,
|
|
35
|
+
* });
|
|
36
|
+
* // Create a new rum_retention_filters_order resource for reordering.
|
|
37
|
+
* // Please note that the IDs of all default retention filters have the prefix 'default', and you need to populate the retention_filter_ids field with all retention filter IDs.
|
|
38
|
+
* const myRumRetentionFiltersOrder = new datadog.RumRetentionFiltersOrder("my_rum_retention_filters_order", {
|
|
39
|
+
* applicationId: datadogRumApplication.myRumApplication.id,
|
|
40
|
+
* retentionFilterIds: std.index.concat({
|
|
41
|
+
* input: [
|
|
42
|
+
* myRetentionFilters.then(myRetentionFilters => .filter(rf => std.index.startswith({
|
|
43
|
+
* input: rf.id,
|
|
44
|
+
* prefix: "default",
|
|
45
|
+
* }).result).map(rf => (rf.id))),
|
|
46
|
+
* [newRumRetentionFilter.id],
|
|
47
|
+
* pulumi.all([myRetentionFilters, newRumRetentionFilter.id]).apply(([myRetentionFilters, id]) => .filter(rf => !std.index.startswith({
|
|
48
|
+
* input: rf.id,
|
|
49
|
+
* prefix: "default",
|
|
50
|
+
* }).result && rf.id != id).map(rf => (rf.id))),
|
|
51
|
+
* ],
|
|
52
|
+
* }).result,
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
11
56
|
* ## Import
|
|
12
57
|
*
|
|
13
58
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rumRetentionFiltersOrder.js","sourceRoot":"","sources":["../rumRetentionFiltersOrder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"rumRetentionFiltersOrder.js","sourceRoot":"","sources":["../rumRetentionFiltersOrder.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,Y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as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* // Example Security Monitoring Rule JSON
|
|
12
|
+
* const securityRuleJson = new datadog.SecurityMonitoringRuleJson("security_rule_json", {rule: `{
|
|
13
|
+
* "name": "High error rate security monitoring",
|
|
14
|
+
* "isEnabled": true,
|
|
15
|
+
* "type": "log_detection",
|
|
16
|
+
* "message": "High error rate detected in logs",
|
|
17
|
+
* "tags": ["env:prod", "security"],
|
|
18
|
+
* "cases": [
|
|
19
|
+
* {
|
|
20
|
+
* "name": "high case",
|
|
21
|
+
* "status": "high",
|
|
22
|
+
* "condition": "errors > 100 && warnings > 1000",
|
|
23
|
+
* "notifications": ["@security-team"]
|
|
24
|
+
* }
|
|
25
|
+
* ],
|
|
26
|
+
* "queries": [
|
|
27
|
+
* {
|
|
28
|
+
* "name": "errors",
|
|
29
|
+
* "query": "status:error",
|
|
30
|
+
* "aggregation": "count",
|
|
31
|
+
* "dataSource": "logs",
|
|
32
|
+
* "groupByFields": ["service", "env"]
|
|
33
|
+
* },
|
|
34
|
+
* {
|
|
35
|
+
* "name": "warnings",
|
|
36
|
+
* "query": "status:warning",
|
|
37
|
+
* "aggregation": "count",
|
|
38
|
+
* "dataSource": "logs",
|
|
39
|
+
* "groupByFields": ["service", "env"]
|
|
40
|
+
* }
|
|
41
|
+
* ],
|
|
42
|
+
* "options": {
|
|
43
|
+
* "evaluationWindow": 300,
|
|
44
|
+
* "keepAlive": 600,
|
|
45
|
+
* "maxSignalDuration": 900,
|
|
46
|
+
* "detectionMethod": "threshold"
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* `});
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
7
52
|
* ## Import
|
|
8
53
|
*
|
|
9
54
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,51 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Example Security Monitoring Rule JSON
|
|
18
|
+
* const securityRuleJson = new datadog.SecurityMonitoringRuleJson("security_rule_json", {rule: `{
|
|
19
|
+
* "name": "High error rate security monitoring",
|
|
20
|
+
* "isEnabled": true,
|
|
21
|
+
* "type": "log_detection",
|
|
22
|
+
* "message": "High error rate detected in logs",
|
|
23
|
+
* "tags": ["env:prod", "security"],
|
|
24
|
+
* "cases": [
|
|
25
|
+
* {
|
|
26
|
+
* "name": "high case",
|
|
27
|
+
* "status": "high",
|
|
28
|
+
* "condition": "errors > 100 && warnings > 1000",
|
|
29
|
+
* "notifications": ["@security-team"]
|
|
30
|
+
* }
|
|
31
|
+
* ],
|
|
32
|
+
* "queries": [
|
|
33
|
+
* {
|
|
34
|
+
* "name": "errors",
|
|
35
|
+
* "query": "status:error",
|
|
36
|
+
* "aggregation": "count",
|
|
37
|
+
* "dataSource": "logs",
|
|
38
|
+
* "groupByFields": ["service", "env"]
|
|
39
|
+
* },
|
|
40
|
+
* {
|
|
41
|
+
* "name": "warnings",
|
|
42
|
+
* "query": "status:warning",
|
|
43
|
+
* "aggregation": "count",
|
|
44
|
+
* "dataSource": "logs",
|
|
45
|
+
* "groupByFields": ["service", "env"]
|
|
46
|
+
* }
|
|
47
|
+
* ],
|
|
48
|
+
* "options": {
|
|
49
|
+
* "evaluationWindow": 300,
|
|
50
|
+
* "keepAlive": 600,
|
|
51
|
+
* "maxSignalDuration": 900,
|
|
52
|
+
* "detectionMethod": "threshold"
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* `});
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
13
58
|
* ## Import
|
|
14
59
|
*
|
|
15
60
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityMonitoringRuleJson.js","sourceRoot":"","sources":["../securityMonitoringRuleJson.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"securityMonitoringRuleJson.js","sourceRoot":"","sources":["../securityMonitoringRuleJson.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAeD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAyD,CAAC;YACvE,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAxDL,gEAyDC;AA3CG,gBAAgB;AACO,uCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -6,6 +6,41 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const signalRule = new datadog.SecurityNotificationRule("signal_rule", {
|
|
14
|
+
* name: "My signal notification rule",
|
|
15
|
+
* selectors: [{
|
|
16
|
+
* triggerSource: "security_signals",
|
|
17
|
+
* ruleTypes: ["workload_security"],
|
|
18
|
+
* query: "env:prod",
|
|
19
|
+
* }],
|
|
20
|
+
* enabled: false,
|
|
21
|
+
* targets: [
|
|
22
|
+
* "@bob@email.com",
|
|
23
|
+
* "@alice@email.com",
|
|
24
|
+
* ],
|
|
25
|
+
* });
|
|
26
|
+
* const vulnerabilityRule = new datadog.SecurityNotificationRule("vulnerability_rule", {
|
|
27
|
+
* name: "My vulnerability notification rule",
|
|
28
|
+
* selectors: [{
|
|
29
|
+
* triggerSource: "security_findings",
|
|
30
|
+
* ruleTypes: [
|
|
31
|
+
* "application_library_vulnerability",
|
|
32
|
+
* "identity_risk",
|
|
33
|
+
* ],
|
|
34
|
+
* severities: [
|
|
35
|
+
* "critical",
|
|
36
|
+
* "high",
|
|
37
|
+
* ],
|
|
38
|
+
* }],
|
|
39
|
+
* timeAggregation: 36000,
|
|
40
|
+
* targets: ["@john@email.com"],
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
9
44
|
* ## Import
|
|
10
45
|
*
|
|
11
46
|
* The `pulumi import` command can be used, for example:
|
|
@@ -10,6 +10,41 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const signalRule = new datadog.SecurityNotificationRule("signal_rule", {
|
|
18
|
+
* name: "My signal notification rule",
|
|
19
|
+
* selectors: [{
|
|
20
|
+
* triggerSource: "security_signals",
|
|
21
|
+
* ruleTypes: ["workload_security"],
|
|
22
|
+
* query: "env:prod",
|
|
23
|
+
* }],
|
|
24
|
+
* enabled: false,
|
|
25
|
+
* targets: [
|
|
26
|
+
* "@bob@email.com",
|
|
27
|
+
* "@alice@email.com",
|
|
28
|
+
* ],
|
|
29
|
+
* });
|
|
30
|
+
* const vulnerabilityRule = new datadog.SecurityNotificationRule("vulnerability_rule", {
|
|
31
|
+
* name: "My vulnerability notification rule",
|
|
32
|
+
* selectors: [{
|
|
33
|
+
* triggerSource: "security_findings",
|
|
34
|
+
* ruleTypes: [
|
|
35
|
+
* "application_library_vulnerability",
|
|
36
|
+
* "identity_risk",
|
|
37
|
+
* ],
|
|
38
|
+
* severities: [
|
|
39
|
+
* "critical",
|
|
40
|
+
* "high",
|
|
41
|
+
* ],
|
|
42
|
+
* }],
|
|
43
|
+
* timeAggregation: 36000,
|
|
44
|
+
* targets: ["@john@email.com"],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
13
48
|
* ## Import
|
|
14
49
|
*
|
|
15
50
|
* The `pulumi import` command can be used, for example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securityNotificationRule.js","sourceRoot":"","sources":["../securityNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"securityNotificationRule.js","sourceRoot":"","sources":["../securityNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IA2DD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,SAAS,C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,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA7HL,4DA8HC;AAhHG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
|
package/spansMetric.d.ts
CHANGED
|
@@ -6,6 +6,28 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Create new spans_metric resource
|
|
14
|
+
* const testingSpansMetric = new datadog.SpansMetric("testing_spans_metric", {
|
|
15
|
+
* name: "testing.span.metric",
|
|
16
|
+
* compute: [{
|
|
17
|
+
* aggregationType: "distribution",
|
|
18
|
+
* includePercentiles: false,
|
|
19
|
+
* path: "@duration",
|
|
20
|
+
* }],
|
|
21
|
+
* filter: [{
|
|
22
|
+
* query: "@http.status_code:200 service:my-service",
|
|
23
|
+
* }],
|
|
24
|
+
* groupBies: [{
|
|
25
|
+
* path: "resource_name",
|
|
26
|
+
* tagName: "resource_name",
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
9
31
|
* ## Import
|
|
10
32
|
*
|
|
11
33
|
* The `pulumi import` command can be used, for example:
|
package/spansMetric.js
CHANGED
|
@@ -10,6 +10,28 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Create new spans_metric resource
|
|
18
|
+
* const testingSpansMetric = new datadog.SpansMetric("testing_spans_metric", {
|
|
19
|
+
* name: "testing.span.metric",
|
|
20
|
+
* compute: [{
|
|
21
|
+
* aggregationType: "distribution",
|
|
22
|
+
* includePercentiles: false,
|
|
23
|
+
* path: "@duration",
|
|
24
|
+
* }],
|
|
25
|
+
* filter: [{
|
|
26
|
+
* query: "@http.status_code:200 service:my-service",
|
|
27
|
+
* }],
|
|
28
|
+
* groupBies: [{
|
|
29
|
+
* path: "resource_name",
|
|
30
|
+
* tagName: "resource_name",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
13
35
|
* ## Import
|
|
14
36
|
*
|
|
15
37
|
* The `pulumi import` command can be used, for example:
|
package/spansMetric.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spansMetric.js","sourceRoot":"","sources":["../spansMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"spansMetric.js","sourceRoot":"","sources":["../spansMetric.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,W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