Getting To Know ThousandEyes – Half 2

0
15
Getting To Know ThousandEyes – Half 2


Extracting and integrating knowledge into your individual dashboard

In Half 1, my colleague Mel Delgado gave an introduction to ThousandEyes, and how one can deploy your individual ThousandEyes agent at residence through a raspberry pi. This SaaS platform is all about offering observability within the WAN with brokers operating within the cloud, on prem, or in your finish host. Customers will get insights into latency, packet loss, community hops, BGP routing, but in addition HTTP web page load time, DNS server response time, DOM load time and so many extra stats! I believe it’s secure to say that ThousandEyes is amassing tons of meta-data concerning the well being of the entire Web and particularly to your operating providers.

ThousandEyes already offers a complicated and customizable web-dashboard and this is perhaps adequate for many customers. Nevertheless, what if you need to combine knowledge from ThousandEyes into your individual software or dashboard? Or, you wish to use completely different visualization types, and even show aggregated datasets? If that’s the case, learn on!

Extract and Combine ThousandEyes Knowledge

Extracting knowledge from ThousandEyes is simple with the intensive REST API. You possibly can get extra info on the developer reference web page. With the API you’ll be able to merely pull the historic or newest knowledge out of your ThousandEyes account to any database and visualize it in your dashboard software of selection. For example, I used a Python script to fetch and insert the info into the time-series database InfluxDB and visualized the info through the analytics & monitoring resolution Grafana. To cut back the implementation time for brand new customers, I packaged every part in a multi-container Docker software through Docker-Compose.

The very best half is, you’ll be able to strive it out inside minutes! Get the code and clone the repository from the DevNet Code Trade.

Thousand eyes

Getting historic knowledge and leveraging the Grafana dashboard

The python connector script permits to fetch even historic knowledge (the person can outline the time vary) from ThousandEyes which shall be then inserted within the database. You possibly can then already see some knowledge within the pre-created Grafana dashboard template which you’ll edit to your wants. You possibly can see some screenshots under. Moreover, you too can mix varied knowledge sources into the identical dashboard (e.g. from WAN routers or firewalls) which may provide the final single view on the well being of your property.

Thousand eyes

Grafana Dashboard Template Web page 1

Thousand eyes

Grafana Dashboard Template Web page 2

Behind the Scenes

I selected to create a Python connector script to have full management of what knowledge ought to be inserted into influxDB and to have the flexibility to fetch historic knowledge from ThousandEyes. Another can be to create a Telegraf plugin in Go to get the newest knowledge.

The info is coming from exams that are configured within the ThousandEyes dashboard. Since each check is amassing completely different knowledge, and there are numerous exams, the Python connector scripts solely help the preferred check sorts as of now – (Internet) web page load, (Internet) HTTP server, (Community) end-to-end metrics, (Community) path visualization. An important info to get the right knowledge from these exams is the testId which might be queried through the REST API as documented right here. Upon getting the ID, you’ll be able to question the info from every of those check sorts.

I hope you should use this small software to extract knowledge out of ThousandEyes! In fact, be happy to go to DevNet Code Trade to increase it!


Find out how Cisco’s ThousandEyes offers visibility and helps clear up networking issues throughout the web. DevNet Snack Minute Episode 35


We’d love to listen to what you suppose. Ask a query or go away a remark under.
And keep linked with Cisco DevNet on social!

LinkedIn | Twitter @CiscoDevNet | Fb Developer Video Channel

Share:



LEAVE A REPLY

Please enter your comment!
Please enter your name here