Welcome to Raygun APM.
Raygun’s modern Application Performance Monitoring (APM) beats traditional solutions by providing actionable, developer-level insights into server-side performance issues.
In this article, you’ll learn how to set up Raygun APM to be the most effective, plus a few key features that we recommend.
The essential setup section of this guide will help you navigate through creating the foundation of your Raygun APM setup. Once you have the basic steps completed, we recommend you follow the advanced guide to start receiving and displaying data that suits your preferences and developer workflow.
If you get stuck, or would just like the peace of mind, we offer a one-on-one guided tour of Raygun. Send this request form, and we’ll be in touch to organize a time.
Please note that Raygun APM currently only supports .NET (including Azure App Services). Other language support such as .NET Core, Node.js, Ruby on Rails, Java, Go, Python and PHP will be made available in the near future. If you have a Raygun account, follow the instructions here to register your interest in other platforms and languages. If you do not have an account, you can register you interest in this Google Form.
- Start sending data to Raygun
- Filter unwanted data using the blacklist
- Integrate your current technology stack
- Invite your team
- Set up notification preferences
- Visualize your data with Dashboards for APM
- Understand the effect of changes to your codebase over time with Apdex scores
- The Flame chart
1. Start sending data to Raygun
Setup instructions for Raygun APM will vary depending on whether you are new to Raygun or if you are a Raygun Crash Reporting or Real User Monitoring (RUM) customer. If you’re a new or existing customer, you will need to make sure you install the latest Raygun Agent on each server.
2. Filter unwanted data using the blacklist
Now you have data flowing through your application, the next step is to ensure there is no unwanted data in captured traces.
For example, the Raygun Agent by default runs in a highly detailed capture mode which can result in CPU spikes when it encounters high method call count activity. To resolve this, we recommend blacklisting these methods. Once you’ve blacklisted unwanted data, continue to monitor your CPU usage and trace data, continually making incremental improvements.
3. Integrate your current technology stack
Integrations ensure that Raygun fits in seamlessly with your development workflow. Currently, Raygun APM supports the following integrations.
With the Slack integration, you can send APM issues to a Slack channel of your choice so that you can view and respond to the performance issues surfaced by Raygun APM.
Raygun APM makes it a breeze to create or attach a Jira issue to an APM issue group directly from a Raygun APM issue page.
Raygun APM and GitHub work together so that you can synchronize issues in GitHub with an issue inside Raygun APM—making it much easier to stay on top of any errors in your application.
The link to source feature allows you to view your source code from GitHub directly in the Raygun APM trace detail page into your source code in GitHub—making issue resolution easier and faster.
Please note that the GitHub Enterprise support for Raygun APM is not yet available.
Raygun’s integration with PagerDuty ensures that no matter the time of day, your on-call team are alerted to problems that may be affecting your customers.
4. Invite your team
Instead of asking team members to take a free trial, invite team members to your Raygun account by following the instructions in the documentation. (We understand you might want to explore Raygun first so that you can skip this step until you are ready.)
5. Set up notification preferences
Set up notifications preferences to get the optimum signal to noise ratio.
Raygun APM has three notification types:
- Notify on issue
- Repeating issue
- Interaction emails
You can see the options by navigating to your name in the top-right of the Raygun window, selecting the “Manage Notifications” option and choosing “APM” from the product dropdown.
Navigating your data
Our goal at Raygun is to make the APM data actionable for developers. Therefore, we do things a little differently to some leading APM solutions. Raygun’s data is more detailed, more accurate and more customizable than legacy tools. Here are a few ways to navigate your data so you can address any issues quickly.
Instead of asking you to specify performance parameters, (i.e., send me a notification when Apdex score is below 0.70), we’ve pre-made eight performance rules based on known poor performance indicators from the software industry.
You can also add your own custom rules, using both basic and compound rules.
The Issues page
The “Issues” page in Raygun APM is a curated list of the current performance issues inside your application. These issues are created due to the violation of known performance rules. Every time a transaction (trace, method, query, or API call) violates a Raygun APM performance rule, an active issue is generated on the “Issues page”. Any subsequent sightings of the same rule violation by the same transaction will be grouped together under the same issue.
Raygun’s sampling controls are highly customizable. They provide you with full control over the rate that traces are accepted into your Raygun APM account.
Once you’ve got the basics set up, and you are navigating your data comfortably, the next step is to optimize the presentation of your data and set up some benchmarks. The best way to do this is to create Dashboards and use industry standards like Apdex score to understand your app’s performance.
1. Visualize your data with Dashboards for APM
Having the data is only part of the puzzle—you need it presented in an easy to view and customizable format. Dashboards hold customizable data tiles designed to give you an at-a-glance health check of your app.
2. Understand the effect of changes to your codebase over time with Apdex scores
Apdex is an open standard used by platforms and services to provide a human-friendly way of interpreting user satisfaction and performance. Apdex scores put a number on how happy your users are when using your service, and help make it simple to track how that may change over time.
3. The Flame chart
The Flame chart, which you can discover in the “Traces” tab, shows you the state of the stack for your code down to the nanosecond during the performance profile.
Maintaining your Raygun APM account
Once you have set up your account, it’s important to ensure you continue to receive vital data about your application automatically. That’s why Raygun includes an overage allowance.
Explanation of overages
To ensure Raygun processes your data even when you’ve exceeded your monthly trace allocation, we have overages.
You can check your overage limit at any time by heading to your “Overages” tab in the plan settings (you will need to be a plan owner to access this functionality.)
Are you now a pro user of Raygun APM? You can consider expanding your monitoring capability with the Raygun Platform and get in touch with us with any suggestions.
Stay up to date with the Raygun agent
We update the Raygun Agent frequently to ensure stability and performance of Raygun APM. When there is an update available, you will see a banner appear in your app advising of the new Agent. Follow the link in the banner to upgrade to the latest Agent.
Updates will also be posted automatically on the “Agent” page in the documentation.
The Raygun Platform
Raygun APM, Crash Reporting, and Real User Monitoring work together to give a full-stack understanding of the health of your application. Consider a Platform Plan to complete your monitoring suite.
Raygun Crash Reporting enables you to diagnose and resolve issues users experience. Pinpoint root causes, without having to rely on logs, support tickets, and incomplete information.
Raygun Real User Monitoring ensures users have fast and reliable user experiences while using your web and mobile apps. Improve NPS, retention and customer satisfaction.
Although Raygun APM is only currently available for .NET and .NET for Azure App Services, we’re continuing to build our support for other languages, like Node.js, Ruby on Rails, Java, Go, Python, and PHP.
Suggest features in our forums
Is there something missing from Raygun APM that would make your life easier? Suggest what you need in our feature request forums. We read every one, and if we receive enough requests, we’ll get to work building it for you.
Are you still unsure about some of your plan settings or how to find features? Ask for a walkthrough of how best to set up your Raygun plan.