Good day, Readers! In this blog, we will look at how to begin monitoring the performance of apps and infrastructure with New Relic..
What is New Relic?
New Relic is observability software, which allows teams to monitor the performance of their apps and infrastructure.
- Part of creating a successful application is ensuring that it remains operational after you construct it.
- Teams need insight into the application layer (APM) and the infrastructure layer, which are the two key domains (your servers and such)
- For gathering data from those layers, displaying it, and exploring more deeply why anything went wrong, New Relic offers a number of APIs.
What is New Relic Monitoring?
New Relic is a Software as a Service provider that specialises in monitoring performance and availability. It sets and rates application performance uniformly throughout the environment using a standardised Apdex (application performance index) score.
Install Infrastructure Agent:
To begin with,the infrastructure agent (infra-agent) collects inventory data and metrics of your hosts and sends it to the New Relic platform.The infrastructure monitoring agent from New Relic is a small executable file that collects data about your hosts. Additionally, it sends log data for log analytics as well as information from our on-host integrations to New Relic.
The New Relic guided install is the quickest way to get started with infrastructure monitoring agent.
The Kubernetes integration in New Relic provides full visibility into the health and performance of your environment, whether you run Kubernetes on-premises or in the cloud. With the help of the cluster explorer, you can observe how your cluster is operating at all levels of complexity, from the heights of the control plane down to the level of individual applications running on a single pod.
Install Kubernetes Integration:
The automated installer from New Relic will generate either a helm command or a set of simple manifests for you to install. The automatic installer for it:
- enables users to choose the installation’s cluster name and namespace.
- enables or disables bundling of Kube-state-metrics, a prerequisite for the Kubernetes integration, on a per-user basis.
- enables consumers to easily install our additional Kubernetes-related products, including:
- Monitoring of events in Kubernetes
- Prometheus services monitoring in-cluster
- Pixie-based service instrumentation without code modifications
- automatically adds the licencing keys that the integration needs to function to the necessary properties.
You can create your own charts in New Relic and query all of your Kubernetes data, which our integration collects by instrumenting the container orchestration layer. This provides you with more information about nodes, namespaces, deployments, replica sets, pods, and containers.
You can also do the following with the Kubernetes integration:
- Connect your APM data to Kubernetes to monitor the performance of your web and mobile applications, including metrics like request rate, throughput, error rate, and availability.
- Monitor Kubernetes-based services such as Apache, NGINX, Cassandra, and many others (see our tutorial for monitoring Redis on Kubernetes).