-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(aws-stepfunctions): unnecessary log group definition in x-ray tracing example #16158
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsRelated to AWS StepFunctionsdocumentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
https://docs.aws.amazon.com/cdk/api/latest/docs/aws-stepfunctions-readme.html#x-ray-tracing
The X-Ray Tracing code example includes an unnecessary instantiation of a LogGroup which is not used in the StateMachine definition.
const logGroup = new logs.LogGroup(stack, 'MyLogGroup'); // <--- unnecessary for the example
new sfn.StateMachine(stack, 'MyStateMachine', {
definition: sfn.Chain.start(new sfn.Pass(stack, 'Pass')),
tracingEnabled: true
});This is a 📕 documentation issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-stepfunctionsRelated to AWS StepFunctionsRelated to AWS StepFunctionsdocumentationThis is a problem with documentation.This is a problem with documentation.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2