Welcome!

Blog Feed Post

Support for Node.js apps on Cloud Foundry PaaS

We’re happy to announce that Dynatrace has once again broadened its support for Cloud Foundry technology-specific buildpacks. We already support buildpacks for Java, PHP and Staticfile applications, and applications that run on IBM WebSphere Liberty. As of today, Dynatrace also supports Cloud Foundry’s Node.js buildpack for monitoring Node.js applications that are deployed in Cloud Foundry PaaS environments.

Benefits of the buildpack approach

Until now, you were required to install the Dynatrace NPM module for PaaS and load the module in your Node.js application. The buildpack approach supersedes the Dynatrace NPM module for PaaS due to several improvements:

  • You no longer need to install a dependency on @dynatrace/oneagent in your project directory.
  • You’re no longer required to add the following statement as the first statement of your application:

try {
require('@dynatrace/oneagent')();
} catch(err) {
console.log(err.toString());
}

Improved OneAgent error handling

The Dynatrace integration for the Node.js buildpack allows you to successfully push your application even when the download of Dynatrace OneAgent fails (for example, because of a network connection error). You can configure OneAgent error handling via the option skiperrors that you can specify in the payload of the user-provided Dynatrace Cloud Foundry service that’s bound to your application:

cf cups dynatrace-service -p "environmentid, apitoken, skiperrors"

You’re prompted automatically to provide your environment ID, API token, and either true or false for the skiperrors flag. Please note, by default, an unsuccessful download of Dynatrace OneAgent will result in a deployment error.

Improved OneAgent update experience

  • With the buildpack approach you no longer rely on releases of the Dynatrace OneAgent dependencies for NPM.
  • The buildpack automatically fetches the latest version of Dynatrace OneAgent. If you’ve specified a default OneAgent install version for new hosts and applications in your OneAgent updates settings, the buildpack will download the defined default version of Dynatrace OneAgent.
  • Potential fixes can now also be rolled out faster and more easily than they could previously.

Start monitoring Cloud Foundry PaaS applications

If you’re eager to start using the buildpack approach instead of the Dynatrace NPM module for PaaS, we’ve got you covered. All you have to do is remove the dependency on @dynatrace/oneagent in your package.json file:

npm uninstall --save @dynatrace/oneagent

Further, you can also remove the require statement mentioned above from your application.

To set up Cloud Foundry monitoring and start using the Dynatrace integration into the Node.js buildpack you first need to link your Dynatrace account with your Cloud Foundry applications. To do this, you need to create a Dynatrace service in your Cloud Foundry environment and bind it to your Node.js application. For complete details, please see the Cloud Foundry installation guidelines.

Define Cloud Foundry service tags for multiple applications

Dynatrace recently introduced a powerful feature that automatically detects Cloud Foundry tags supplied via any user-provided Dynatrace Cloud Foundry service that’s bound to your application. This enables you to automatically organize and filter all monitored Cloud Foundry application components. The Dynatrace Node.js buildpack integration allows you to leverage not only one, but several Dynatrace Cloud Foundry service instances to define Dynatrace tags. Additionally, Dynatrace automatically detects tags that are provided via Cloud Foundry environment variables for applications. For complete details, please see How do I define tags with Cloud Foundry services? Your Cloud Foundry tags are automatically attached to monitored processes that are related to your Node.js application:

Your feedback

We’d love to hear from you. Tell us what you think about the new Dynatrace integration into the Node.js buildpack. Please share your feedback at Dynatrace Answers.

Note: Dynatrace OneAgent for Cloud Foundry PaaS is integrated with release v1.6.10 of Cloud Foundry’s Node.js buildpack and requires OneAgent version 1.129 or higher. Earlier OneAgent versions < 1.129 still require the Dynatrace NPM module for PaaS together with an earlier Node.js buildpack release < v1.6.10.

The post Support for Node.js apps on Cloud Foundry PaaS appeared first on Dynatrace blog – monitoring redefined.

Read the original blog entry...

More Stories By APM Blog

APM: It’s all about application performance, scalability, and architecture: best practices, lifecycle and DevOps, mobile and web, enterprise, user experience

Latest Stories
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.
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are repetitive and dull. Utilizing automation can improve your work life, automating away the drudgery and embracing the passion for technology that got you started in the first place. In this presentation, I'll talk about what automation is, and how to approach implementing it in the context of IT Operations. Ned will discuss keys to success in the long term and include practical real-world examples. Ge...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
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...
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...
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 ...
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.
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
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...