#support

Troubleshooting SigNoz Monitoring for AWS EC2 Docker-Compose Application

TLDR dipak has problems with SigNoz integration to monitor containers in an AWS EC2 Docker-Compose application. Prashant suggests updating the dashboard and using different guides for log collection, metrics collection and application instrumentation. Issues are still unresolved.

Powered by Struct AI

2

1

Aug 21, 2023 (3 months ago)
dipak
Photo of md5-7e19c458a04afba0e28c367e4e991f28
dipak
09:13 AM
Hi Everyone, my application is deployed on aws EC2 instance using docker-compose file, now i want to enable monitoring of all containers and logs of them in signoz dashboard how can i achive this?? now i installed signoz using docs now signoz is accessible from my ec2 instance IP address but its not showing me my services and logs and metrics of containers. how can i do it to gather all in one place.
also its not monitoring my hostsystem i have configured dashboard from github repo but its showing me blank in dashboard panel
Image 1 for Hi Everyone,  my application is deployed on aws EC2 instance using docker-compose file, now i want to enable monitoring of all containers and logs of them in signoz dashboard how can i achive this?? now i installed signoz using docs now signoz is accessible  from my ec2 instance IP address but its not showing me my services and logs and metrics of containers. how can i do it to gather all in one place.
also its not monitoring my hostsystem i have configured dashboard from github repo but its showing me blank in dashboard panel

1

Younes
Photo of md5-300fdb1a3c89a456d0ff52e82a975342
Younes
01:06 PM
I think you still need to manually instrument your application: https://signoz.io/docs/instrumentation/overview/
Aug 22, 2023 (3 months ago)
vishal-signoz
Photo of md5-f936d3e5743d23344d6c60813189716f
vishal-signoz
02:13 AM
Prashant Can help here
Aug 23, 2023 (3 months ago)
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
05:34 AM
dipak it looks like you are using old version of hostmetrics dashboard.

Can you import this dashboard JSON instead?
Aug 24, 2023 (3 months ago)
dipak
Photo of md5-7e19c458a04afba0e28c367e4e991f28
dipak
12:45 PM
Prashant yes will try and let you know
Aug 25, 2023 (3 months ago)
dipak
Photo of md5-7e19c458a04afba0e28c367e4e991f28
dipak
07:47 AM
Prashant now i'm able to access dashboard of host system but now problem is my application stack (docker-compose file of application is separate) and signoz deployment deployed on another docker-compose file how can i monitor container-logs and container-metrics running on my aws ec2 instance
my application is container based i'm using different different languages like angular for front-end for backend using node services in nestjs how can i intrument them to send logs and metrics to signoz, please help me out.
Prashant thanks for your support, i need further support for above issue thanks in advance.

2

Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
07:57 AM
happy to help šŸ™‚
08:00
Prashant
08:00 AM
> my application is container based i'm using different different languages like angular for front-end for backend using node services in nestjs how can i intrument them to send logs and metrics to signoz, please help me out.
Refer here to collect logs: https://signoz.io/docs/userguide/collect_docker_logs/#steps-for-collecting-logs-if-signoz-is-running-on-a-different-host
08:01
Prashant
08:01 AM
For metrics collection of the VM itself, you can either use otelcollector in docker itself.

Or the otel-binary: https://signoz.io/docs/tutorial/opentelemetry-binary-usage-in-virtual-machine
dipak
Photo of md5-7e19c458a04afba0e28c367e4e991f28
dipak
08:48 AM
Prashant i already read those doc but actually problem is docker containers log and metrics not showing in signoz and also not list my services of application running on same host
and document say that if you are hosting signoz on same server where my application is running then you don't need to change any thing in signoz docker-compose file it will automatically list all container services that are running in my ec2 instance but its not listing my application services in signoz dashboard
08:55
dipak
08:55 AM
Prashant i have used this command to install signoz
git clone -b main https://github.com/SigNoz/signoz.git && cd signoz/deploy/
after that
cd docker/clickhouse-setup/
then
docker-compose up -d
===============
i did only this thing still other than this i was not touch anything in above configuration that clone from github.

what need to do for APM and individual container logs and container metrics i required.

please help me out.
for more clearity i will share my contact no. also
+91 9509677475
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
07:47 PM
Only collection of logs are taken care via the log path mentioned in the config.
It doesn’t list the services automatically.

cc nitya-signoz
Aug 28, 2023 (3 months ago)
dipak
Photo of md5-7e19c458a04afba0e28c367e4e991f28
dipak
05:35 AM
Prashant nitya-signoz then what i do to achive my goal can you please guide me ....
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
07:29 AM
dipak you need to instrument your applications.

Here are the docs: https://signoz.io/docs/instrumentation/overview/

SigNoz Community

Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI

Indexed 1023 threads (61% resolved)

Join Our Community