Go Language Page

Monitor and Troubleshoot Golang Applications

trusted by thousands of engineers every day

Get Started Quickly

Create a Handler for your Lambda function

				
					func handler (request events.APIGatewayProxyRequest) (events.APIGatewayProxyResponse, error) {
  log.Println("In handler, recieved body: ", request.Body)
  return events.APIGatewayProxyResponse{Body: request.Body, StatusCode: 200}, nil
}
				
			

Wrap your Handler with Epsagon

 

				
					func main () {
  config := epsagon.NewTracerConfig(<APP-NAME-STAGE>, <EPSAGON-TOKEN>)
  lambda.Start(epsagon.WrapLambdaHandler(config, handler))
}
				
			

For more information, check out our documentation

Detect Performance and Latency Issues

Catch errors before they affect your Go applications

Maintain SLAs and SLOs with ease

Start your 14-day Free Trial now

Correlate Metrics, Logs, and Traces for Effective Troubleshooting