Refer to the blog for more details about the full implementation
This is an open source version of the OTEL Collector Agent written in Python language. Solution Design of the Otel Collector Agent:
Once tha above stack is deployed in the environment. All the others ECS services can consume the endpoint via environment variables:
- OTEL_EXPORTER_OTLP_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES
Config Agent deployed stacks needs to be resolvable via AWS CloudMap and also the endpoints needs to be resolvable inside the ECS services.
Change the account number and put in the relevant details to deploy the framework. For End to end implementation using CD-CI, Please check CDK end to end
cdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk diff
compare deployed stack with current statecdk docs
open CDK documentationcdk deploy
deploy this stack to your default AWS account/region
cdk destroy
Cleans up the stack