@rio-cloud/cdk-v2-constructs 9.0.0-alpha.8 → 9.0.0-alpha.9
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/.jsii +883 -183
- package/README.md +65 -0
- package/docs/AGENTS_DOCUMENTATION.md +80 -14
- package/lib/fargate/datadog.d.ts +4 -1
- package/lib/fargate/datadog.js +6 -3
- package/lib/fargate/rio-fargate-service-blue-green-alpha.js +6 -1
- package/lib/fargate/rio-fargate-service.d.ts +22 -1
- package/lib/fargate/rio-fargate-service.js +11 -2
- package/lib/fargate/trace-sampling.d.ts +87 -0
- package/lib/fargate/trace-sampling.js +123 -0
- package/package.json +1 -1
- package/version.json +1 -1
package/.jsii
CHANGED
|
@@ -9869,7 +9869,7 @@
|
|
|
9869
9869
|
},
|
|
9870
9870
|
"name": "@rio-cloud/cdk-v2-constructs",
|
|
9871
9871
|
"readme": {
|
|
9872
|
-
"markdown": "# RIO CDK Constructs\n\nThis package contains CDK2 constructs for RIO teams.\n\n> NPM: `@rio-cloud/cdk-v2-constructs`\n\n## Bootstrapping of CDK project\n\n```\n$ npx cdk init --language typescript\n```\n\n## Installation\n\n```\n$ npm install --save @rio-cloud/cdk-v2-constructs\n```\n\n## See also\n\n * [How to contribute](./docs/contribution.md)\n * [Changelog](./docs/changelog.md)\n * [brief API description](./docs/API.md)\n * [Agent documentation](./docs/AGENTS_DOCUMENTATION.md)\n\n## Internal documentation for library devs\n[Documentation](./docs/developers-readme.md)\n\n## Constructs overview (Under construction...)\n\n### Watchful\n\nWatchful constructs help generate some default monitors based on the resources defined in your stack. E.g. - If your stack contains a lambda function, and you configure watchful construct, then it will create out of box metric monitors for Throttling, Lambda error and Log error monitors. The ever-growing list of resources that watchful creates monitors for as of today are:\n\n- Application load balancer\n- Cloudfront\n- Documentdb\n- Dynamodb\n- Fargate\n- Lambda\n- RDS\n\nSimply add the following to your CDK stack to get started.\n```\n import * as rio from '@rio-cloud/cdk-v2-constructs';\n ...\n const dw = new rio.watchfulv2.Watchful(this, 'Watchful', {\n serviceName,\n });\n dw.watchScope(this); // Generates alarms for all supported resources\n ...\n```\n\nThere are options to override some defaults too. Please be aware that the library is very opinionated and is written with the most general use cases in mind. It is necessary to keep the use of the library simple enough, which means that there is only limited flexibility regarding the configuration options. Having said that, feel free to reach out to team CLAID over slack #rio-platform-support in case of feature requests.\n\nThe broad classification of the monitors created by watchful are\n- Log error monitors\n- Metrics Query monitors: Basically everything other than log error monitors\n\nFor Metrics query monitors, you can configure the priority (defaults as 3). For log error monitors, you can configure priority, renotification interval and can configure if the auto close of the monitor is disabled.\n```\n ...\n const dw = new Watchful(stack, 'Watchful2', {\n logErrorMonitorConfig: {\n disableAutoClose: true,\n renotifyInterval: 150,\n priority: 4,\n },\n queryErrorMonitorConfig: {\n priority: 4\n }\n });\n dw.watchScope(stack);\n```\n\nThere is an `overrideAlarmThreshold` method which can be used to override the default watchful thresholds. Please make sure to use the method before the `watchscope` function.\nE.g. -\n```\n...\nconst dw = new Watchful(stack, 'Watchful', {});\ndw.overrideAlarmThreshold({\n monitoredResourceScope: lambdaA,\n monitorType: MonitorType.ERRORS,\n threshold: 5,\n});\ndw.watchScope(stack);\n```\n\n### ClassifyPipelineType\n\nThe pipelines can be tagged with key 'pipeline_type' to the following values:\n\n* deploy: To tag the production pipeline releasing the application\n* branch: The branch pipeline. Mostly used to test contributions / renovate updates\n* vulnerability: The vulnerability pipeline\n\nThe construct `ClassifyPipelineType` can be used to tag the pipeline accordingly. This tag is also picked up by the Datadog pipeline metric used to monitor the pipelines. It is added as a tag to the metric. This gives you more flexibility with managing the monitors also. E.g. some teams don't want to get alerted for branch pipelines. You can then leverage this metric tag to filter the pipelines.\n\nExample:\n\n```typescript\nconst pipeline = new pipelines.CodePipeline(this, 'Pipeline', {\n ...\n });\nrio.ClassifyPipelineType.apply(pipeline, rio.RioPipelineType.DEPLOY);\n```\n"
|
|
9872
|
+
"markdown": "# RIO CDK Constructs\n\nThis package contains CDK2 constructs for RIO teams.\n\n> NPM: `@rio-cloud/cdk-v2-constructs`\n\n## Bootstrapping of CDK project\n\n```\n$ npx cdk init --language typescript\n```\n\n## Installation\n\n```\n$ npm install --save @rio-cloud/cdk-v2-constructs\n```\n\n## See also\n\n * [How to contribute](./docs/contribution.md)\n * [Changelog](./docs/changelog.md)\n * [brief API description](./docs/API.md)\n * [Agent documentation](./docs/AGENTS_DOCUMENTATION.md)\n\n## Internal documentation for library devs\n[Documentation](./docs/developers-readme.md)\n\n## Constructs overview (Under construction...)\n\n### Fargate trace sampling\n\n`RioFargateService` and `RioFargateServiceBlueGreenAlpha` configure Datadog\ntrace sampling through `datadogOptions.traceSampling`. The default is\n`TraceSamplingMode.DEFAULT`: it sets `DD_APM_TARGET_TPS=5` and\n`DD_APM_ERROR_TPS=10` on the Datadog Agent sidecar. This replaces the\nhistorical application-level fixed rate of `DD_TRACE_SAMPLE_RATE=1.0`.\nThese settings apply per Agent; each Fargate task has its own Agent sidecar.\n\nThe head-sampling target is averaged over time, so traffic spikes can exceed\nit. Error sampling captures additional local error trace chunks missed by\nhead sampling; it does not cap the total number of error traces ingested.\n\nRIO uses target-per-second sampling as its default because it is appropriate\nfor both low- and high-traffic services: low-traffic services can retain all\ntheir traces, while high-traffic services are sampled toward the target.\n\nFor Kotlin/Spring Boot services on Fargate it is recommended to use the\nDatadog Java tracer, `dd-java-agent`, as a JVM agent. It automatically\ninstruments supported Spring Boot libraries and enables the Agent-side\ntarget-per-second sampling configured by this construct.\n\nDo not use the OpenTelemetry Java agent. The default tracing behavior for RIO\nFargate Services—`DD_APM_TARGET_TPS`—controls Datadog SDKs, not OTLP\ningestion. OpenTelemetry users must configure sampling in their own SDK and\nmaintain that integration separately.\n\n- `DEFAULT` (or no option) emits the RIO Agent head-sampling target of 5\n traces per second and an additional error-sampling budget of 10 error trace\n chunks per second, per Agent (and therefore per running service instance).\n This target-per-second approach is a practical default for both low- and\n high-traffic services.\n- `DATADOG_DEFAULT` emits no sampling variables, leaving Datadog's sampling\n defaults in control.\n- `FIXED_RATE` requires `fixedRate` (from 0 through 1) and emits a global\n `DD_TRACE_SAMPLING_RULES` rule on the application container.\n Datadog tracers additionally enforce their built-in 100-traces-per-second\n rate limit when sampling rules are configured. This construct deliberately\n does not expose or override that safeguard, so `fixedRate` is subject to\n that per-instance upper bound on high-traffic services.\n- `TARGET_PER_SECOND` requires `targetTracesPerSecond` and emits\n `DD_APM_TARGET_TPS` on the Agent sidecar. This is an average head-sampling\n target per Agent. Optional `errorTracesPerSecond` configures\n `DD_APM_ERROR_TPS`, the budget for additional local error trace chunks per\n second missed by head sampling.\n\nFor example:\n\n```ts\ndatadogOptions: {\n traceSampling: {\n mode: TraceSamplingMode.TARGET_PER_SECOND,\n targetTracesPerSecond: 20,\n errorTracesPerSecond: 10,\n },\n},\n```\n\n`DD_TRACE_SAMPLING_RULES`, `DD_TRACE_SAMPLE_RATE`, `DD_APM_TARGET_TPS`, or\n`DD_APM_ERROR_TPS` SHOULD not be set directly in\n`containerDefinitionOption.environment`. Direct configuration remains possible\nfor backwards compatibility and produces a synthesis warning only.\nUsers who choose this approach are responsible for its configuration,\ncompatibility, and ongoing maintenance.\n\n### Watchful\n\nWatchful constructs help generate some default monitors based on the resources defined in your stack. E.g. - If your stack contains a lambda function, and you configure watchful construct, then it will create out of box metric monitors for Throttling, Lambda error and Log error monitors. The ever-growing list of resources that watchful creates monitors for as of today are:\n\n- Application load balancer\n- Cloudfront\n- Documentdb\n- Dynamodb\n- Fargate\n- Lambda\n- RDS\n\nSimply add the following to your CDK stack to get started.\n```\n import * as rio from '@rio-cloud/cdk-v2-constructs';\n ...\n const dw = new rio.watchfulv2.Watchful(this, 'Watchful', {\n serviceName,\n });\n dw.watchScope(this); // Generates alarms for all supported resources\n ...\n```\n\nThere are options to override some defaults too. Please be aware that the library is very opinionated and is written with the most general use cases in mind. It is necessary to keep the use of the library simple enough, which means that there is only limited flexibility regarding the configuration options. Having said that, feel free to reach out to team CLAID over slack #rio-platform-support in case of feature requests.\n\nThe broad classification of the monitors created by watchful are\n- Log error monitors\n- Metrics Query monitors: Basically everything other than log error monitors\n\nFor Metrics query monitors, you can configure the priority (defaults as 3). For log error monitors, you can configure priority, renotification interval and can configure if the auto close of the monitor is disabled.\n```\n ...\n const dw = new Watchful(stack, 'Watchful2', {\n logErrorMonitorConfig: {\n disableAutoClose: true,\n renotifyInterval: 150,\n priority: 4,\n },\n queryErrorMonitorConfig: {\n priority: 4\n }\n });\n dw.watchScope(stack);\n```\n\nThere is an `overrideAlarmThreshold` method which can be used to override the default watchful thresholds. Please make sure to use the method before the `watchscope` function.\nE.g. -\n```\n...\nconst dw = new Watchful(stack, 'Watchful', {});\ndw.overrideAlarmThreshold({\n monitoredResourceScope: lambdaA,\n monitorType: MonitorType.ERRORS,\n threshold: 5,\n});\ndw.watchScope(stack);\n```\n\n### ClassifyPipelineType\n\nThe pipelines can be tagged with key 'pipeline_type' to the following values:\n\n* deploy: To tag the production pipeline releasing the application\n* branch: The branch pipeline. Mostly used to test contributions / renovate updates\n* vulnerability: The vulnerability pipeline\n\nThe construct `ClassifyPipelineType` can be used to tag the pipeline accordingly. This tag is also picked up by the Datadog pipeline metric used to monitor the pipelines. It is added as a tag to the metric. This gives you more flexibility with managing the monitors also. E.g. some teams don't want to get alerted for branch pipelines. You can then leverage this metric tag to filter the pipelines.\n\nExample:\n\n```typescript\nconst pipeline = new pipelines.CodePipeline(this, 'Pipeline', {\n ...\n });\nrio.ClassifyPipelineType.apply(pipeline, rio.RioPipelineType.DEPLOY);\n```\n"
|
|
9873
9873
|
},
|
|
9874
9874
|
"repository": {
|
|
9875
9875
|
"type": "git",
|
|
@@ -10446,7 +10446,7 @@
|
|
|
10446
10446
|
"kind": "interface",
|
|
10447
10447
|
"locationInModule": {
|
|
10448
10448
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
10449
|
-
"line":
|
|
10449
|
+
"line": 93
|
|
10450
10450
|
},
|
|
10451
10451
|
"name": "BlueGreenDeploymentConfig",
|
|
10452
10452
|
"properties": [
|
|
@@ -10459,7 +10459,7 @@
|
|
|
10459
10459
|
"immutable": true,
|
|
10460
10460
|
"locationInModule": {
|
|
10461
10461
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
10462
|
-
"line":
|
|
10462
|
+
"line": 103
|
|
10463
10463
|
},
|
|
10464
10464
|
"name": "capabilityNames",
|
|
10465
10465
|
"optional": true,
|
|
@@ -10482,7 +10482,7 @@
|
|
|
10482
10482
|
"immutable": true,
|
|
10483
10483
|
"locationInModule": {
|
|
10484
10484
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
10485
|
-
"line":
|
|
10485
|
+
"line": 98
|
|
10486
10486
|
},
|
|
10487
10487
|
"name": "testListener",
|
|
10488
10488
|
"optional": true,
|
|
@@ -11032,7 +11032,7 @@
|
|
|
11032
11032
|
"kind": "interface",
|
|
11033
11033
|
"locationInModule": {
|
|
11034
11034
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11035
|
-
"line":
|
|
11035
|
+
"line": 94
|
|
11036
11036
|
},
|
|
11037
11037
|
"name": "ContainerDefinitionOptions",
|
|
11038
11038
|
"properties": [
|
|
@@ -11046,7 +11046,7 @@
|
|
|
11046
11046
|
"immutable": true,
|
|
11047
11047
|
"locationInModule": {
|
|
11048
11048
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11049
|
-
"line":
|
|
11049
|
+
"line": 102
|
|
11050
11050
|
},
|
|
11051
11051
|
"name": "image",
|
|
11052
11052
|
"type": {
|
|
@@ -11057,14 +11057,14 @@
|
|
|
11057
11057
|
"abstract": true,
|
|
11058
11058
|
"docs": {
|
|
11059
11059
|
"default": "- No environment variables.",
|
|
11060
|
-
"remarks": "Some Datadog specific environment variables are not allowed to be set,\nbecause they are set automatically or computed from other attributes.\nThese are:\n* DD_ENV: Set same as prop stage\n* DD_SERVICE: Set same as prop serviceName\n* DD_VERSION: Set same as prop version\n* DD_TAGS: Set same as DatadogIntegrationProps#additionalTags\n* DD_LOGS_INJECTION: true\nOther DD_-prefixed vaiable may be added to this list.\n\nOther Environment variables set by default are overwritten if passed.\nThese are:\n* DD_SERVICE_MAPPING: database:fargate-web-app-aurora,java-aws-sdk:fargate-web-app-aws-sdk,kafka:fargate-web-app-kafka,mysql:fargate-web-app-aurora\
|
|
11060
|
+
"remarks": "Some Datadog specific environment variables are not allowed to be set,\nbecause they are set automatically or computed from other attributes.\nThese are:\n* DD_ENV: Set same as prop stage\n* DD_SERVICE: Set same as prop serviceName\n* DD_VERSION: Set same as prop version\n* DD_TAGS: Set same as DatadogIntegrationProps#additionalTags\n* DD_LOGS_INJECTION: true\nOther DD_-prefixed vaiable may be added to this list.\n\nOther Environment variables set by default are overwritten if passed.\nThese are:\n* DD_SERVICE_MAPPING: database:fargate-web-app-aurora,java-aws-sdk:fargate-web-app-aws-sdk,kafka:fargate-web-app-kafka,mysql:fargate-web-app-aurora\nSampling variables (`DD_TRACE_SAMPLING_RULES`, `DD_TRACE_SAMPLE_RATE`,\n`DD_APM_TARGET_TPS`, and `DD_APM_ERROR_TPS`) should be configured through\n`DatadogIntegrationProps.traceSampling`. Supplying them here is preserved\nfor backwards compatibility, but produces a synthesis warning. In\nparticular, `DD_APM_*` values on this application container do not\nconfigure the Datadog Agent sidecar.",
|
|
11061
11061
|
"stability": "stable",
|
|
11062
11062
|
"summary": "The environment variables to pass to the container."
|
|
11063
11063
|
},
|
|
11064
11064
|
"immutable": true,
|
|
11065
11065
|
"locationInModule": {
|
|
11066
11066
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11067
|
-
"line":
|
|
11067
|
+
"line": 129
|
|
11068
11068
|
},
|
|
11069
11069
|
"name": "environment",
|
|
11070
11070
|
"optional": true,
|
|
@@ -11087,7 +11087,7 @@
|
|
|
11087
11087
|
"immutable": true,
|
|
11088
11088
|
"locationInModule": {
|
|
11089
11089
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11090
|
-
"line":
|
|
11090
|
+
"line": 143
|
|
11091
11091
|
},
|
|
11092
11092
|
"name": "healthCheck",
|
|
11093
11093
|
"optional": true,
|
|
@@ -11105,7 +11105,7 @@
|
|
|
11105
11105
|
"immutable": true,
|
|
11106
11106
|
"locationInModule": {
|
|
11107
11107
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11108
|
-
"line":
|
|
11108
|
+
"line": 136
|
|
11109
11109
|
},
|
|
11110
11110
|
"name": "secrets",
|
|
11111
11111
|
"optional": true,
|
|
@@ -11228,7 +11228,7 @@
|
|
|
11228
11228
|
"kind": "enum",
|
|
11229
11229
|
"locationInModule": {
|
|
11230
11230
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11231
|
-
"line":
|
|
11231
|
+
"line": 372
|
|
11232
11232
|
},
|
|
11233
11233
|
"members": [
|
|
11234
11234
|
{
|
|
@@ -11454,6 +11454,41 @@
|
|
|
11454
11454
|
],
|
|
11455
11455
|
"symbolId": "src/watchful/datadog-log-alarm:DataDogProps"
|
|
11456
11456
|
},
|
|
11457
|
+
"@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions": {
|
|
11458
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
11459
|
+
"datatype": true,
|
|
11460
|
+
"docs": {
|
|
11461
|
+
"remarks": "retain Datadog's defaults.",
|
|
11462
|
+
"stability": "stable",
|
|
11463
|
+
"summary": "Do not set sampling environment variables;"
|
|
11464
|
+
},
|
|
11465
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions",
|
|
11466
|
+
"kind": "interface",
|
|
11467
|
+
"locationInModule": {
|
|
11468
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
11469
|
+
"line": 41
|
|
11470
|
+
},
|
|
11471
|
+
"name": "DatadogDefaultTraceSamplingOptions",
|
|
11472
|
+
"properties": [
|
|
11473
|
+
{
|
|
11474
|
+
"abstract": true,
|
|
11475
|
+
"docs": {
|
|
11476
|
+
"stability": "stable",
|
|
11477
|
+
"summary": "The sampling strategy."
|
|
11478
|
+
},
|
|
11479
|
+
"immutable": true,
|
|
11480
|
+
"locationInModule": {
|
|
11481
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
11482
|
+
"line": 43
|
|
11483
|
+
},
|
|
11484
|
+
"name": "mode",
|
|
11485
|
+
"type": {
|
|
11486
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
11487
|
+
}
|
|
11488
|
+
}
|
|
11489
|
+
],
|
|
11490
|
+
"symbolId": "src/fargate/trace-sampling:DatadogDefaultTraceSamplingOptions"
|
|
11491
|
+
},
|
|
11457
11492
|
"@rio-cloud/cdk-v2-constructs.DatadogIntegrationProps": {
|
|
11458
11493
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
11459
11494
|
"datatype": true,
|
|
@@ -11464,7 +11499,7 @@
|
|
|
11464
11499
|
"kind": "interface",
|
|
11465
11500
|
"locationInModule": {
|
|
11466
11501
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11467
|
-
"line":
|
|
11502
|
+
"line": 251
|
|
11468
11503
|
},
|
|
11469
11504
|
"name": "DatadogIntegrationProps",
|
|
11470
11505
|
"properties": [
|
|
@@ -11478,7 +11513,7 @@
|
|
|
11478
11513
|
"immutable": true,
|
|
11479
11514
|
"locationInModule": {
|
|
11480
11515
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11481
|
-
"line":
|
|
11516
|
+
"line": 369
|
|
11482
11517
|
},
|
|
11483
11518
|
"name": "additionalTags",
|
|
11484
11519
|
"optional": true,
|
|
@@ -11502,7 +11537,7 @@
|
|
|
11502
11537
|
"immutable": true,
|
|
11503
11538
|
"locationInModule": {
|
|
11504
11539
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11505
|
-
"line":
|
|
11540
|
+
"line": 325
|
|
11506
11541
|
},
|
|
11507
11542
|
"name": "apmGetEndpointsToIgnore",
|
|
11508
11543
|
"optional": true,
|
|
@@ -11526,7 +11561,7 @@
|
|
|
11526
11561
|
"immutable": true,
|
|
11527
11562
|
"locationInModule": {
|
|
11528
11563
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11529
|
-
"line":
|
|
11564
|
+
"line": 294
|
|
11530
11565
|
},
|
|
11531
11566
|
"name": "awsFireLensCpu",
|
|
11532
11567
|
"optional": true,
|
|
@@ -11545,7 +11580,7 @@
|
|
|
11545
11580
|
"immutable": true,
|
|
11546
11581
|
"locationInModule": {
|
|
11547
11582
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11548
|
-
"line":
|
|
11583
|
+
"line": 304
|
|
11549
11584
|
},
|
|
11550
11585
|
"name": "awsFireLensMemoryLimitMiB",
|
|
11551
11586
|
"optional": true,
|
|
@@ -11563,7 +11598,7 @@
|
|
|
11563
11598
|
"immutable": true,
|
|
11564
11599
|
"locationInModule": {
|
|
11565
11600
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11566
|
-
"line":
|
|
11601
|
+
"line": 272
|
|
11567
11602
|
},
|
|
11568
11603
|
"name": "cpu",
|
|
11569
11604
|
"optional": true,
|
|
@@ -11581,7 +11616,7 @@
|
|
|
11581
11616
|
"immutable": true,
|
|
11582
11617
|
"locationInModule": {
|
|
11583
11618
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11584
|
-
"line":
|
|
11619
|
+
"line": 332
|
|
11585
11620
|
},
|
|
11586
11621
|
"name": "datadogSidecarEssential",
|
|
11587
11622
|
"optional": true,
|
|
@@ -11599,7 +11634,7 @@
|
|
|
11599
11634
|
"immutable": true,
|
|
11600
11635
|
"locationInModule": {
|
|
11601
11636
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11602
|
-
"line":
|
|
11637
|
+
"line": 338
|
|
11603
11638
|
},
|
|
11604
11639
|
"name": "datadogSidecarTag",
|
|
11605
11640
|
"optional": true,
|
|
@@ -11617,7 +11652,7 @@
|
|
|
11617
11652
|
"immutable": true,
|
|
11618
11653
|
"locationInModule": {
|
|
11619
11654
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11620
|
-
"line":
|
|
11655
|
+
"line": 344
|
|
11621
11656
|
},
|
|
11622
11657
|
"name": "enableRestartPolicy",
|
|
11623
11658
|
"optional": true,
|
|
@@ -11635,7 +11670,7 @@
|
|
|
11635
11670
|
"immutable": true,
|
|
11636
11671
|
"locationInModule": {
|
|
11637
11672
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11638
|
-
"line":
|
|
11673
|
+
"line": 318
|
|
11639
11674
|
},
|
|
11640
11675
|
"name": "loggingModeForDatadogAgent",
|
|
11641
11676
|
"optional": true,
|
|
@@ -11653,7 +11688,7 @@
|
|
|
11653
11688
|
"immutable": true,
|
|
11654
11689
|
"locationInModule": {
|
|
11655
11690
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11656
|
-
"line":
|
|
11691
|
+
"line": 311
|
|
11657
11692
|
},
|
|
11658
11693
|
"name": "loggingModeForService",
|
|
11659
11694
|
"optional": true,
|
|
@@ -11672,7 +11707,7 @@
|
|
|
11672
11707
|
"immutable": true,
|
|
11673
11708
|
"locationInModule": {
|
|
11674
11709
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11675
|
-
"line":
|
|
11710
|
+
"line": 284
|
|
11676
11711
|
},
|
|
11677
11712
|
"name": "memoryLimitMiB",
|
|
11678
11713
|
"optional": true,
|
|
@@ -11690,7 +11725,7 @@
|
|
|
11690
11725
|
"immutable": true,
|
|
11691
11726
|
"locationInModule": {
|
|
11692
11727
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11693
|
-
"line":
|
|
11728
|
+
"line": 350
|
|
11694
11729
|
},
|
|
11695
11730
|
"name": "restartIgnoredExitCodes",
|
|
11696
11731
|
"optional": true,
|
|
@@ -11702,6 +11737,39 @@
|
|
|
11702
11737
|
"kind": "array"
|
|
11703
11738
|
}
|
|
11704
11739
|
}
|
|
11740
|
+
},
|
|
11741
|
+
{
|
|
11742
|
+
"abstract": true,
|
|
11743
|
+
"docs": {
|
|
11744
|
+
"default": "- `TraceSamplingMode.DEFAULT`, which configures each\nAgent sidecar with an average head-sampling target of 5 traces per second\nand an additional error-sampling budget of 10 local error trace chunks per\nsecond. Each Fargate task has its own sidecar. Therefore, the target traces\nper second apply per Fargate task. Traffic spikes can exceed the\nhead-sampling target; these settings do not cap total ingestion.\nTarget-per-second sampling is suitable for both low- and high-traffic\nservices: low-traffic services can retain all traces while high-traffic\nservices are sampled toward the target.",
|
|
11745
|
+
"stability": "stable",
|
|
11746
|
+
"summary": "Configure Datadog APM trace sampling for the application and Agent sidecar."
|
|
11747
|
+
},
|
|
11748
|
+
"immutable": true,
|
|
11749
|
+
"locationInModule": {
|
|
11750
|
+
"filename": "src/fargate/rio-fargate-service.ts",
|
|
11751
|
+
"line": 265
|
|
11752
|
+
},
|
|
11753
|
+
"name": "traceSampling",
|
|
11754
|
+
"optional": true,
|
|
11755
|
+
"type": {
|
|
11756
|
+
"union": {
|
|
11757
|
+
"types": [
|
|
11758
|
+
{
|
|
11759
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions"
|
|
11760
|
+
},
|
|
11761
|
+
{
|
|
11762
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions"
|
|
11763
|
+
},
|
|
11764
|
+
{
|
|
11765
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions"
|
|
11766
|
+
},
|
|
11767
|
+
{
|
|
11768
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions"
|
|
11769
|
+
}
|
|
11770
|
+
]
|
|
11771
|
+
}
|
|
11772
|
+
}
|
|
11705
11773
|
}
|
|
11706
11774
|
],
|
|
11707
11775
|
"symbolId": "src/fargate/rio-fargate-service:DatadogIntegrationProps"
|
|
@@ -12171,7 +12239,7 @@
|
|
|
12171
12239
|
"kind": "interface",
|
|
12172
12240
|
"locationInModule": {
|
|
12173
12241
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12174
|
-
"line":
|
|
12242
|
+
"line": 146
|
|
12175
12243
|
},
|
|
12176
12244
|
"name": "FargateTaskDefinitionProps",
|
|
12177
12245
|
"properties": [
|
|
@@ -12186,7 +12254,7 @@
|
|
|
12186
12254
|
"immutable": true,
|
|
12187
12255
|
"locationInModule": {
|
|
12188
12256
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12189
|
-
"line":
|
|
12257
|
+
"line": 164
|
|
12190
12258
|
},
|
|
12191
12259
|
"name": "cpu",
|
|
12192
12260
|
"type": {
|
|
@@ -12204,7 +12272,7 @@
|
|
|
12204
12272
|
"immutable": true,
|
|
12205
12273
|
"locationInModule": {
|
|
12206
12274
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12207
|
-
"line":
|
|
12275
|
+
"line": 182
|
|
12208
12276
|
},
|
|
12209
12277
|
"name": "memoryLimitMiB",
|
|
12210
12278
|
"type": {
|
|
@@ -12221,7 +12289,7 @@
|
|
|
12221
12289
|
"immutable": true,
|
|
12222
12290
|
"locationInModule": {
|
|
12223
12291
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12224
|
-
"line":
|
|
12292
|
+
"line": 190
|
|
12225
12293
|
},
|
|
12226
12294
|
"name": "desiredCount",
|
|
12227
12295
|
"optional": true,
|
|
@@ -12239,7 +12307,7 @@
|
|
|
12239
12307
|
"immutable": true,
|
|
12240
12308
|
"locationInModule": {
|
|
12241
12309
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12242
|
-
"line":
|
|
12310
|
+
"line": 197
|
|
12243
12311
|
},
|
|
12244
12312
|
"name": "runtimePlatform",
|
|
12245
12313
|
"optional": true,
|
|
@@ -12250,6 +12318,56 @@
|
|
|
12250
12318
|
],
|
|
12251
12319
|
"symbolId": "src/fargate/rio-fargate-service:FargateTaskDefinitionProps"
|
|
12252
12320
|
},
|
|
12321
|
+
"@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions": {
|
|
12322
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
12323
|
+
"datatype": true,
|
|
12324
|
+
"docs": {
|
|
12325
|
+
"stability": "stable",
|
|
12326
|
+
"summary": "Configure a fixed application-tracer sampling rate."
|
|
12327
|
+
},
|
|
12328
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions",
|
|
12329
|
+
"kind": "interface",
|
|
12330
|
+
"locationInModule": {
|
|
12331
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
12332
|
+
"line": 47
|
|
12333
|
+
},
|
|
12334
|
+
"name": "FixedRateTraceSamplingOptions",
|
|
12335
|
+
"properties": [
|
|
12336
|
+
{
|
|
12337
|
+
"abstract": true,
|
|
12338
|
+
"docs": {
|
|
12339
|
+
"stability": "stable",
|
|
12340
|
+
"summary": "The global tracer sampling-rule rate, from 0.0 to 1.0 inclusive. Datadog tracers additionally apply their built-in 100-traces-per-second rate limit when sampling rules are configured. This construct does not expose or override that per-instance safeguard."
|
|
12341
|
+
},
|
|
12342
|
+
"immutable": true,
|
|
12343
|
+
"locationInModule": {
|
|
12344
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
12345
|
+
"line": 57
|
|
12346
|
+
},
|
|
12347
|
+
"name": "fixedRate",
|
|
12348
|
+
"type": {
|
|
12349
|
+
"primitive": "number"
|
|
12350
|
+
}
|
|
12351
|
+
},
|
|
12352
|
+
{
|
|
12353
|
+
"abstract": true,
|
|
12354
|
+
"docs": {
|
|
12355
|
+
"stability": "stable",
|
|
12356
|
+
"summary": "The sampling strategy."
|
|
12357
|
+
},
|
|
12358
|
+
"immutable": true,
|
|
12359
|
+
"locationInModule": {
|
|
12360
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
12361
|
+
"line": 49
|
|
12362
|
+
},
|
|
12363
|
+
"name": "mode",
|
|
12364
|
+
"type": {
|
|
12365
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
12366
|
+
}
|
|
12367
|
+
}
|
|
12368
|
+
],
|
|
12369
|
+
"symbolId": "src/fargate/trace-sampling:FixedRateTraceSamplingOptions"
|
|
12370
|
+
},
|
|
12253
12371
|
"@rio-cloud/cdk-v2-constructs.Framework": {
|
|
12254
12372
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
12255
12373
|
"docs": {
|
|
@@ -12259,7 +12377,7 @@
|
|
|
12259
12377
|
"kind": "enum",
|
|
12260
12378
|
"locationInModule": {
|
|
12261
12379
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
12262
|
-
"line":
|
|
12380
|
+
"line": 87
|
|
12263
12381
|
},
|
|
12264
12382
|
"members": [
|
|
12265
12383
|
{
|
|
@@ -13322,7 +13440,7 @@
|
|
|
13322
13440
|
"kind": "interface",
|
|
13323
13441
|
"locationInModule": {
|
|
13324
13442
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13325
|
-
"line":
|
|
13443
|
+
"line": 200
|
|
13326
13444
|
},
|
|
13327
13445
|
"name": "ListenerRule",
|
|
13328
13446
|
"properties": [
|
|
@@ -13334,7 +13452,7 @@
|
|
|
13334
13452
|
"immutable": true,
|
|
13335
13453
|
"locationInModule": {
|
|
13336
13454
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13337
|
-
"line":
|
|
13455
|
+
"line": 203
|
|
13338
13456
|
},
|
|
13339
13457
|
"name": "conditions",
|
|
13340
13458
|
"type": {
|
|
@@ -13354,7 +13472,7 @@
|
|
|
13354
13472
|
"immutable": true,
|
|
13355
13473
|
"locationInModule": {
|
|
13356
13474
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13357
|
-
"line":
|
|
13475
|
+
"line": 201
|
|
13358
13476
|
},
|
|
13359
13477
|
"name": "priority",
|
|
13360
13478
|
"type": {
|
|
@@ -13374,7 +13492,7 @@
|
|
|
13374
13492
|
"kind": "interface",
|
|
13375
13493
|
"locationInModule": {
|
|
13376
13494
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13377
|
-
"line":
|
|
13495
|
+
"line": 206
|
|
13378
13496
|
},
|
|
13379
13497
|
"name": "LoadBalancerOptions",
|
|
13380
13498
|
"properties": [
|
|
@@ -13387,7 +13505,7 @@
|
|
|
13387
13505
|
"immutable": true,
|
|
13388
13506
|
"locationInModule": {
|
|
13389
13507
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13390
|
-
"line":
|
|
13508
|
+
"line": 225
|
|
13391
13509
|
},
|
|
13392
13510
|
"name": "healthCheck",
|
|
13393
13511
|
"type": {
|
|
@@ -13403,7 +13521,7 @@
|
|
|
13403
13521
|
"immutable": true,
|
|
13404
13522
|
"locationInModule": {
|
|
13405
13523
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13406
|
-
"line":
|
|
13524
|
+
"line": 230
|
|
13407
13525
|
},
|
|
13408
13526
|
"name": "healthCheckGracePeriod",
|
|
13409
13527
|
"type": {
|
|
@@ -13419,7 +13537,7 @@
|
|
|
13419
13537
|
"immutable": true,
|
|
13420
13538
|
"locationInModule": {
|
|
13421
13539
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13422
|
-
"line":
|
|
13540
|
+
"line": 210
|
|
13423
13541
|
},
|
|
13424
13542
|
"name": "listener",
|
|
13425
13543
|
"type": {
|
|
@@ -13436,7 +13554,7 @@
|
|
|
13436
13554
|
"immutable": true,
|
|
13437
13555
|
"locationInModule": {
|
|
13438
13556
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13439
|
-
"line":
|
|
13557
|
+
"line": 220
|
|
13440
13558
|
},
|
|
13441
13559
|
"name": "listenerRules",
|
|
13442
13560
|
"type": {
|
|
@@ -13459,7 +13577,7 @@
|
|
|
13459
13577
|
"immutable": true,
|
|
13460
13578
|
"locationInModule": {
|
|
13461
13579
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13462
|
-
"line":
|
|
13580
|
+
"line": 248
|
|
13463
13581
|
},
|
|
13464
13582
|
"name": "deregistrationDelay",
|
|
13465
13583
|
"optional": true,
|
|
@@ -13478,7 +13596,7 @@
|
|
|
13478
13596
|
"immutable": true,
|
|
13479
13597
|
"locationInModule": {
|
|
13480
13598
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
13481
|
-
"line":
|
|
13599
|
+
"line": 239
|
|
13482
13600
|
},
|
|
13483
13601
|
"name": "slowStart",
|
|
13484
13602
|
"optional": true,
|
|
@@ -14212,6 +14330,44 @@
|
|
|
14212
14330
|
],
|
|
14213
14331
|
"symbolId": "src/pipeline/rio-bitbucket-source-action:RioBitBucketSourceActionProps"
|
|
14214
14332
|
},
|
|
14333
|
+
"@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions": {
|
|
14334
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
14335
|
+
"datatype": true,
|
|
14336
|
+
"docs": {
|
|
14337
|
+
"remarks": "This is also the default when `traceSampling` is omitted.",
|
|
14338
|
+
"stability": "stable",
|
|
14339
|
+
"summary": "Use RIO's default Datadog Agent sampling targets."
|
|
14340
|
+
},
|
|
14341
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions",
|
|
14342
|
+
"kind": "interface",
|
|
14343
|
+
"locationInModule": {
|
|
14344
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
14345
|
+
"line": 31
|
|
14346
|
+
},
|
|
14347
|
+
"name": "RioDefaultTraceSamplingOptions",
|
|
14348
|
+
"properties": [
|
|
14349
|
+
{
|
|
14350
|
+
"abstract": true,
|
|
14351
|
+
"docs": {
|
|
14352
|
+
"default": "- `TraceSamplingMode.DEFAULT`",
|
|
14353
|
+
"remarks": "May be omitted to use the default.",
|
|
14354
|
+
"stability": "stable",
|
|
14355
|
+
"summary": "The sampling strategy."
|
|
14356
|
+
},
|
|
14357
|
+
"immutable": true,
|
|
14358
|
+
"locationInModule": {
|
|
14359
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
14360
|
+
"line": 37
|
|
14361
|
+
},
|
|
14362
|
+
"name": "mode",
|
|
14363
|
+
"optional": true,
|
|
14364
|
+
"type": {
|
|
14365
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
14366
|
+
}
|
|
14367
|
+
}
|
|
14368
|
+
],
|
|
14369
|
+
"symbolId": "src/fargate/trace-sampling:RioDefaultTraceSamplingOptions"
|
|
14370
|
+
},
|
|
14215
14371
|
"@rio-cloud/cdk-v2-constructs.RioFargateService": {
|
|
14216
14372
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
14217
14373
|
"base": "constructs.Construct",
|
|
@@ -14227,7 +14383,7 @@
|
|
|
14227
14383
|
},
|
|
14228
14384
|
"locationInModule": {
|
|
14229
14385
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14230
|
-
"line":
|
|
14386
|
+
"line": 486
|
|
14231
14387
|
},
|
|
14232
14388
|
"parameters": [
|
|
14233
14389
|
{
|
|
@@ -14256,7 +14412,7 @@
|
|
|
14256
14412
|
"kind": "class",
|
|
14257
14413
|
"locationInModule": {
|
|
14258
14414
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14259
|
-
"line":
|
|
14415
|
+
"line": 445
|
|
14260
14416
|
},
|
|
14261
14417
|
"name": "RioFargateService",
|
|
14262
14418
|
"properties": [
|
|
@@ -14268,7 +14424,7 @@
|
|
|
14268
14424
|
"immutable": true,
|
|
14269
14425
|
"locationInModule": {
|
|
14270
14426
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14271
|
-
"line":
|
|
14427
|
+
"line": 482
|
|
14272
14428
|
},
|
|
14273
14429
|
"name": "connections",
|
|
14274
14430
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -14283,7 +14439,7 @@
|
|
|
14283
14439
|
"immutable": true,
|
|
14284
14440
|
"locationInModule": {
|
|
14285
14441
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14286
|
-
"line":
|
|
14442
|
+
"line": 478
|
|
14287
14443
|
},
|
|
14288
14444
|
"name": "datadogSideCarContainerDefinition",
|
|
14289
14445
|
"type": {
|
|
@@ -14297,7 +14453,7 @@
|
|
|
14297
14453
|
"immutable": true,
|
|
14298
14454
|
"locationInModule": {
|
|
14299
14455
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14300
|
-
"line":
|
|
14456
|
+
"line": 483
|
|
14301
14457
|
},
|
|
14302
14458
|
"name": "service",
|
|
14303
14459
|
"type": {
|
|
@@ -14311,7 +14467,7 @@
|
|
|
14311
14467
|
"immutable": true,
|
|
14312
14468
|
"locationInModule": {
|
|
14313
14469
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14314
|
-
"line":
|
|
14470
|
+
"line": 477
|
|
14315
14471
|
},
|
|
14316
14472
|
"name": "serviceContainerDefinition",
|
|
14317
14473
|
"type": {
|
|
@@ -14325,7 +14481,7 @@
|
|
|
14325
14481
|
"immutable": true,
|
|
14326
14482
|
"locationInModule": {
|
|
14327
14483
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14328
|
-
"line":
|
|
14484
|
+
"line": 480
|
|
14329
14485
|
},
|
|
14330
14486
|
"name": "taskDefinition",
|
|
14331
14487
|
"type": {
|
|
@@ -14339,7 +14495,7 @@
|
|
|
14339
14495
|
"immutable": true,
|
|
14340
14496
|
"locationInModule": {
|
|
14341
14497
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14342
|
-
"line":
|
|
14498
|
+
"line": 479
|
|
14343
14499
|
},
|
|
14344
14500
|
"name": "logRouterContainerDefinition",
|
|
14345
14501
|
"optional": true,
|
|
@@ -14354,7 +14510,7 @@
|
|
|
14354
14510
|
"immutable": true,
|
|
14355
14511
|
"locationInModule": {
|
|
14356
14512
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14357
|
-
"line":
|
|
14513
|
+
"line": 484
|
|
14358
14514
|
},
|
|
14359
14515
|
"name": "targetGroup",
|
|
14360
14516
|
"optional": true,
|
|
@@ -14378,7 +14534,7 @@
|
|
|
14378
14534
|
},
|
|
14379
14535
|
"locationInModule": {
|
|
14380
14536
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14381
|
-
"line":
|
|
14537
|
+
"line": 146
|
|
14382
14538
|
},
|
|
14383
14539
|
"parameters": [
|
|
14384
14540
|
{
|
|
@@ -14407,7 +14563,7 @@
|
|
|
14407
14563
|
"kind": "class",
|
|
14408
14564
|
"locationInModule": {
|
|
14409
14565
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14410
|
-
"line":
|
|
14566
|
+
"line": 106
|
|
14411
14567
|
},
|
|
14412
14568
|
"name": "RioFargateServiceBlueGreenAlpha",
|
|
14413
14569
|
"properties": [
|
|
@@ -14419,7 +14575,7 @@
|
|
|
14419
14575
|
"immutable": true,
|
|
14420
14576
|
"locationInModule": {
|
|
14421
14577
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14422
|
-
"line":
|
|
14578
|
+
"line": 141
|
|
14423
14579
|
},
|
|
14424
14580
|
"name": "connections",
|
|
14425
14581
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -14434,7 +14590,7 @@
|
|
|
14434
14590
|
"immutable": true,
|
|
14435
14591
|
"locationInModule": {
|
|
14436
14592
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14437
|
-
"line":
|
|
14593
|
+
"line": 137
|
|
14438
14594
|
},
|
|
14439
14595
|
"name": "datadogSideCarContainerDefinition",
|
|
14440
14596
|
"type": {
|
|
@@ -14448,7 +14604,7 @@
|
|
|
14448
14604
|
"immutable": true,
|
|
14449
14605
|
"locationInModule": {
|
|
14450
14606
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14451
|
-
"line":
|
|
14607
|
+
"line": 142
|
|
14452
14608
|
},
|
|
14453
14609
|
"name": "service",
|
|
14454
14610
|
"type": {
|
|
@@ -14462,7 +14618,7 @@
|
|
|
14462
14618
|
"immutable": true,
|
|
14463
14619
|
"locationInModule": {
|
|
14464
14620
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14465
|
-
"line":
|
|
14621
|
+
"line": 136
|
|
14466
14622
|
},
|
|
14467
14623
|
"name": "serviceContainerDefinition",
|
|
14468
14624
|
"type": {
|
|
@@ -14476,7 +14632,7 @@
|
|
|
14476
14632
|
"immutable": true,
|
|
14477
14633
|
"locationInModule": {
|
|
14478
14634
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14479
|
-
"line":
|
|
14635
|
+
"line": 139
|
|
14480
14636
|
},
|
|
14481
14637
|
"name": "taskDefinition",
|
|
14482
14638
|
"type": {
|
|
@@ -14490,7 +14646,7 @@
|
|
|
14490
14646
|
"immutable": true,
|
|
14491
14647
|
"locationInModule": {
|
|
14492
14648
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14493
|
-
"line":
|
|
14649
|
+
"line": 143
|
|
14494
14650
|
},
|
|
14495
14651
|
"name": "blueTargetGroup",
|
|
14496
14652
|
"optional": true,
|
|
@@ -14505,7 +14661,7 @@
|
|
|
14505
14661
|
"immutable": true,
|
|
14506
14662
|
"locationInModule": {
|
|
14507
14663
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14508
|
-
"line":
|
|
14664
|
+
"line": 144
|
|
14509
14665
|
},
|
|
14510
14666
|
"name": "greenTargetGroup",
|
|
14511
14667
|
"optional": true,
|
|
@@ -14520,7 +14676,7 @@
|
|
|
14520
14676
|
"immutable": true,
|
|
14521
14677
|
"locationInModule": {
|
|
14522
14678
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14523
|
-
"line":
|
|
14679
|
+
"line": 138
|
|
14524
14680
|
},
|
|
14525
14681
|
"name": "logRouterContainerDefinition",
|
|
14526
14682
|
"optional": true,
|
|
@@ -14542,7 +14698,7 @@
|
|
|
14542
14698
|
"kind": "interface",
|
|
14543
14699
|
"locationInModule": {
|
|
14544
14700
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14545
|
-
"line":
|
|
14701
|
+
"line": 31
|
|
14546
14702
|
},
|
|
14547
14703
|
"name": "RioFargateServiceBlueGreenAlphaProps",
|
|
14548
14704
|
"properties": [
|
|
@@ -14555,7 +14711,7 @@
|
|
|
14555
14711
|
"immutable": true,
|
|
14556
14712
|
"locationInModule": {
|
|
14557
14713
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14558
|
-
"line":
|
|
14714
|
+
"line": 70
|
|
14559
14715
|
},
|
|
14560
14716
|
"name": "containerDefinitionOption",
|
|
14561
14717
|
"type": {
|
|
@@ -14571,7 +14727,7 @@
|
|
|
14571
14727
|
"immutable": true,
|
|
14572
14728
|
"locationInModule": {
|
|
14573
14729
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14574
|
-
"line":
|
|
14730
|
+
"line": 75
|
|
14575
14731
|
},
|
|
14576
14732
|
"name": "fargateOptions",
|
|
14577
14733
|
"type": {
|
|
@@ -14587,7 +14743,7 @@
|
|
|
14587
14743
|
"immutable": true,
|
|
14588
14744
|
"locationInModule": {
|
|
14589
14745
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14590
|
-
"line":
|
|
14746
|
+
"line": 40
|
|
14591
14747
|
},
|
|
14592
14748
|
"name": "serviceName",
|
|
14593
14749
|
"type": {
|
|
@@ -14603,7 +14759,7 @@
|
|
|
14603
14759
|
"immutable": true,
|
|
14604
14760
|
"locationInModule": {
|
|
14605
14761
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14606
|
-
"line":
|
|
14762
|
+
"line": 35
|
|
14607
14763
|
},
|
|
14608
14764
|
"name": "stage",
|
|
14609
14765
|
"type": {
|
|
@@ -14619,7 +14775,7 @@
|
|
|
14619
14775
|
"immutable": true,
|
|
14620
14776
|
"locationInModule": {
|
|
14621
14777
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14622
|
-
"line":
|
|
14778
|
+
"line": 45
|
|
14623
14779
|
},
|
|
14624
14780
|
"name": "version",
|
|
14625
14781
|
"type": {
|
|
@@ -14635,7 +14791,7 @@
|
|
|
14635
14791
|
"immutable": true,
|
|
14636
14792
|
"locationInModule": {
|
|
14637
14793
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14638
|
-
"line":
|
|
14794
|
+
"line": 57
|
|
14639
14795
|
},
|
|
14640
14796
|
"name": "vpc",
|
|
14641
14797
|
"type": {
|
|
@@ -14651,7 +14807,7 @@
|
|
|
14651
14807
|
"immutable": true,
|
|
14652
14808
|
"locationInModule": {
|
|
14653
14809
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14654
|
-
"line":
|
|
14810
|
+
"line": 90
|
|
14655
14811
|
},
|
|
14656
14812
|
"name": "blueGreenDeploymentConfig",
|
|
14657
14813
|
"optional": true,
|
|
@@ -14670,7 +14826,7 @@
|
|
|
14670
14826
|
"immutable": true,
|
|
14671
14827
|
"locationInModule": {
|
|
14672
14828
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14673
|
-
"line":
|
|
14829
|
+
"line": 65
|
|
14674
14830
|
},
|
|
14675
14831
|
"name": "cluster",
|
|
14676
14832
|
"optional": true,
|
|
@@ -14687,7 +14843,7 @@
|
|
|
14687
14843
|
"immutable": true,
|
|
14688
14844
|
"locationInModule": {
|
|
14689
14845
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14690
|
-
"line":
|
|
14846
|
+
"line": 85
|
|
14691
14847
|
},
|
|
14692
14848
|
"name": "datadogOptions",
|
|
14693
14849
|
"optional": true,
|
|
@@ -14705,7 +14861,7 @@
|
|
|
14705
14861
|
"immutable": true,
|
|
14706
14862
|
"locationInModule": {
|
|
14707
14863
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14708
|
-
"line":
|
|
14864
|
+
"line": 52
|
|
14709
14865
|
},
|
|
14710
14866
|
"name": "frameworks",
|
|
14711
14867
|
"optional": true,
|
|
@@ -14727,7 +14883,7 @@
|
|
|
14727
14883
|
"immutable": true,
|
|
14728
14884
|
"locationInModule": {
|
|
14729
14885
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
14730
|
-
"line":
|
|
14886
|
+
"line": 80
|
|
14731
14887
|
},
|
|
14732
14888
|
"name": "loadBalancerOptions",
|
|
14733
14889
|
"optional": true,
|
|
@@ -14749,7 +14905,7 @@
|
|
|
14749
14905
|
"kind": "interface",
|
|
14750
14906
|
"locationInModule": {
|
|
14751
14907
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14752
|
-
"line":
|
|
14908
|
+
"line": 31
|
|
14753
14909
|
},
|
|
14754
14910
|
"name": "RioFargateServiceProps",
|
|
14755
14911
|
"properties": [
|
|
@@ -14762,7 +14918,7 @@
|
|
|
14762
14918
|
"immutable": true,
|
|
14763
14919
|
"locationInModule": {
|
|
14764
14920
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14765
|
-
"line":
|
|
14921
|
+
"line": 70
|
|
14766
14922
|
},
|
|
14767
14923
|
"name": "containerDefinitionOption",
|
|
14768
14924
|
"type": {
|
|
@@ -14778,7 +14934,7 @@
|
|
|
14778
14934
|
"immutable": true,
|
|
14779
14935
|
"locationInModule": {
|
|
14780
14936
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14781
|
-
"line":
|
|
14937
|
+
"line": 75
|
|
14782
14938
|
},
|
|
14783
14939
|
"name": "fargateOptions",
|
|
14784
14940
|
"type": {
|
|
@@ -14794,7 +14950,7 @@
|
|
|
14794
14950
|
"immutable": true,
|
|
14795
14951
|
"locationInModule": {
|
|
14796
14952
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14797
|
-
"line":
|
|
14953
|
+
"line": 40
|
|
14798
14954
|
},
|
|
14799
14955
|
"name": "serviceName",
|
|
14800
14956
|
"type": {
|
|
@@ -14810,7 +14966,7 @@
|
|
|
14810
14966
|
"immutable": true,
|
|
14811
14967
|
"locationInModule": {
|
|
14812
14968
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14813
|
-
"line":
|
|
14969
|
+
"line": 35
|
|
14814
14970
|
},
|
|
14815
14971
|
"name": "stage",
|
|
14816
14972
|
"type": {
|
|
@@ -14826,7 +14982,7 @@
|
|
|
14826
14982
|
"immutable": true,
|
|
14827
14983
|
"locationInModule": {
|
|
14828
14984
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14829
|
-
"line":
|
|
14985
|
+
"line": 45
|
|
14830
14986
|
},
|
|
14831
14987
|
"name": "version",
|
|
14832
14988
|
"type": {
|
|
@@ -14842,7 +14998,7 @@
|
|
|
14842
14998
|
"immutable": true,
|
|
14843
14999
|
"locationInModule": {
|
|
14844
15000
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14845
|
-
"line":
|
|
15001
|
+
"line": 57
|
|
14846
15002
|
},
|
|
14847
15003
|
"name": "vpc",
|
|
14848
15004
|
"type": {
|
|
@@ -14860,7 +15016,7 @@
|
|
|
14860
15016
|
"immutable": true,
|
|
14861
15017
|
"locationInModule": {
|
|
14862
15018
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14863
|
-
"line":
|
|
15019
|
+
"line": 65
|
|
14864
15020
|
},
|
|
14865
15021
|
"name": "cluster",
|
|
14866
15022
|
"optional": true,
|
|
@@ -14877,7 +15033,7 @@
|
|
|
14877
15033
|
"immutable": true,
|
|
14878
15034
|
"locationInModule": {
|
|
14879
15035
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14880
|
-
"line":
|
|
15036
|
+
"line": 85
|
|
14881
15037
|
},
|
|
14882
15038
|
"name": "datadogOptions",
|
|
14883
15039
|
"optional": true,
|
|
@@ -14895,7 +15051,7 @@
|
|
|
14895
15051
|
"immutable": true,
|
|
14896
15052
|
"locationInModule": {
|
|
14897
15053
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14898
|
-
"line":
|
|
15054
|
+
"line": 52
|
|
14899
15055
|
},
|
|
14900
15056
|
"name": "frameworks",
|
|
14901
15057
|
"optional": true,
|
|
@@ -14917,7 +15073,7 @@
|
|
|
14917
15073
|
"immutable": true,
|
|
14918
15074
|
"locationInModule": {
|
|
14919
15075
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
14920
|
-
"line":
|
|
15076
|
+
"line": 80
|
|
14921
15077
|
},
|
|
14922
15078
|
"name": "loadBalancerOptions",
|
|
14923
15079
|
"optional": true,
|
|
@@ -16419,51 +16575,242 @@
|
|
|
16419
16575
|
],
|
|
16420
16576
|
"symbolId": "src/sbom-catalog/catalog-project:StandaloneSbomCatalogProjectProps"
|
|
16421
16577
|
},
|
|
16422
|
-
"@rio-cloud/cdk-v2-constructs.
|
|
16578
|
+
"@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions": {
|
|
16423
16579
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16580
|
+
"datatype": true,
|
|
16424
16581
|
"docs": {
|
|
16425
|
-
"stability": "stable"
|
|
16582
|
+
"stability": "stable",
|
|
16583
|
+
"summary": "Configure Datadog Agent target sampling."
|
|
16426
16584
|
},
|
|
16427
|
-
"fqn": "@rio-cloud/cdk-v2-constructs.
|
|
16428
|
-
"kind": "
|
|
16585
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions",
|
|
16586
|
+
"kind": "interface",
|
|
16429
16587
|
"locationInModule": {
|
|
16430
|
-
"filename": "src/
|
|
16431
|
-
"line":
|
|
16588
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16589
|
+
"line": 61
|
|
16432
16590
|
},
|
|
16433
|
-
"
|
|
16591
|
+
"name": "TargetPerSecondTraceSamplingOptions",
|
|
16592
|
+
"properties": [
|
|
16434
16593
|
{
|
|
16594
|
+
"abstract": true,
|
|
16435
16595
|
"docs": {
|
|
16436
16596
|
"stability": "stable",
|
|
16437
|
-
"summary": "
|
|
16597
|
+
"summary": "The sampling strategy."
|
|
16438
16598
|
},
|
|
16439
|
-
"
|
|
16599
|
+
"immutable": true,
|
|
16600
|
+
"locationInModule": {
|
|
16601
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16602
|
+
"line": 63
|
|
16603
|
+
},
|
|
16604
|
+
"name": "mode",
|
|
16605
|
+
"type": {
|
|
16606
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
16607
|
+
}
|
|
16440
16608
|
},
|
|
16441
16609
|
{
|
|
16610
|
+
"abstract": true,
|
|
16442
16611
|
"docs": {
|
|
16612
|
+
"remarks": "Traffic spikes\ncan exceed this target; it is not a hard cap on total ingestion.",
|
|
16443
16613
|
"stability": "stable",
|
|
16444
|
-
"summary": "
|
|
16614
|
+
"summary": "The average head-sampling target in traces per second for each Agent sidecar (and therefore each Fargate service instance)."
|
|
16445
16615
|
},
|
|
16446
|
-
"
|
|
16616
|
+
"immutable": true,
|
|
16617
|
+
"locationInModule": {
|
|
16618
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16619
|
+
"line": 70
|
|
16620
|
+
},
|
|
16621
|
+
"name": "targetTracesPerSecond",
|
|
16622
|
+
"type": {
|
|
16623
|
+
"primitive": "number"
|
|
16624
|
+
}
|
|
16625
|
+
},
|
|
16626
|
+
{
|
|
16627
|
+
"abstract": true,
|
|
16628
|
+
"docs": {
|
|
16629
|
+
"remarks": "This does not cap error traces already kept by head sampling.",
|
|
16630
|
+
"stability": "stable",
|
|
16631
|
+
"summary": "The budget for additional local error trace chunks per second missed by head sampling, for each Agent sidecar (and therefore each Fargate service instance)."
|
|
16632
|
+
},
|
|
16633
|
+
"immutable": true,
|
|
16634
|
+
"locationInModule": {
|
|
16635
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16636
|
+
"line": 77
|
|
16637
|
+
},
|
|
16638
|
+
"name": "errorTracesPerSecond",
|
|
16639
|
+
"optional": true,
|
|
16640
|
+
"type": {
|
|
16641
|
+
"primitive": "number"
|
|
16642
|
+
}
|
|
16447
16643
|
}
|
|
16448
16644
|
],
|
|
16449
|
-
"
|
|
16450
|
-
"symbolId": "src/pipeline/rio-bitbucket-source-action:TriggerKey"
|
|
16645
|
+
"symbolId": "src/fargate/trace-sampling:TargetPerSecondTraceSamplingOptions"
|
|
16451
16646
|
},
|
|
16452
|
-
"@rio-cloud/cdk-v2-constructs.
|
|
16647
|
+
"@rio-cloud/cdk-v2-constructs.TraceSamplingMode": {
|
|
16453
16648
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16454
16649
|
"docs": {
|
|
16455
|
-
"stability": "stable"
|
|
16650
|
+
"stability": "stable",
|
|
16651
|
+
"summary": "The trace sampling strategy used by the Fargate Datadog integration."
|
|
16456
16652
|
},
|
|
16457
|
-
"fqn": "@rio-cloud/cdk-v2-constructs.
|
|
16653
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode",
|
|
16458
16654
|
"kind": "enum",
|
|
16459
16655
|
"locationInModule": {
|
|
16460
|
-
"filename": "src/
|
|
16461
|
-
"line":
|
|
16656
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16657
|
+
"line": 7
|
|
16462
16658
|
},
|
|
16463
16659
|
"members": [
|
|
16464
16660
|
{
|
|
16465
16661
|
"docs": {
|
|
16466
|
-
"
|
|
16662
|
+
"remarks": "Target-per-second sampling is a practical default for both low- and\nhigh-traffic services.",
|
|
16663
|
+
"stability": "stable",
|
|
16664
|
+
"summary": "Use RIO's per-Agent head-sampling target of 5 traces/sec and an additional error-sampling budget of 10 local error trace chunks/sec."
|
|
16665
|
+
},
|
|
16666
|
+
"name": "DEFAULT"
|
|
16667
|
+
},
|
|
16668
|
+
{
|
|
16669
|
+
"docs": {
|
|
16670
|
+
"remarks": "retain Datadog's defaults.",
|
|
16671
|
+
"stability": "stable",
|
|
16672
|
+
"summary": "Do not set sampling environment variables;"
|
|
16673
|
+
},
|
|
16674
|
+
"name": "DATADOG_DEFAULT"
|
|
16675
|
+
},
|
|
16676
|
+
{
|
|
16677
|
+
"docs": {
|
|
16678
|
+
"stability": "stable",
|
|
16679
|
+
"summary": "Set a fixed sampling rule on the application tracer."
|
|
16680
|
+
},
|
|
16681
|
+
"name": "FIXED_RATE"
|
|
16682
|
+
},
|
|
16683
|
+
{
|
|
16684
|
+
"docs": {
|
|
16685
|
+
"stability": "stable",
|
|
16686
|
+
"summary": "Set a per-Agent target number of traces per second."
|
|
16687
|
+
},
|
|
16688
|
+
"name": "TARGET_PER_SECOND"
|
|
16689
|
+
}
|
|
16690
|
+
],
|
|
16691
|
+
"name": "TraceSamplingMode",
|
|
16692
|
+
"symbolId": "src/fargate/trace-sampling:TraceSamplingMode"
|
|
16693
|
+
},
|
|
16694
|
+
"@rio-cloud/cdk-v2-constructs.TraceSamplingValidator": {
|
|
16695
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16696
|
+
"docs": {
|
|
16697
|
+
"stability": "stable"
|
|
16698
|
+
},
|
|
16699
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingValidator",
|
|
16700
|
+
"initializer": {
|
|
16701
|
+
"docs": {
|
|
16702
|
+
"stability": "stable"
|
|
16703
|
+
},
|
|
16704
|
+
"locationInModule": {
|
|
16705
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16706
|
+
"line": 101
|
|
16707
|
+
},
|
|
16708
|
+
"parameters": [
|
|
16709
|
+
{
|
|
16710
|
+
"name": "traceSampling",
|
|
16711
|
+
"optional": true,
|
|
16712
|
+
"type": {
|
|
16713
|
+
"union": {
|
|
16714
|
+
"types": [
|
|
16715
|
+
{
|
|
16716
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions"
|
|
16717
|
+
},
|
|
16718
|
+
{
|
|
16719
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions"
|
|
16720
|
+
},
|
|
16721
|
+
{
|
|
16722
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions"
|
|
16723
|
+
},
|
|
16724
|
+
{
|
|
16725
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions"
|
|
16726
|
+
}
|
|
16727
|
+
]
|
|
16728
|
+
}
|
|
16729
|
+
}
|
|
16730
|
+
}
|
|
16731
|
+
]
|
|
16732
|
+
},
|
|
16733
|
+
"interfaces": [
|
|
16734
|
+
"constructs.IValidation"
|
|
16735
|
+
],
|
|
16736
|
+
"kind": "class",
|
|
16737
|
+
"locationInModule": {
|
|
16738
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16739
|
+
"line": 100
|
|
16740
|
+
},
|
|
16741
|
+
"methods": [
|
|
16742
|
+
{
|
|
16743
|
+
"docs": {
|
|
16744
|
+
"remarks": "This method can be implemented by derived constructs in order to perform\nvalidation logic. It is called on all constructs before synthesis.",
|
|
16745
|
+
"stability": "stable",
|
|
16746
|
+
"summary": "Validate the current construct."
|
|
16747
|
+
},
|
|
16748
|
+
"locationInModule": {
|
|
16749
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
16750
|
+
"line": 103
|
|
16751
|
+
},
|
|
16752
|
+
"name": "validate",
|
|
16753
|
+
"overrides": "constructs.IValidation",
|
|
16754
|
+
"returns": {
|
|
16755
|
+
"type": {
|
|
16756
|
+
"collection": {
|
|
16757
|
+
"elementtype": {
|
|
16758
|
+
"primitive": "string"
|
|
16759
|
+
},
|
|
16760
|
+
"kind": "array"
|
|
16761
|
+
}
|
|
16762
|
+
}
|
|
16763
|
+
}
|
|
16764
|
+
}
|
|
16765
|
+
],
|
|
16766
|
+
"name": "TraceSamplingValidator",
|
|
16767
|
+
"symbolId": "src/fargate/trace-sampling:TraceSamplingValidator"
|
|
16768
|
+
},
|
|
16769
|
+
"@rio-cloud/cdk-v2-constructs.TriggerKey": {
|
|
16770
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16771
|
+
"docs": {
|
|
16772
|
+
"stability": "stable"
|
|
16773
|
+
},
|
|
16774
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TriggerKey",
|
|
16775
|
+
"kind": "enum",
|
|
16776
|
+
"locationInModule": {
|
|
16777
|
+
"filename": "src/pipeline/rio-bitbucket-source-action.ts",
|
|
16778
|
+
"line": 7
|
|
16779
|
+
},
|
|
16780
|
+
"members": [
|
|
16781
|
+
{
|
|
16782
|
+
"docs": {
|
|
16783
|
+
"stability": "stable",
|
|
16784
|
+
"summary": "points to master_repo.zip."
|
|
16785
|
+
},
|
|
16786
|
+
"name": "MASTER_REPO"
|
|
16787
|
+
},
|
|
16788
|
+
{
|
|
16789
|
+
"docs": {
|
|
16790
|
+
"stability": "stable",
|
|
16791
|
+
"summary": "points to branch_repo.zip."
|
|
16792
|
+
},
|
|
16793
|
+
"name": "BRANCH_REPO"
|
|
16794
|
+
}
|
|
16795
|
+
],
|
|
16796
|
+
"name": "TriggerKey",
|
|
16797
|
+
"symbolId": "src/pipeline/rio-bitbucket-source-action:TriggerKey"
|
|
16798
|
+
},
|
|
16799
|
+
"@rio-cloud/cdk-v2-constructs.UnitOfPeriod": {
|
|
16800
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
16801
|
+
"docs": {
|
|
16802
|
+
"stability": "stable"
|
|
16803
|
+
},
|
|
16804
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.UnitOfPeriod",
|
|
16805
|
+
"kind": "enum",
|
|
16806
|
+
"locationInModule": {
|
|
16807
|
+
"filename": "src/watchful/datadog-log-alarm.ts",
|
|
16808
|
+
"line": 6
|
|
16809
|
+
},
|
|
16810
|
+
"members": [
|
|
16811
|
+
{
|
|
16812
|
+
"docs": {
|
|
16813
|
+
"stability": "stable"
|
|
16467
16814
|
},
|
|
16468
16815
|
"name": "SECONDS"
|
|
16469
16816
|
},
|
|
@@ -23158,7 +23505,7 @@
|
|
|
23158
23505
|
"kind": "interface",
|
|
23159
23506
|
"locationInModule": {
|
|
23160
23507
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
23161
|
-
"line":
|
|
23508
|
+
"line": 93
|
|
23162
23509
|
},
|
|
23163
23510
|
"name": "BlueGreenDeploymentConfig",
|
|
23164
23511
|
"namespace": "fargate",
|
|
@@ -23172,7 +23519,7 @@
|
|
|
23172
23519
|
"immutable": true,
|
|
23173
23520
|
"locationInModule": {
|
|
23174
23521
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
23175
|
-
"line":
|
|
23522
|
+
"line": 103
|
|
23176
23523
|
},
|
|
23177
23524
|
"name": "capabilityNames",
|
|
23178
23525
|
"optional": true,
|
|
@@ -23195,7 +23542,7 @@
|
|
|
23195
23542
|
"immutable": true,
|
|
23196
23543
|
"locationInModule": {
|
|
23197
23544
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
23198
|
-
"line":
|
|
23545
|
+
"line": 98
|
|
23199
23546
|
},
|
|
23200
23547
|
"name": "testListener",
|
|
23201
23548
|
"optional": true,
|
|
@@ -23216,7 +23563,7 @@
|
|
|
23216
23563
|
"kind": "interface",
|
|
23217
23564
|
"locationInModule": {
|
|
23218
23565
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23219
|
-
"line":
|
|
23566
|
+
"line": 94
|
|
23220
23567
|
},
|
|
23221
23568
|
"name": "ContainerDefinitionOptions",
|
|
23222
23569
|
"namespace": "fargate",
|
|
@@ -23231,7 +23578,7 @@
|
|
|
23231
23578
|
"immutable": true,
|
|
23232
23579
|
"locationInModule": {
|
|
23233
23580
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23234
|
-
"line":
|
|
23581
|
+
"line": 102
|
|
23235
23582
|
},
|
|
23236
23583
|
"name": "image",
|
|
23237
23584
|
"type": {
|
|
@@ -23242,14 +23589,14 @@
|
|
|
23242
23589
|
"abstract": true,
|
|
23243
23590
|
"docs": {
|
|
23244
23591
|
"default": "- No environment variables.",
|
|
23245
|
-
"remarks": "Some Datadog specific environment variables are not allowed to be set,\nbecause they are set automatically or computed from other attributes.\nThese are:\n* DD_ENV: Set same as prop stage\n* DD_SERVICE: Set same as prop serviceName\n* DD_VERSION: Set same as prop version\n* DD_TAGS: Set same as DatadogIntegrationProps#additionalTags\n* DD_LOGS_INJECTION: true\nOther DD_-prefixed vaiable may be added to this list.\n\nOther Environment variables set by default are overwritten if passed.\nThese are:\n* DD_SERVICE_MAPPING: database:fargate-web-app-aurora,java-aws-sdk:fargate-web-app-aws-sdk,kafka:fargate-web-app-kafka,mysql:fargate-web-app-aurora\
|
|
23592
|
+
"remarks": "Some Datadog specific environment variables are not allowed to be set,\nbecause they are set automatically or computed from other attributes.\nThese are:\n* DD_ENV: Set same as prop stage\n* DD_SERVICE: Set same as prop serviceName\n* DD_VERSION: Set same as prop version\n* DD_TAGS: Set same as DatadogIntegrationProps#additionalTags\n* DD_LOGS_INJECTION: true\nOther DD_-prefixed vaiable may be added to this list.\n\nOther Environment variables set by default are overwritten if passed.\nThese are:\n* DD_SERVICE_MAPPING: database:fargate-web-app-aurora,java-aws-sdk:fargate-web-app-aws-sdk,kafka:fargate-web-app-kafka,mysql:fargate-web-app-aurora\nSampling variables (`DD_TRACE_SAMPLING_RULES`, `DD_TRACE_SAMPLE_RATE`,\n`DD_APM_TARGET_TPS`, and `DD_APM_ERROR_TPS`) should be configured through\n`DatadogIntegrationProps.traceSampling`. Supplying them here is preserved\nfor backwards compatibility, but produces a synthesis warning. In\nparticular, `DD_APM_*` values on this application container do not\nconfigure the Datadog Agent sidecar.",
|
|
23246
23593
|
"stability": "stable",
|
|
23247
23594
|
"summary": "The environment variables to pass to the container."
|
|
23248
23595
|
},
|
|
23249
23596
|
"immutable": true,
|
|
23250
23597
|
"locationInModule": {
|
|
23251
23598
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23252
|
-
"line":
|
|
23599
|
+
"line": 129
|
|
23253
23600
|
},
|
|
23254
23601
|
"name": "environment",
|
|
23255
23602
|
"optional": true,
|
|
@@ -23272,7 +23619,7 @@
|
|
|
23272
23619
|
"immutable": true,
|
|
23273
23620
|
"locationInModule": {
|
|
23274
23621
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23275
|
-
"line":
|
|
23622
|
+
"line": 143
|
|
23276
23623
|
},
|
|
23277
23624
|
"name": "healthCheck",
|
|
23278
23625
|
"optional": true,
|
|
@@ -23290,7 +23637,7 @@
|
|
|
23290
23637
|
"immutable": true,
|
|
23291
23638
|
"locationInModule": {
|
|
23292
23639
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23293
|
-
"line":
|
|
23640
|
+
"line": 136
|
|
23294
23641
|
},
|
|
23295
23642
|
"name": "secrets",
|
|
23296
23643
|
"optional": true,
|
|
@@ -23315,7 +23662,7 @@
|
|
|
23315
23662
|
"kind": "enum",
|
|
23316
23663
|
"locationInModule": {
|
|
23317
23664
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23318
|
-
"line":
|
|
23665
|
+
"line": 372
|
|
23319
23666
|
},
|
|
23320
23667
|
"members": [
|
|
23321
23668
|
{
|
|
@@ -23353,6 +23700,42 @@
|
|
|
23353
23700
|
"namespace": "fargate",
|
|
23354
23701
|
"symbolId": "src/fargate/rio-fargate-service:DataDogLoggingMode"
|
|
23355
23702
|
},
|
|
23703
|
+
"@rio-cloud/cdk-v2-constructs.fargate.DatadogDefaultTraceSamplingOptions": {
|
|
23704
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
23705
|
+
"datatype": true,
|
|
23706
|
+
"docs": {
|
|
23707
|
+
"remarks": "retain Datadog's defaults.",
|
|
23708
|
+
"stability": "stable",
|
|
23709
|
+
"summary": "Do not set sampling environment variables;"
|
|
23710
|
+
},
|
|
23711
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.DatadogDefaultTraceSamplingOptions",
|
|
23712
|
+
"kind": "interface",
|
|
23713
|
+
"locationInModule": {
|
|
23714
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
23715
|
+
"line": 41
|
|
23716
|
+
},
|
|
23717
|
+
"name": "DatadogDefaultTraceSamplingOptions",
|
|
23718
|
+
"namespace": "fargate",
|
|
23719
|
+
"properties": [
|
|
23720
|
+
{
|
|
23721
|
+
"abstract": true,
|
|
23722
|
+
"docs": {
|
|
23723
|
+
"stability": "stable",
|
|
23724
|
+
"summary": "The sampling strategy."
|
|
23725
|
+
},
|
|
23726
|
+
"immutable": true,
|
|
23727
|
+
"locationInModule": {
|
|
23728
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
23729
|
+
"line": 43
|
|
23730
|
+
},
|
|
23731
|
+
"name": "mode",
|
|
23732
|
+
"type": {
|
|
23733
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
23734
|
+
}
|
|
23735
|
+
}
|
|
23736
|
+
],
|
|
23737
|
+
"symbolId": "src/fargate/trace-sampling:DatadogDefaultTraceSamplingOptions"
|
|
23738
|
+
},
|
|
23356
23739
|
"@rio-cloud/cdk-v2-constructs.fargate.DatadogIntegrationProps": {
|
|
23357
23740
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
23358
23741
|
"datatype": true,
|
|
@@ -23363,7 +23746,7 @@
|
|
|
23363
23746
|
"kind": "interface",
|
|
23364
23747
|
"locationInModule": {
|
|
23365
23748
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23366
|
-
"line":
|
|
23749
|
+
"line": 251
|
|
23367
23750
|
},
|
|
23368
23751
|
"name": "DatadogIntegrationProps",
|
|
23369
23752
|
"namespace": "fargate",
|
|
@@ -23378,7 +23761,7 @@
|
|
|
23378
23761
|
"immutable": true,
|
|
23379
23762
|
"locationInModule": {
|
|
23380
23763
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23381
|
-
"line":
|
|
23764
|
+
"line": 369
|
|
23382
23765
|
},
|
|
23383
23766
|
"name": "additionalTags",
|
|
23384
23767
|
"optional": true,
|
|
@@ -23402,7 +23785,7 @@
|
|
|
23402
23785
|
"immutable": true,
|
|
23403
23786
|
"locationInModule": {
|
|
23404
23787
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23405
|
-
"line":
|
|
23788
|
+
"line": 325
|
|
23406
23789
|
},
|
|
23407
23790
|
"name": "apmGetEndpointsToIgnore",
|
|
23408
23791
|
"optional": true,
|
|
@@ -23426,7 +23809,7 @@
|
|
|
23426
23809
|
"immutable": true,
|
|
23427
23810
|
"locationInModule": {
|
|
23428
23811
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23429
|
-
"line":
|
|
23812
|
+
"line": 294
|
|
23430
23813
|
},
|
|
23431
23814
|
"name": "awsFireLensCpu",
|
|
23432
23815
|
"optional": true,
|
|
@@ -23445,7 +23828,7 @@
|
|
|
23445
23828
|
"immutable": true,
|
|
23446
23829
|
"locationInModule": {
|
|
23447
23830
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23448
|
-
"line":
|
|
23831
|
+
"line": 304
|
|
23449
23832
|
},
|
|
23450
23833
|
"name": "awsFireLensMemoryLimitMiB",
|
|
23451
23834
|
"optional": true,
|
|
@@ -23463,7 +23846,7 @@
|
|
|
23463
23846
|
"immutable": true,
|
|
23464
23847
|
"locationInModule": {
|
|
23465
23848
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23466
|
-
"line":
|
|
23849
|
+
"line": 272
|
|
23467
23850
|
},
|
|
23468
23851
|
"name": "cpu",
|
|
23469
23852
|
"optional": true,
|
|
@@ -23481,7 +23864,7 @@
|
|
|
23481
23864
|
"immutable": true,
|
|
23482
23865
|
"locationInModule": {
|
|
23483
23866
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23484
|
-
"line":
|
|
23867
|
+
"line": 332
|
|
23485
23868
|
},
|
|
23486
23869
|
"name": "datadogSidecarEssential",
|
|
23487
23870
|
"optional": true,
|
|
@@ -23499,7 +23882,7 @@
|
|
|
23499
23882
|
"immutable": true,
|
|
23500
23883
|
"locationInModule": {
|
|
23501
23884
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23502
|
-
"line":
|
|
23885
|
+
"line": 338
|
|
23503
23886
|
},
|
|
23504
23887
|
"name": "datadogSidecarTag",
|
|
23505
23888
|
"optional": true,
|
|
@@ -23517,7 +23900,7 @@
|
|
|
23517
23900
|
"immutable": true,
|
|
23518
23901
|
"locationInModule": {
|
|
23519
23902
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23520
|
-
"line":
|
|
23903
|
+
"line": 344
|
|
23521
23904
|
},
|
|
23522
23905
|
"name": "enableRestartPolicy",
|
|
23523
23906
|
"optional": true,
|
|
@@ -23535,7 +23918,7 @@
|
|
|
23535
23918
|
"immutable": true,
|
|
23536
23919
|
"locationInModule": {
|
|
23537
23920
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23538
|
-
"line":
|
|
23921
|
+
"line": 318
|
|
23539
23922
|
},
|
|
23540
23923
|
"name": "loggingModeForDatadogAgent",
|
|
23541
23924
|
"optional": true,
|
|
@@ -23553,7 +23936,7 @@
|
|
|
23553
23936
|
"immutable": true,
|
|
23554
23937
|
"locationInModule": {
|
|
23555
23938
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23556
|
-
"line":
|
|
23939
|
+
"line": 311
|
|
23557
23940
|
},
|
|
23558
23941
|
"name": "loggingModeForService",
|
|
23559
23942
|
"optional": true,
|
|
@@ -23572,7 +23955,7 @@
|
|
|
23572
23955
|
"immutable": true,
|
|
23573
23956
|
"locationInModule": {
|
|
23574
23957
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23575
|
-
"line":
|
|
23958
|
+
"line": 284
|
|
23576
23959
|
},
|
|
23577
23960
|
"name": "memoryLimitMiB",
|
|
23578
23961
|
"optional": true,
|
|
@@ -23590,7 +23973,7 @@
|
|
|
23590
23973
|
"immutable": true,
|
|
23591
23974
|
"locationInModule": {
|
|
23592
23975
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23593
|
-
"line":
|
|
23976
|
+
"line": 350
|
|
23594
23977
|
},
|
|
23595
23978
|
"name": "restartIgnoredExitCodes",
|
|
23596
23979
|
"optional": true,
|
|
@@ -23602,6 +23985,39 @@
|
|
|
23602
23985
|
"kind": "array"
|
|
23603
23986
|
}
|
|
23604
23987
|
}
|
|
23988
|
+
},
|
|
23989
|
+
{
|
|
23990
|
+
"abstract": true,
|
|
23991
|
+
"docs": {
|
|
23992
|
+
"default": "- `TraceSamplingMode.DEFAULT`, which configures each\nAgent sidecar with an average head-sampling target of 5 traces per second\nand an additional error-sampling budget of 10 local error trace chunks per\nsecond. Each Fargate task has its own sidecar. Therefore, the target traces\nper second apply per Fargate task. Traffic spikes can exceed the\nhead-sampling target; these settings do not cap total ingestion.\nTarget-per-second sampling is suitable for both low- and high-traffic\nservices: low-traffic services can retain all traces while high-traffic\nservices are sampled toward the target.",
|
|
23993
|
+
"stability": "stable",
|
|
23994
|
+
"summary": "Configure Datadog APM trace sampling for the application and Agent sidecar."
|
|
23995
|
+
},
|
|
23996
|
+
"immutable": true,
|
|
23997
|
+
"locationInModule": {
|
|
23998
|
+
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23999
|
+
"line": 265
|
|
24000
|
+
},
|
|
24001
|
+
"name": "traceSampling",
|
|
24002
|
+
"optional": true,
|
|
24003
|
+
"type": {
|
|
24004
|
+
"union": {
|
|
24005
|
+
"types": [
|
|
24006
|
+
{
|
|
24007
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions"
|
|
24008
|
+
},
|
|
24009
|
+
{
|
|
24010
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions"
|
|
24011
|
+
},
|
|
24012
|
+
{
|
|
24013
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions"
|
|
24014
|
+
},
|
|
24015
|
+
{
|
|
24016
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions"
|
|
24017
|
+
}
|
|
24018
|
+
]
|
|
24019
|
+
}
|
|
24020
|
+
}
|
|
23605
24021
|
}
|
|
23606
24022
|
],
|
|
23607
24023
|
"symbolId": "src/fargate/rio-fargate-service:DatadogIntegrationProps"
|
|
@@ -23616,7 +24032,7 @@
|
|
|
23616
24032
|
"kind": "interface",
|
|
23617
24033
|
"locationInModule": {
|
|
23618
24034
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23619
|
-
"line":
|
|
24035
|
+
"line": 146
|
|
23620
24036
|
},
|
|
23621
24037
|
"name": "FargateTaskDefinitionProps",
|
|
23622
24038
|
"namespace": "fargate",
|
|
@@ -23632,7 +24048,7 @@
|
|
|
23632
24048
|
"immutable": true,
|
|
23633
24049
|
"locationInModule": {
|
|
23634
24050
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23635
|
-
"line":
|
|
24051
|
+
"line": 164
|
|
23636
24052
|
},
|
|
23637
24053
|
"name": "cpu",
|
|
23638
24054
|
"type": {
|
|
@@ -23650,7 +24066,7 @@
|
|
|
23650
24066
|
"immutable": true,
|
|
23651
24067
|
"locationInModule": {
|
|
23652
24068
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23653
|
-
"line":
|
|
24069
|
+
"line": 182
|
|
23654
24070
|
},
|
|
23655
24071
|
"name": "memoryLimitMiB",
|
|
23656
24072
|
"type": {
|
|
@@ -23667,7 +24083,7 @@
|
|
|
23667
24083
|
"immutable": true,
|
|
23668
24084
|
"locationInModule": {
|
|
23669
24085
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23670
|
-
"line":
|
|
24086
|
+
"line": 190
|
|
23671
24087
|
},
|
|
23672
24088
|
"name": "desiredCount",
|
|
23673
24089
|
"optional": true,
|
|
@@ -23685,7 +24101,7 @@
|
|
|
23685
24101
|
"immutable": true,
|
|
23686
24102
|
"locationInModule": {
|
|
23687
24103
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23688
|
-
"line":
|
|
24104
|
+
"line": 197
|
|
23689
24105
|
},
|
|
23690
24106
|
"name": "runtimePlatform",
|
|
23691
24107
|
"optional": true,
|
|
@@ -23696,6 +24112,57 @@
|
|
|
23696
24112
|
],
|
|
23697
24113
|
"symbolId": "src/fargate/rio-fargate-service:FargateTaskDefinitionProps"
|
|
23698
24114
|
},
|
|
24115
|
+
"@rio-cloud/cdk-v2-constructs.fargate.FixedRateTraceSamplingOptions": {
|
|
24116
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
24117
|
+
"datatype": true,
|
|
24118
|
+
"docs": {
|
|
24119
|
+
"stability": "stable",
|
|
24120
|
+
"summary": "Configure a fixed application-tracer sampling rate."
|
|
24121
|
+
},
|
|
24122
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.FixedRateTraceSamplingOptions",
|
|
24123
|
+
"kind": "interface",
|
|
24124
|
+
"locationInModule": {
|
|
24125
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
24126
|
+
"line": 47
|
|
24127
|
+
},
|
|
24128
|
+
"name": "FixedRateTraceSamplingOptions",
|
|
24129
|
+
"namespace": "fargate",
|
|
24130
|
+
"properties": [
|
|
24131
|
+
{
|
|
24132
|
+
"abstract": true,
|
|
24133
|
+
"docs": {
|
|
24134
|
+
"stability": "stable",
|
|
24135
|
+
"summary": "The global tracer sampling-rule rate, from 0.0 to 1.0 inclusive. Datadog tracers additionally apply their built-in 100-traces-per-second rate limit when sampling rules are configured. This construct does not expose or override that per-instance safeguard."
|
|
24136
|
+
},
|
|
24137
|
+
"immutable": true,
|
|
24138
|
+
"locationInModule": {
|
|
24139
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
24140
|
+
"line": 57
|
|
24141
|
+
},
|
|
24142
|
+
"name": "fixedRate",
|
|
24143
|
+
"type": {
|
|
24144
|
+
"primitive": "number"
|
|
24145
|
+
}
|
|
24146
|
+
},
|
|
24147
|
+
{
|
|
24148
|
+
"abstract": true,
|
|
24149
|
+
"docs": {
|
|
24150
|
+
"stability": "stable",
|
|
24151
|
+
"summary": "The sampling strategy."
|
|
24152
|
+
},
|
|
24153
|
+
"immutable": true,
|
|
24154
|
+
"locationInModule": {
|
|
24155
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
24156
|
+
"line": 49
|
|
24157
|
+
},
|
|
24158
|
+
"name": "mode",
|
|
24159
|
+
"type": {
|
|
24160
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
24161
|
+
}
|
|
24162
|
+
}
|
|
24163
|
+
],
|
|
24164
|
+
"symbolId": "src/fargate/trace-sampling:FixedRateTraceSamplingOptions"
|
|
24165
|
+
},
|
|
23699
24166
|
"@rio-cloud/cdk-v2-constructs.fargate.Framework": {
|
|
23700
24167
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
23701
24168
|
"docs": {
|
|
@@ -23705,7 +24172,7 @@
|
|
|
23705
24172
|
"kind": "enum",
|
|
23706
24173
|
"locationInModule": {
|
|
23707
24174
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23708
|
-
"line":
|
|
24175
|
+
"line": 87
|
|
23709
24176
|
},
|
|
23710
24177
|
"members": [
|
|
23711
24178
|
{
|
|
@@ -23730,7 +24197,7 @@
|
|
|
23730
24197
|
"kind": "interface",
|
|
23731
24198
|
"locationInModule": {
|
|
23732
24199
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23733
|
-
"line":
|
|
24200
|
+
"line": 200
|
|
23734
24201
|
},
|
|
23735
24202
|
"name": "ListenerRule",
|
|
23736
24203
|
"namespace": "fargate",
|
|
@@ -23743,7 +24210,7 @@
|
|
|
23743
24210
|
"immutable": true,
|
|
23744
24211
|
"locationInModule": {
|
|
23745
24212
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23746
|
-
"line":
|
|
24213
|
+
"line": 203
|
|
23747
24214
|
},
|
|
23748
24215
|
"name": "conditions",
|
|
23749
24216
|
"type": {
|
|
@@ -23763,7 +24230,7 @@
|
|
|
23763
24230
|
"immutable": true,
|
|
23764
24231
|
"locationInModule": {
|
|
23765
24232
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23766
|
-
"line":
|
|
24233
|
+
"line": 201
|
|
23767
24234
|
},
|
|
23768
24235
|
"name": "priority",
|
|
23769
24236
|
"type": {
|
|
@@ -23783,7 +24250,7 @@
|
|
|
23783
24250
|
"kind": "interface",
|
|
23784
24251
|
"locationInModule": {
|
|
23785
24252
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23786
|
-
"line":
|
|
24253
|
+
"line": 206
|
|
23787
24254
|
},
|
|
23788
24255
|
"name": "LoadBalancerOptions",
|
|
23789
24256
|
"namespace": "fargate",
|
|
@@ -23797,7 +24264,7 @@
|
|
|
23797
24264
|
"immutable": true,
|
|
23798
24265
|
"locationInModule": {
|
|
23799
24266
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23800
|
-
"line":
|
|
24267
|
+
"line": 225
|
|
23801
24268
|
},
|
|
23802
24269
|
"name": "healthCheck",
|
|
23803
24270
|
"type": {
|
|
@@ -23813,7 +24280,7 @@
|
|
|
23813
24280
|
"immutable": true,
|
|
23814
24281
|
"locationInModule": {
|
|
23815
24282
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23816
|
-
"line":
|
|
24283
|
+
"line": 230
|
|
23817
24284
|
},
|
|
23818
24285
|
"name": "healthCheckGracePeriod",
|
|
23819
24286
|
"type": {
|
|
@@ -23829,7 +24296,7 @@
|
|
|
23829
24296
|
"immutable": true,
|
|
23830
24297
|
"locationInModule": {
|
|
23831
24298
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23832
|
-
"line":
|
|
24299
|
+
"line": 210
|
|
23833
24300
|
},
|
|
23834
24301
|
"name": "listener",
|
|
23835
24302
|
"type": {
|
|
@@ -23846,7 +24313,7 @@
|
|
|
23846
24313
|
"immutable": true,
|
|
23847
24314
|
"locationInModule": {
|
|
23848
24315
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23849
|
-
"line":
|
|
24316
|
+
"line": 220
|
|
23850
24317
|
},
|
|
23851
24318
|
"name": "listenerRules",
|
|
23852
24319
|
"type": {
|
|
@@ -23869,7 +24336,7 @@
|
|
|
23869
24336
|
"immutable": true,
|
|
23870
24337
|
"locationInModule": {
|
|
23871
24338
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23872
|
-
"line":
|
|
24339
|
+
"line": 248
|
|
23873
24340
|
},
|
|
23874
24341
|
"name": "deregistrationDelay",
|
|
23875
24342
|
"optional": true,
|
|
@@ -23888,7 +24355,7 @@
|
|
|
23888
24355
|
"immutable": true,
|
|
23889
24356
|
"locationInModule": {
|
|
23890
24357
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23891
|
-
"line":
|
|
24358
|
+
"line": 239
|
|
23892
24359
|
},
|
|
23893
24360
|
"name": "slowStart",
|
|
23894
24361
|
"optional": true,
|
|
@@ -23899,6 +24366,45 @@
|
|
|
23899
24366
|
],
|
|
23900
24367
|
"symbolId": "src/fargate/rio-fargate-service:LoadBalancerOptions"
|
|
23901
24368
|
},
|
|
24369
|
+
"@rio-cloud/cdk-v2-constructs.fargate.RioDefaultTraceSamplingOptions": {
|
|
24370
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
24371
|
+
"datatype": true,
|
|
24372
|
+
"docs": {
|
|
24373
|
+
"remarks": "This is also the default when `traceSampling` is omitted.",
|
|
24374
|
+
"stability": "stable",
|
|
24375
|
+
"summary": "Use RIO's default Datadog Agent sampling targets."
|
|
24376
|
+
},
|
|
24377
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.RioDefaultTraceSamplingOptions",
|
|
24378
|
+
"kind": "interface",
|
|
24379
|
+
"locationInModule": {
|
|
24380
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
24381
|
+
"line": 31
|
|
24382
|
+
},
|
|
24383
|
+
"name": "RioDefaultTraceSamplingOptions",
|
|
24384
|
+
"namespace": "fargate",
|
|
24385
|
+
"properties": [
|
|
24386
|
+
{
|
|
24387
|
+
"abstract": true,
|
|
24388
|
+
"docs": {
|
|
24389
|
+
"default": "- `TraceSamplingMode.DEFAULT`",
|
|
24390
|
+
"remarks": "May be omitted to use the default.",
|
|
24391
|
+
"stability": "stable",
|
|
24392
|
+
"summary": "The sampling strategy."
|
|
24393
|
+
},
|
|
24394
|
+
"immutable": true,
|
|
24395
|
+
"locationInModule": {
|
|
24396
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
24397
|
+
"line": 37
|
|
24398
|
+
},
|
|
24399
|
+
"name": "mode",
|
|
24400
|
+
"optional": true,
|
|
24401
|
+
"type": {
|
|
24402
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
24403
|
+
}
|
|
24404
|
+
}
|
|
24405
|
+
],
|
|
24406
|
+
"symbolId": "src/fargate/trace-sampling:RioDefaultTraceSamplingOptions"
|
|
24407
|
+
},
|
|
23902
24408
|
"@rio-cloud/cdk-v2-constructs.fargate.RioFargateService": {
|
|
23903
24409
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
23904
24410
|
"base": "constructs.Construct",
|
|
@@ -23914,7 +24420,7 @@
|
|
|
23914
24420
|
},
|
|
23915
24421
|
"locationInModule": {
|
|
23916
24422
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23917
|
-
"line":
|
|
24423
|
+
"line": 486
|
|
23918
24424
|
},
|
|
23919
24425
|
"parameters": [
|
|
23920
24426
|
{
|
|
@@ -23943,7 +24449,7 @@
|
|
|
23943
24449
|
"kind": "class",
|
|
23944
24450
|
"locationInModule": {
|
|
23945
24451
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23946
|
-
"line":
|
|
24452
|
+
"line": 445
|
|
23947
24453
|
},
|
|
23948
24454
|
"name": "RioFargateService",
|
|
23949
24455
|
"namespace": "fargate",
|
|
@@ -23956,7 +24462,7 @@
|
|
|
23956
24462
|
"immutable": true,
|
|
23957
24463
|
"locationInModule": {
|
|
23958
24464
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23959
|
-
"line":
|
|
24465
|
+
"line": 482
|
|
23960
24466
|
},
|
|
23961
24467
|
"name": "connections",
|
|
23962
24468
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -23971,7 +24477,7 @@
|
|
|
23971
24477
|
"immutable": true,
|
|
23972
24478
|
"locationInModule": {
|
|
23973
24479
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23974
|
-
"line":
|
|
24480
|
+
"line": 478
|
|
23975
24481
|
},
|
|
23976
24482
|
"name": "datadogSideCarContainerDefinition",
|
|
23977
24483
|
"type": {
|
|
@@ -23985,7 +24491,7 @@
|
|
|
23985
24491
|
"immutable": true,
|
|
23986
24492
|
"locationInModule": {
|
|
23987
24493
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
23988
|
-
"line":
|
|
24494
|
+
"line": 483
|
|
23989
24495
|
},
|
|
23990
24496
|
"name": "service",
|
|
23991
24497
|
"type": {
|
|
@@ -23999,7 +24505,7 @@
|
|
|
23999
24505
|
"immutable": true,
|
|
24000
24506
|
"locationInModule": {
|
|
24001
24507
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24002
|
-
"line":
|
|
24508
|
+
"line": 477
|
|
24003
24509
|
},
|
|
24004
24510
|
"name": "serviceContainerDefinition",
|
|
24005
24511
|
"type": {
|
|
@@ -24013,7 +24519,7 @@
|
|
|
24013
24519
|
"immutable": true,
|
|
24014
24520
|
"locationInModule": {
|
|
24015
24521
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24016
|
-
"line":
|
|
24522
|
+
"line": 480
|
|
24017
24523
|
},
|
|
24018
24524
|
"name": "taskDefinition",
|
|
24019
24525
|
"type": {
|
|
@@ -24027,7 +24533,7 @@
|
|
|
24027
24533
|
"immutable": true,
|
|
24028
24534
|
"locationInModule": {
|
|
24029
24535
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24030
|
-
"line":
|
|
24536
|
+
"line": 479
|
|
24031
24537
|
},
|
|
24032
24538
|
"name": "logRouterContainerDefinition",
|
|
24033
24539
|
"optional": true,
|
|
@@ -24042,7 +24548,7 @@
|
|
|
24042
24548
|
"immutable": true,
|
|
24043
24549
|
"locationInModule": {
|
|
24044
24550
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24045
|
-
"line":
|
|
24551
|
+
"line": 484
|
|
24046
24552
|
},
|
|
24047
24553
|
"name": "targetGroup",
|
|
24048
24554
|
"optional": true,
|
|
@@ -24066,7 +24572,7 @@
|
|
|
24066
24572
|
},
|
|
24067
24573
|
"locationInModule": {
|
|
24068
24574
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24069
|
-
"line":
|
|
24575
|
+
"line": 146
|
|
24070
24576
|
},
|
|
24071
24577
|
"parameters": [
|
|
24072
24578
|
{
|
|
@@ -24095,7 +24601,7 @@
|
|
|
24095
24601
|
"kind": "class",
|
|
24096
24602
|
"locationInModule": {
|
|
24097
24603
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24098
|
-
"line":
|
|
24604
|
+
"line": 106
|
|
24099
24605
|
},
|
|
24100
24606
|
"name": "RioFargateServiceBlueGreenAlpha",
|
|
24101
24607
|
"namespace": "fargate",
|
|
@@ -24108,7 +24614,7 @@
|
|
|
24108
24614
|
"immutable": true,
|
|
24109
24615
|
"locationInModule": {
|
|
24110
24616
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24111
|
-
"line":
|
|
24617
|
+
"line": 141
|
|
24112
24618
|
},
|
|
24113
24619
|
"name": "connections",
|
|
24114
24620
|
"overrides": "aws-cdk-lib.aws_ec2.IConnectable",
|
|
@@ -24123,7 +24629,7 @@
|
|
|
24123
24629
|
"immutable": true,
|
|
24124
24630
|
"locationInModule": {
|
|
24125
24631
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24126
|
-
"line":
|
|
24632
|
+
"line": 137
|
|
24127
24633
|
},
|
|
24128
24634
|
"name": "datadogSideCarContainerDefinition",
|
|
24129
24635
|
"type": {
|
|
@@ -24137,7 +24643,7 @@
|
|
|
24137
24643
|
"immutable": true,
|
|
24138
24644
|
"locationInModule": {
|
|
24139
24645
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24140
|
-
"line":
|
|
24646
|
+
"line": 142
|
|
24141
24647
|
},
|
|
24142
24648
|
"name": "service",
|
|
24143
24649
|
"type": {
|
|
@@ -24151,7 +24657,7 @@
|
|
|
24151
24657
|
"immutable": true,
|
|
24152
24658
|
"locationInModule": {
|
|
24153
24659
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24154
|
-
"line":
|
|
24660
|
+
"line": 136
|
|
24155
24661
|
},
|
|
24156
24662
|
"name": "serviceContainerDefinition",
|
|
24157
24663
|
"type": {
|
|
@@ -24165,7 +24671,7 @@
|
|
|
24165
24671
|
"immutable": true,
|
|
24166
24672
|
"locationInModule": {
|
|
24167
24673
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24168
|
-
"line":
|
|
24674
|
+
"line": 139
|
|
24169
24675
|
},
|
|
24170
24676
|
"name": "taskDefinition",
|
|
24171
24677
|
"type": {
|
|
@@ -24179,7 +24685,7 @@
|
|
|
24179
24685
|
"immutable": true,
|
|
24180
24686
|
"locationInModule": {
|
|
24181
24687
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24182
|
-
"line":
|
|
24688
|
+
"line": 143
|
|
24183
24689
|
},
|
|
24184
24690
|
"name": "blueTargetGroup",
|
|
24185
24691
|
"optional": true,
|
|
@@ -24194,7 +24700,7 @@
|
|
|
24194
24700
|
"immutable": true,
|
|
24195
24701
|
"locationInModule": {
|
|
24196
24702
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24197
|
-
"line":
|
|
24703
|
+
"line": 144
|
|
24198
24704
|
},
|
|
24199
24705
|
"name": "greenTargetGroup",
|
|
24200
24706
|
"optional": true,
|
|
@@ -24209,7 +24715,7 @@
|
|
|
24209
24715
|
"immutable": true,
|
|
24210
24716
|
"locationInModule": {
|
|
24211
24717
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24212
|
-
"line":
|
|
24718
|
+
"line": 138
|
|
24213
24719
|
},
|
|
24214
24720
|
"name": "logRouterContainerDefinition",
|
|
24215
24721
|
"optional": true,
|
|
@@ -24231,7 +24737,7 @@
|
|
|
24231
24737
|
"kind": "interface",
|
|
24232
24738
|
"locationInModule": {
|
|
24233
24739
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24234
|
-
"line":
|
|
24740
|
+
"line": 31
|
|
24235
24741
|
},
|
|
24236
24742
|
"name": "RioFargateServiceBlueGreenAlphaProps",
|
|
24237
24743
|
"namespace": "fargate",
|
|
@@ -24245,7 +24751,7 @@
|
|
|
24245
24751
|
"immutable": true,
|
|
24246
24752
|
"locationInModule": {
|
|
24247
24753
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24248
|
-
"line":
|
|
24754
|
+
"line": 70
|
|
24249
24755
|
},
|
|
24250
24756
|
"name": "containerDefinitionOption",
|
|
24251
24757
|
"type": {
|
|
@@ -24261,7 +24767,7 @@
|
|
|
24261
24767
|
"immutable": true,
|
|
24262
24768
|
"locationInModule": {
|
|
24263
24769
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24264
|
-
"line":
|
|
24770
|
+
"line": 75
|
|
24265
24771
|
},
|
|
24266
24772
|
"name": "fargateOptions",
|
|
24267
24773
|
"type": {
|
|
@@ -24277,7 +24783,7 @@
|
|
|
24277
24783
|
"immutable": true,
|
|
24278
24784
|
"locationInModule": {
|
|
24279
24785
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24280
|
-
"line":
|
|
24786
|
+
"line": 40
|
|
24281
24787
|
},
|
|
24282
24788
|
"name": "serviceName",
|
|
24283
24789
|
"type": {
|
|
@@ -24293,7 +24799,7 @@
|
|
|
24293
24799
|
"immutable": true,
|
|
24294
24800
|
"locationInModule": {
|
|
24295
24801
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24296
|
-
"line":
|
|
24802
|
+
"line": 35
|
|
24297
24803
|
},
|
|
24298
24804
|
"name": "stage",
|
|
24299
24805
|
"type": {
|
|
@@ -24309,7 +24815,7 @@
|
|
|
24309
24815
|
"immutable": true,
|
|
24310
24816
|
"locationInModule": {
|
|
24311
24817
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24312
|
-
"line":
|
|
24818
|
+
"line": 45
|
|
24313
24819
|
},
|
|
24314
24820
|
"name": "version",
|
|
24315
24821
|
"type": {
|
|
@@ -24325,7 +24831,7 @@
|
|
|
24325
24831
|
"immutable": true,
|
|
24326
24832
|
"locationInModule": {
|
|
24327
24833
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24328
|
-
"line":
|
|
24834
|
+
"line": 57
|
|
24329
24835
|
},
|
|
24330
24836
|
"name": "vpc",
|
|
24331
24837
|
"type": {
|
|
@@ -24341,7 +24847,7 @@
|
|
|
24341
24847
|
"immutable": true,
|
|
24342
24848
|
"locationInModule": {
|
|
24343
24849
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24344
|
-
"line":
|
|
24850
|
+
"line": 90
|
|
24345
24851
|
},
|
|
24346
24852
|
"name": "blueGreenDeploymentConfig",
|
|
24347
24853
|
"optional": true,
|
|
@@ -24360,7 +24866,7 @@
|
|
|
24360
24866
|
"immutable": true,
|
|
24361
24867
|
"locationInModule": {
|
|
24362
24868
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24363
|
-
"line":
|
|
24869
|
+
"line": 65
|
|
24364
24870
|
},
|
|
24365
24871
|
"name": "cluster",
|
|
24366
24872
|
"optional": true,
|
|
@@ -24377,7 +24883,7 @@
|
|
|
24377
24883
|
"immutable": true,
|
|
24378
24884
|
"locationInModule": {
|
|
24379
24885
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24380
|
-
"line":
|
|
24886
|
+
"line": 85
|
|
24381
24887
|
},
|
|
24382
24888
|
"name": "datadogOptions",
|
|
24383
24889
|
"optional": true,
|
|
@@ -24395,7 +24901,7 @@
|
|
|
24395
24901
|
"immutable": true,
|
|
24396
24902
|
"locationInModule": {
|
|
24397
24903
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24398
|
-
"line":
|
|
24904
|
+
"line": 52
|
|
24399
24905
|
},
|
|
24400
24906
|
"name": "frameworks",
|
|
24401
24907
|
"optional": true,
|
|
@@ -24417,7 +24923,7 @@
|
|
|
24417
24923
|
"immutable": true,
|
|
24418
24924
|
"locationInModule": {
|
|
24419
24925
|
"filename": "src/fargate/rio-fargate-service-blue-green-alpha.ts",
|
|
24420
|
-
"line":
|
|
24926
|
+
"line": 80
|
|
24421
24927
|
},
|
|
24422
24928
|
"name": "loadBalancerOptions",
|
|
24423
24929
|
"optional": true,
|
|
@@ -24439,7 +24945,7 @@
|
|
|
24439
24945
|
"kind": "interface",
|
|
24440
24946
|
"locationInModule": {
|
|
24441
24947
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24442
|
-
"line":
|
|
24948
|
+
"line": 31
|
|
24443
24949
|
},
|
|
24444
24950
|
"name": "RioFargateServiceProps",
|
|
24445
24951
|
"namespace": "fargate",
|
|
@@ -24453,7 +24959,7 @@
|
|
|
24453
24959
|
"immutable": true,
|
|
24454
24960
|
"locationInModule": {
|
|
24455
24961
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24456
|
-
"line":
|
|
24962
|
+
"line": 70
|
|
24457
24963
|
},
|
|
24458
24964
|
"name": "containerDefinitionOption",
|
|
24459
24965
|
"type": {
|
|
@@ -24469,7 +24975,7 @@
|
|
|
24469
24975
|
"immutable": true,
|
|
24470
24976
|
"locationInModule": {
|
|
24471
24977
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24472
|
-
"line":
|
|
24978
|
+
"line": 75
|
|
24473
24979
|
},
|
|
24474
24980
|
"name": "fargateOptions",
|
|
24475
24981
|
"type": {
|
|
@@ -24485,7 +24991,7 @@
|
|
|
24485
24991
|
"immutable": true,
|
|
24486
24992
|
"locationInModule": {
|
|
24487
24993
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24488
|
-
"line":
|
|
24994
|
+
"line": 40
|
|
24489
24995
|
},
|
|
24490
24996
|
"name": "serviceName",
|
|
24491
24997
|
"type": {
|
|
@@ -24501,7 +25007,7 @@
|
|
|
24501
25007
|
"immutable": true,
|
|
24502
25008
|
"locationInModule": {
|
|
24503
25009
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24504
|
-
"line":
|
|
25010
|
+
"line": 35
|
|
24505
25011
|
},
|
|
24506
25012
|
"name": "stage",
|
|
24507
25013
|
"type": {
|
|
@@ -24517,7 +25023,7 @@
|
|
|
24517
25023
|
"immutable": true,
|
|
24518
25024
|
"locationInModule": {
|
|
24519
25025
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24520
|
-
"line":
|
|
25026
|
+
"line": 45
|
|
24521
25027
|
},
|
|
24522
25028
|
"name": "version",
|
|
24523
25029
|
"type": {
|
|
@@ -24533,7 +25039,7 @@
|
|
|
24533
25039
|
"immutable": true,
|
|
24534
25040
|
"locationInModule": {
|
|
24535
25041
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24536
|
-
"line":
|
|
25042
|
+
"line": 57
|
|
24537
25043
|
},
|
|
24538
25044
|
"name": "vpc",
|
|
24539
25045
|
"type": {
|
|
@@ -24551,7 +25057,7 @@
|
|
|
24551
25057
|
"immutable": true,
|
|
24552
25058
|
"locationInModule": {
|
|
24553
25059
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24554
|
-
"line":
|
|
25060
|
+
"line": 65
|
|
24555
25061
|
},
|
|
24556
25062
|
"name": "cluster",
|
|
24557
25063
|
"optional": true,
|
|
@@ -24568,7 +25074,7 @@
|
|
|
24568
25074
|
"immutable": true,
|
|
24569
25075
|
"locationInModule": {
|
|
24570
25076
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24571
|
-
"line":
|
|
25077
|
+
"line": 85
|
|
24572
25078
|
},
|
|
24573
25079
|
"name": "datadogOptions",
|
|
24574
25080
|
"optional": true,
|
|
@@ -24586,7 +25092,7 @@
|
|
|
24586
25092
|
"immutable": true,
|
|
24587
25093
|
"locationInModule": {
|
|
24588
25094
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24589
|
-
"line":
|
|
25095
|
+
"line": 52
|
|
24590
25096
|
},
|
|
24591
25097
|
"name": "frameworks",
|
|
24592
25098
|
"optional": true,
|
|
@@ -24608,7 +25114,7 @@
|
|
|
24608
25114
|
"immutable": true,
|
|
24609
25115
|
"locationInModule": {
|
|
24610
25116
|
"filename": "src/fargate/rio-fargate-service.ts",
|
|
24611
|
-
"line":
|
|
25117
|
+
"line": 80
|
|
24612
25118
|
},
|
|
24613
25119
|
"name": "loadBalancerOptions",
|
|
24614
25120
|
"optional": true,
|
|
@@ -24619,6 +25125,200 @@
|
|
|
24619
25125
|
],
|
|
24620
25126
|
"symbolId": "src/fargate/rio-fargate-service:RioFargateServiceProps"
|
|
24621
25127
|
},
|
|
25128
|
+
"@rio-cloud/cdk-v2-constructs.fargate.TargetPerSecondTraceSamplingOptions": {
|
|
25129
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
25130
|
+
"datatype": true,
|
|
25131
|
+
"docs": {
|
|
25132
|
+
"stability": "stable",
|
|
25133
|
+
"summary": "Configure Datadog Agent target sampling."
|
|
25134
|
+
},
|
|
25135
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.TargetPerSecondTraceSamplingOptions",
|
|
25136
|
+
"kind": "interface",
|
|
25137
|
+
"locationInModule": {
|
|
25138
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25139
|
+
"line": 61
|
|
25140
|
+
},
|
|
25141
|
+
"name": "TargetPerSecondTraceSamplingOptions",
|
|
25142
|
+
"namespace": "fargate",
|
|
25143
|
+
"properties": [
|
|
25144
|
+
{
|
|
25145
|
+
"abstract": true,
|
|
25146
|
+
"docs": {
|
|
25147
|
+
"stability": "stable",
|
|
25148
|
+
"summary": "The sampling strategy."
|
|
25149
|
+
},
|
|
25150
|
+
"immutable": true,
|
|
25151
|
+
"locationInModule": {
|
|
25152
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25153
|
+
"line": 63
|
|
25154
|
+
},
|
|
25155
|
+
"name": "mode",
|
|
25156
|
+
"type": {
|
|
25157
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TraceSamplingMode"
|
|
25158
|
+
}
|
|
25159
|
+
},
|
|
25160
|
+
{
|
|
25161
|
+
"abstract": true,
|
|
25162
|
+
"docs": {
|
|
25163
|
+
"remarks": "Traffic spikes\ncan exceed this target; it is not a hard cap on total ingestion.",
|
|
25164
|
+
"stability": "stable",
|
|
25165
|
+
"summary": "The average head-sampling target in traces per second for each Agent sidecar (and therefore each Fargate service instance)."
|
|
25166
|
+
},
|
|
25167
|
+
"immutable": true,
|
|
25168
|
+
"locationInModule": {
|
|
25169
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25170
|
+
"line": 70
|
|
25171
|
+
},
|
|
25172
|
+
"name": "targetTracesPerSecond",
|
|
25173
|
+
"type": {
|
|
25174
|
+
"primitive": "number"
|
|
25175
|
+
}
|
|
25176
|
+
},
|
|
25177
|
+
{
|
|
25178
|
+
"abstract": true,
|
|
25179
|
+
"docs": {
|
|
25180
|
+
"remarks": "This does not cap error traces already kept by head sampling.",
|
|
25181
|
+
"stability": "stable",
|
|
25182
|
+
"summary": "The budget for additional local error trace chunks per second missed by head sampling, for each Agent sidecar (and therefore each Fargate service instance)."
|
|
25183
|
+
},
|
|
25184
|
+
"immutable": true,
|
|
25185
|
+
"locationInModule": {
|
|
25186
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25187
|
+
"line": 77
|
|
25188
|
+
},
|
|
25189
|
+
"name": "errorTracesPerSecond",
|
|
25190
|
+
"optional": true,
|
|
25191
|
+
"type": {
|
|
25192
|
+
"primitive": "number"
|
|
25193
|
+
}
|
|
25194
|
+
}
|
|
25195
|
+
],
|
|
25196
|
+
"symbolId": "src/fargate/trace-sampling:TargetPerSecondTraceSamplingOptions"
|
|
25197
|
+
},
|
|
25198
|
+
"@rio-cloud/cdk-v2-constructs.fargate.TraceSamplingMode": {
|
|
25199
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
25200
|
+
"docs": {
|
|
25201
|
+
"stability": "stable",
|
|
25202
|
+
"summary": "The trace sampling strategy used by the Fargate Datadog integration."
|
|
25203
|
+
},
|
|
25204
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.TraceSamplingMode",
|
|
25205
|
+
"kind": "enum",
|
|
25206
|
+
"locationInModule": {
|
|
25207
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25208
|
+
"line": 7
|
|
25209
|
+
},
|
|
25210
|
+
"members": [
|
|
25211
|
+
{
|
|
25212
|
+
"docs": {
|
|
25213
|
+
"remarks": "Target-per-second sampling is a practical default for both low- and\nhigh-traffic services.",
|
|
25214
|
+
"stability": "stable",
|
|
25215
|
+
"summary": "Use RIO's per-Agent head-sampling target of 5 traces/sec and an additional error-sampling budget of 10 local error trace chunks/sec."
|
|
25216
|
+
},
|
|
25217
|
+
"name": "DEFAULT"
|
|
25218
|
+
},
|
|
25219
|
+
{
|
|
25220
|
+
"docs": {
|
|
25221
|
+
"remarks": "retain Datadog's defaults.",
|
|
25222
|
+
"stability": "stable",
|
|
25223
|
+
"summary": "Do not set sampling environment variables;"
|
|
25224
|
+
},
|
|
25225
|
+
"name": "DATADOG_DEFAULT"
|
|
25226
|
+
},
|
|
25227
|
+
{
|
|
25228
|
+
"docs": {
|
|
25229
|
+
"stability": "stable",
|
|
25230
|
+
"summary": "Set a fixed sampling rule on the application tracer."
|
|
25231
|
+
},
|
|
25232
|
+
"name": "FIXED_RATE"
|
|
25233
|
+
},
|
|
25234
|
+
{
|
|
25235
|
+
"docs": {
|
|
25236
|
+
"stability": "stable",
|
|
25237
|
+
"summary": "Set a per-Agent target number of traces per second."
|
|
25238
|
+
},
|
|
25239
|
+
"name": "TARGET_PER_SECOND"
|
|
25240
|
+
}
|
|
25241
|
+
],
|
|
25242
|
+
"name": "TraceSamplingMode",
|
|
25243
|
+
"namespace": "fargate",
|
|
25244
|
+
"symbolId": "src/fargate/trace-sampling:TraceSamplingMode"
|
|
25245
|
+
},
|
|
25246
|
+
"@rio-cloud/cdk-v2-constructs.fargate.TraceSamplingValidator": {
|
|
25247
|
+
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
25248
|
+
"docs": {
|
|
25249
|
+
"stability": "stable"
|
|
25250
|
+
},
|
|
25251
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.fargate.TraceSamplingValidator",
|
|
25252
|
+
"initializer": {
|
|
25253
|
+
"docs": {
|
|
25254
|
+
"stability": "stable"
|
|
25255
|
+
},
|
|
25256
|
+
"locationInModule": {
|
|
25257
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25258
|
+
"line": 101
|
|
25259
|
+
},
|
|
25260
|
+
"parameters": [
|
|
25261
|
+
{
|
|
25262
|
+
"name": "traceSampling",
|
|
25263
|
+
"optional": true,
|
|
25264
|
+
"type": {
|
|
25265
|
+
"union": {
|
|
25266
|
+
"types": [
|
|
25267
|
+
{
|
|
25268
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.RioDefaultTraceSamplingOptions"
|
|
25269
|
+
},
|
|
25270
|
+
{
|
|
25271
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.DatadogDefaultTraceSamplingOptions"
|
|
25272
|
+
},
|
|
25273
|
+
{
|
|
25274
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.FixedRateTraceSamplingOptions"
|
|
25275
|
+
},
|
|
25276
|
+
{
|
|
25277
|
+
"fqn": "@rio-cloud/cdk-v2-constructs.TargetPerSecondTraceSamplingOptions"
|
|
25278
|
+
}
|
|
25279
|
+
]
|
|
25280
|
+
}
|
|
25281
|
+
}
|
|
25282
|
+
}
|
|
25283
|
+
]
|
|
25284
|
+
},
|
|
25285
|
+
"interfaces": [
|
|
25286
|
+
"constructs.IValidation"
|
|
25287
|
+
],
|
|
25288
|
+
"kind": "class",
|
|
25289
|
+
"locationInModule": {
|
|
25290
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25291
|
+
"line": 100
|
|
25292
|
+
},
|
|
25293
|
+
"methods": [
|
|
25294
|
+
{
|
|
25295
|
+
"docs": {
|
|
25296
|
+
"remarks": "This method can be implemented by derived constructs in order to perform\nvalidation logic. It is called on all constructs before synthesis.",
|
|
25297
|
+
"stability": "stable",
|
|
25298
|
+
"summary": "Validate the current construct."
|
|
25299
|
+
},
|
|
25300
|
+
"locationInModule": {
|
|
25301
|
+
"filename": "src/fargate/trace-sampling.ts",
|
|
25302
|
+
"line": 103
|
|
25303
|
+
},
|
|
25304
|
+
"name": "validate",
|
|
25305
|
+
"overrides": "constructs.IValidation",
|
|
25306
|
+
"returns": {
|
|
25307
|
+
"type": {
|
|
25308
|
+
"collection": {
|
|
25309
|
+
"elementtype": {
|
|
25310
|
+
"primitive": "string"
|
|
25311
|
+
},
|
|
25312
|
+
"kind": "array"
|
|
25313
|
+
}
|
|
25314
|
+
}
|
|
25315
|
+
}
|
|
25316
|
+
}
|
|
25317
|
+
],
|
|
25318
|
+
"name": "TraceSamplingValidator",
|
|
25319
|
+
"namespace": "fargate",
|
|
25320
|
+
"symbolId": "src/fargate/trace-sampling:TraceSamplingValidator"
|
|
25321
|
+
},
|
|
24622
25322
|
"@rio-cloud/cdk-v2-constructs.kafka.KafkaAclStatement": {
|
|
24623
25323
|
"assembly": "@rio-cloud/cdk-v2-constructs",
|
|
24624
25324
|
"datatype": true,
|
|
@@ -26391,5 +27091,5 @@
|
|
|
26391
27091
|
}
|
|
26392
27092
|
},
|
|
26393
27093
|
"version": "0.0.0",
|
|
26394
|
-
"fingerprint": "
|
|
27094
|
+
"fingerprint": "4X97qlXFrbEDNsy539F3VpyRPpndxN1z+9G/Jky/g1w="
|
|
26395
27095
|
}
|