Skip to content

Commit

Permalink
feat: remove ecs agent log level, enable prom metrics (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjydev authored May 2, 2024
1 parent 61939ea commit 8309e0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/mixins/ecs-agent/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
image = "public.ecr.aws/ecs/amazon-ecs-agent:v1.82.3";

ports = [
"127.0.0.1:51678:51678" # ecs metadata service
"127.0.0.1:51680:51680" # prometheus metrics
"51678:51678" # ecs metadata service
"51680:51680" # prometheus metrics
];

extraOptions = [
Expand All @@ -29,7 +29,7 @@

environmentFiles = ["/run/keys/ecs.config"];
environment = {
ECS_LOGFILE = "/log/ecs-agent.log";
ECS_ENABLE_PROMETHEUS_METRICS = "true";
ECS_LOGLEVEL = "info";
ECS_DATADIR = "/data";
ECS_UPDATES_ENABLED = "false";
Expand Down

0 comments on commit 8309e0d

Please sign in to comment.