Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

err: open /opt/aws/aws-otel-collector/etc/extracfg.txt: no such file or directory #2736

Open
jyoti-enya opened this issue May 9, 2024 · 0 comments

Comments

@jyoti-enya
Copy link

jyoti-enya commented May 9, 2024

Team, I am using CF templates to add observability . The ECS Task is running on ecs ec2

        - Name: "aws-otel-emitter"
          Image: app-image:v1.6.3
          LogConfiguration:
            LogDriver: awslogs
            Options:
              awslogs-create-group: "true"
              awslogs-group: "/ecs/aws-otel-emitter"
              awslogs-region: "us-east-2"
              awslogs-stream-prefix: "ecs"
          DependsOn:
            - ContainerName: "aws-otel-collector"
              Condition: "START"
          MemoryReservation: 128
        - Name: "aws-otel-collector"
          Image: "public.ecr.aws/aws-observability/aws-otel-collector:stable"
          Essential: true
          Environment:
            - Name: "AWS_PROMETHEUS_ENDPOINT"
              Value: "url"
            - Name: "AWS_PROMETHEUS_SCRAPING_ENDPOINT"
              Value: "0.0.0.0:7300"              
          LogConfiguration:
            LogDriver: awslogs
            Options:
              awslogs-create-group: "True"
              awslogs-group: "/ecs/ecs-aws-otel-sidecar-collector"
              awslogs-region: "us-east-2"
              awslogs-stream-prefix: "ecs"
          MemoryReservation: 128

I am seeing this error in console

Task is stopping
Task failed to start

Can someone help here please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant