Collecting custom JSON metrics using the New Relic Flex integration
Blog post from New Relic
The blog post explores the process of using Ookla's Speedtest command line utility to measure internet speed metrics, such as latency, download, and upload bandwidth, and demonstrates how to integrate this data into New Relic using the Flex integration in JSON format. The author, Leon Adato, explains that JSON is preferred by many IT practitioners due to its widespread use in APIs and utilities, and he provides a detailed guide for setting up this integration, including configuring a YAML file to run Speedtest commands and removing unnecessary keys like timestamps to prevent data conflicts. The post emphasizes the benefits of using JSON over CSV for output formatting and concludes with instructions on querying the collected data using NRQL, converting bandwidth measurements to bits per second, and visualizing the results on a dashboard. Adato invites readers to engage with the New Relic community for further discussions and provides links to additional resources for exploring more Flex configurations and previous parts of the blog series.