Instrumenting a web application with New Relic : snapshot of observability for custom metrics, logs, and errors
Yabe, Anna Beatriz (2026)
Yabe, Anna Beatriz
2026
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202602092489
https://urn.fi/URN:NBN:fi:amk-202602092489
Tiivistelmä
This thesis presents a snapshot on how to instrument a web application with New Relic. The final objective is to verify if it is possible to collect custom metrics, logs, and errors, and display the data in the application. By doing this, it will be possible to gather real time insights, correlate data, and centralize metrics in one platform reducing maintenance overload and improving productivity.
This thesis begins by investigating the core functionalities of New Relic and the requirements for the data to be collected. It is followed by a summary of the different possible approaches to forward data from the application to the observability platform, and finally, by the implementation process and creation of dashboard to visualize the data.
By the end of this thesis, it will be presented a dashboard with custom metrics, logs, and errors that are successfully collected by the New Relic PHP Agent. Being a starting point for the web application to understand the functionalities of New Relic, how data can be collected and displayed, and to support future improvements of the instrumentation and observability implemented.
This thesis begins by investigating the core functionalities of New Relic and the requirements for the data to be collected. It is followed by a summary of the different possible approaches to forward data from the application to the observability platform, and finally, by the implementation process and creation of dashboard to visualize the data.
By the end of this thesis, it will be presented a dashboard with custom metrics, logs, and errors that are successfully collected by the New Relic PHP Agent. Being a starting point for the web application to understand the functionalities of New Relic, how data can be collected and displayed, and to support future improvements of the instrumentation and observability implemented.
