Schedule a Daemon Service in AWS using StackState Agent V2 ECS Task:
Log in to the AWS console and navigate to the ECS Clusters section. Select the cluster you run the Agent on.
Create a new service by clicking the Create button under Services.
For launch type, select EC2 then the task definition created previously.
For service type, select DAEMON, and enter a Service name. Click Next.
Since the Service runs once on each instance, you won’t need a load balancer. Select None. Click Next.
Daemon services don’t need Auto Scaling, so click Next Step and then Create Service.
Integrate with Java traces
When used in conjunction with one of our language specific trace clients, eg. StackState Java Trace Client to allow automatic merging of components within StackState make sure to configure you app to use the host’s pid namespace:
"pidMode": "host", # ensure pid's match with processes reported by the StackState process agent
Advanced Agent configurations
The Agent can be configured to tune the process blacklist, or turn off specific features when not needed. For details, see advanced Agent configuration.