Pino-HTTP for Express Nodejs App with Log Shipper
TLDR Nishant asks about log shippers for pino-http with Express Nodejs applications, and nitya-signoz shares a sample app and guide but is unfamiliar with pino-http.
Mar 17, 2023 (9 months ago)
The architecture will be
nodeJsApp -> file -> signoz-collector -> signoz
If your application is deployed on k8s/docker you don’t need to do the writing to file and collection step as it will be collected automatically from stdout
Indexed 1023 threads (61% resolved)
Removing Default Logs and Collecting Application Logs
Srikanth wanted to remove default logs and collect their application logs. nitya-signoz provided two solutions, and Srikanth chose the second one, which involves editing the ote-collector-config.yaml file.
Sending Logs to SigNoz through Winston Logs in Localhost
shridhar was unable to see logs after implementing the provided code. Srikanth pointed out incorrect host:port:path address and suggested using the file receiver to collect logs.
Multiple Operators Usage in SigNoz
Noor asked about multiple operator usage in SigNoz logs. Chitransh confirmed it's possible and shared resourceful links for further assistance.
Troubleshooting and Adding Log Files to SigNoz POC
Noor has requested help with incorporating log files into their SigNoz POC. In collaboration with vishal-signoz and nitya-signoz, they managed to successfully setup and resolve their issues.
Supporting go-zero Framework and Displaying Application Logs in SigNoz
zane.chen inquired about support for go-zero framework and displaying application logs in SigNoz. Srikanth and nitya-signoz suggested steps, but the issue remains unsolved.