aws / aws/aws-xray-daemon

Cannot change port

Open
#189 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
193
Forks
73
Avg merge
2d 7h
Merged PRs (30d)
3

Description

Hi

Looking to use this as a side-car in an ECS setup and might just be missing something so feel free to refute.

The port here is hard-coded to 2000, and my Rails app is set to port 2000 as well. Normally a simple fix is to map the container port to a different host port, but in CDK ECS I cannot set the`hostPort` to anything different than `containerPort`.

I'll put together a PR that swaps it over to using environment vars, but I also might just be missing something obvious.

All the best

Tom

Contributor guide

Open the contributing guide

Research direction

Locate where the daemon hard-codes UDP port 2000 and inspect how its container settings are defined for ECS. Confirm how an environment variable should control the listening port, then verify that the daemon and container can use a configurable port without conflicting with the Rails application.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.