Welcome!

Blog Feed Post

Catchpoint Integration: Node-RED

One of the factors that make Catchpoint so flexible is the three different APIs available for use. This includes the Test Data Webhook and Alert Webhook for pushing data out to a public endpoint, and the REST API for GET and POST requests.

As a Performance Engineer, I like to find new and innovative ways to use the APIs. Recently, I discovered a product called Node-RED. Node-RED is an open source flow-based programming tool. It comes standard with any full installation of Raspbian on your Raspberry Pi (which is where I discovered it).

It soon dawned on me that I should be able to use Node-RED in conjunction with the Catchpoint APIs, but in what capacity? After sifting through the numerous community-generated ‘nodes,’ I stumbled upon the node-red-contrib-web-worldmap, a world map for plotting ‘things’ on. Light bulb moment! How about plotting live test data from Catchpoint? The idea was to place markers on the map and color-code them according to the performance metric value returned.

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w, http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 768w" sizes="(max-width: 795px) 100vw, 795px" />

The flow process was simple. Create a public endpoint to receive the Test Data Webhook, parse the data, and extract what was needed to inject into the world map node.

By default, Node-RED, is accessible via port 1880, so I opened up my router to allow requests to port 1880 to forward to my Raspberry Pi.

The first step is to create an endpoint using the ‘http in’ node and define a URL:

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w" sizes="(max-width: 756px) 100vw, 756px" />

I defined the URL to be /data, which meant my public endpoint would become http://<raspberrypi>:1880/data. This is the URL to use in the Test Data Webhook configuration in the Catchpoint portal.

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w" sizes="(max-width: 733px) 100vw, 733px" />

The only configuration needed in the Catchpoint portal was:

  1. Enable the Test Data Webhook
  2. Enter the endpoint URL as above
  3. Select JSON as the payload format
  4. Enter e-mail address for failure alerts

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w, http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 768w" sizes="(max-width: 821px) 100vw, 821px" />

Node-RED: attaching a ‘debug’ node to the ‘http in’ node allowed me to check that I was receiving the JSON payload.

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w, http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 768w" sizes="(max-width: 798px) 100vw, 798px" />

Next, a ‘function’ node is required to parse the incoming JSON and generate the payload that is required by the ‘World Map’ node. It is also important to note that you need to add an ‘http response’ node to send a 200 response, as the Test Data Webhook expects this.

http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 300w, http://blog.catchpoint.com/wp-content/uploads/2017/12/Screen-Shot-2017-1... 768w" sizes="(max-width: 815px) 100vw, 815px" />

The final step is to add the ‘World Map’ node and set up the properties, like how long the markers live for, zoom level, etc.

Check out our integrations page to learn more about all of the integrations we offer.

 

 

The post Catchpoint Integration: Node-RED appeared first on Catchpoint's Blog - Web Performance Monitoring.

Read the original blog entry...

More Stories By Mehdi Daoudi

Catchpoint radically transforms the way businesses manage, monitor, and test the performance of online applications. Truly understand and improve user experience with clear visibility into complex, distributed online systems.

Founded in 2008 by four DoubleClick / Google executives with a passion for speed, reliability and overall better online experiences, Catchpoint has now become the most innovative provider of web performance testing and monitoring solutions. We are a team with expertise in designing, building, operating, scaling and monitoring highly transactional Internet services used by thousands of companies and impacting the experience of millions of users. Catchpoint is funded by top-tier venture capital firm, Battery Ventures, which has invested in category leaders such as Akamai, Omniture (Adobe Systems), Optimizely, Tealium, BazaarVoice, Marketo and many more.

Latest Stories
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
Whenever a new technology hits the high points of hype, everyone starts talking about it like it will solve all their business problems. Blockchain is one of those technologies. According to Gartner's latest report on the hype cycle of emerging technologies, blockchain has just passed the peak of their hype cycle curve. If you read the news articles about it, one would think it has taken over the technology world. No disruptive technology is without its challenges and potential impediments t...
CloudEXPO New York 2018, colocated with DevOpsSUMMIT and DXWorldEXPO New York 2018 will be held November 12-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI and Machine Learning to one location.
DXWorldEXPO LLC announced today that Nutanix has been named "Platinum Sponsor" of CloudEXPO | DevOpsSUMMIT | DXWorldEXPO New York, which will take place November 12-13, 2018 in New York City. Nutanix makes infrastructure invisible, elevating IT to focus on the applications and services that power their business. The Nutanix Enterprise Cloud Platform blends web-scale engineering and consumer-grade design to natively converge server, storage, virtualization and networking into a resilient, softwar...
Hackers took three days to identify and exploit a known vulnerability in Equifax’s web applications. I will share new data that reveals why three days (at most) is the new normal for DevSecOps teams to move new business /security requirements from design into production. This session aims to enlighten DevOps teams, security and development professionals by sharing results from the 4th annual State of the Software Supply Chain Report -- a blend of public and proprietary data with expert researc...
So the dumpster is on fire. Again. The site's down. Your boss's face is an ever-deepening purple. And you begin debating whether you should join the #incident channel or call an ambulance to deal with his impending stroke. Yes, we know this is a developer's fault. There's plenty of time for blame later. Postmortems have a macabre name because they were once intended to be Viking-like funerals for someone's job. But we're civilized now. Sort of. So we call them post-incident reviews. Fires are ne...
The digital transformation is real! To adapt, IT professionals need to transform their own skillset to become more multi-dimensional by gaining both depth and breadth of a wide variety of knowledge and competencies. Historically, while IT has been built on a foundation of specialty (or "I" shaped) silos, the DevOps principle of "shifting left" is opening up opportunities for developers, operational staff, security and others to grow their skills portfolio, advance their careers and become "T"-sh...
This session will provide an introduction to Cloud driven quality and transformation and highlight the key features that comprise it. A perspective on the cloud transformation lifecycle, transformation levers, and transformation framework will be shared. At Cognizant, we have developed a transformation strategy to enable the migration of business critical workloads to cloud environments. The strategy encompasses a set of transformation levers across the cloud transformation lifecycle to enhance ...
Authorization of web applications developed in the cloud is a fundamental problem for security, yet companies often build solutions from scratch, which is error prone and impedes time to market. This talk shows developers how they can (instead) build on-top of community-owned projects and frameworks for better security.Whether you build software for enterprises, mobile, or internal microservices, security is important. Standards like SAML, OIDC, and SPIFFE help you solve identity and authenticat...
Lori MacVittie is a subject matter expert on emerging technology responsible for outbound evangelism across F5's entire product suite. MacVittie has extensive development and technical architecture experience in both high-tech and enterprise organizations, in addition to network and systems administration expertise. Prior to joining F5, MacVittie was an award-winning technology editor at Network Computing Magazine where she evaluated and tested application-focused technologies including app secu...
Mike is managing director in Deloitte Consulting LLP's Cloud practice, responsible for helping clients implement cloud strategy and architecture to drive digital transformation. Beyond his technology experience, Mike brings an insightful understanding of how to address the organizational change, process improvement, and talent management challenges associated with digital transformation. Mike brings more than 30 years of experience in software development and architecture to his role. Most recen...
Having been in the web hosting industry since 2002, dhosting has gained a great deal of experience while working on a wide range of projects. This experience has enabled the company to develop our amazing new product, which they are now excited to present! Among dHosting's greatest achievements, they can include the development of their own hosting panel, the building of their fully redundant server system, and the creation of dhHosting's unique product, Dynamic Edge.