paint-brush
Custom TraceID in Elastic APMby@thamizh
6,272 reads
6,272 reads

Custom TraceID in Elastic APM

by Thamizh Pandian3mAugust 1st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Elastic APM is extensively useful in monitoring the lifecycle of a request in a system especially in µservices architecture. Golang is used in this article for code snippets but the concept can be extended to other languages as well. Elastic APM supports distributed tracing and it is OpenTracing compliant. The idea is to create a custom trace ID and expose that via header in response. Extracted TraceID can be logged and thus used in finding the request in APM dashboard. For example, I have used Traceid as the response header.

Company Mentioned

Mention Thumbnail
featured image - Custom TraceID in Elastic APM
Thamizh Pandian HackerNoon profile picture
Thamizh Pandian

Thamizh Pandian

@thamizh

L O A D I N G
. . . comments & more!

About Author

Thamizh Pandian HackerNoon profile picture
Thamizh Pandian@thamizh

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite