Hi I want to implement application-monitoring(traces & metrics) for nodeJS application, using opensearch stack. Being a beginner for using trace-analytics aws service, i’m following below steps for same. Can someone plz confirm the steps?? Also, suggest what should be the version requirements of otel-collector and data-prepper. I’m using aws opensearch of v2.3 and pulled the latest docker image of data-prepper(not sure what’s the version).
- Adding automatic-instrumentation inside application code.
- Sending data (traces&metrics) over the otel-collector, configuring otlp receivers and data-prepper exporter.
- Running data-prepper, configuring otel-trace-source and opensearch sink. My otel-collector and data-prepper are running on same ec2instance.