← Back
Openresty-Xray

Install OpenResty XRay’s Agents on Kubernetes cluster

  • Logging in to the Console
  • Installing the Agent on Kubernetes cluster
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent on Kubernetes cluster
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Why Your Rust Process Has High Disk I/O (and How to Find the Cause)

  • Identifying the Rust process with high disk I/O
  • Tracing the hottest Rust disk write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions
  • Identifying the Rust process with high disk I/O
  • Tracing the hottest Rust disk write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions

Introduction to OpenResty XRay Mobile Apps

  • Download and install OpenResty XRay for Android
  • Sign into OpenResty XRay
  • Automatic analysis report
  • View the performance chart data on the dashboard page
  • Guided analysis feature
  • What is OpenResty XRay
  • Download and install OpenResty XRay for Android
  • Sign into OpenResty XRay
  • Automatic analysis report
  • View the performance chart data on the dashboard page
  • Guided analysis feature
  • What is OpenResty XRay

PHP Memory Profiler: Locate the Largest Memory Objects in a Live PHP Process

  • Symptom: a PHP process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest PHP objects
  • Trace the largest object back to its source line
  • Monitor PHP process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay
  • Symptom: a PHP process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest PHP objects
  • Trace the largest object back to its source line
  • Monitor PHP process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay

Use C++ to Dynamic-Trace C++ Applications

  • Setting Up the Target C++ Program
  • Crafting the C++ (or Y++) Analyzer
  • Operationalizing the Target and Analyzer
  • Advancing Support for Complex C++ Applications
  • About the Debug Symbols
Photo by Yichun Zhang
  • Setting Up the Target C++ Program
  • Crafting the C++ (or Y++) Analyzer
  • Operationalizing the Target and Analyzer
  • Advancing Support for Complex C++ Applications
  • About the Debug Symbols

Nginx 'No Debugging Symbols Found'? Rebuild Them Automatically with OpenResty XRay

  • Confirming Nginx Is Stripped and Debug Symbols Are Missing
  • Rebuild Missing Nginx Debug Symbols Automatically — No Recompile Needed
  • Continuous Analysis: Daily and Weekly Insights Reports
  • FAQ: nginx-dbg, recompiling, and profiling stripped binaries
  • Confirming Nginx Is Stripped and Debug Symbols Are Missing
  • Rebuild Missing Nginx Debug Symbols Automatically — No Recompile Needed
  • Continuous Analysis: Daily and Weekly Insights Reports
  • FAQ: nginx-dbg, recompiling, and profiling stripped binaries

Automatic Core Dump Analysis (using OpenResty XRay)

  • Locate the core dump file from a crashed OpenResty/Nginx worker
  • Start automatic (guided) core dump analysis in OpenResty XRay
  • Read the signal, CPU registers, and C backtrace of the crash
  • Follow the Lua backtrace to the exact crashing line
  • Automatic Insights reports for online core dumps
  • Locate the core dump file from a crashed OpenResty/Nginx worker
  • Start automatic (guided) core dump analysis in OpenResty XRay
  • Read the signal, CPU registers, and C backtrace of the crash
  • Follow the Lua backtrace to the exact crashing line
  • Automatic Insights reports for online core dumps

Install OpenResty XRay’s Agents on Amazon Linux via Package Bundles

  • Logging in to the Console
  • Installing the Agent via Bundle Packages
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent via Bundle Packages
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Debugging High Disk I/O in Go Services on Linux

  • Identifying the Go process with high disk I/O
  • Tracing Go disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions
  • Identifying the Go process with high disk I/O
  • Tracing Go disk read and write code paths with flame graphs
  • Automatic disk I/O analysis and reports
  • What is OpenResty XRay
  • Frequently Asked Questions

How CPU Time is Spent inside Envoy Servers (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive C++ code paths inside Envoy Servers
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive C++ code paths inside Envoy Servers
  • Automatic analysis and reports
  • What is OpenResty XRay

Pinpointing the hottest PHP code paths with high CPU usage (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the CPU-hottest PHP code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the CPU-hottest PHP code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU Time is Spent inside PHP Laravel Apps (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the Guidede Analysis Feature of OpenResty XRay to Analyze CPU Distribution in Laravel Application
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the Guidede Analysis Feature of OpenResty XRay to Analyze CPU Distribution in Laravel Application
  • Automatic analysis and reports
  • What is OpenResty XRay

Find Blocking Perl Code Paths Holding back CPU Usage (Using OpenResty XRay)

  • Problem: low CPU usage
  • Use the guided analysis feature of OpenResty XRay to spot the blocking Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • About The Author
  • Problem: low CPU usage
  • Use the guided analysis feature of OpenResty XRay to spot the blocking Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • About The Author

Pinpointing CPU-Hottest Go Code Paths Inside Prometheus (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the CPU-hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the CPU-hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

How to Diagnose 504 Gateway Timeout Errors in OpenResty & Nginx

  • Confirm HTTP 504 gateway timeout errors in the OpenResty/Nginx access log
  • Diagnose the 504 root cause with OpenResty XRay Guided Analysis
  • Slow upstream, slow network link, or a too-short timeout setting
  • Automatic root-cause reports on the Insights page
  • Confirm HTTP 504 gateway timeout errors in the OpenResty/Nginx access log
  • Diagnose the 504 root cause with OpenResty XRay Guided Analysis
  • Slow upstream, slow network link, or a too-short timeout setting
  • Automatic root-cause reports on the Insights page

How CPU Time is Spent inside Go’s CockroachDB (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Performance Overhead of OpenResty XRay when Tracing Perl Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Locate the Largest Memory Objects in a Live Perl Process

  • Symptom: a Perl process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest Perl objects
  • Trace the largest object back to its source file
  • Monitor Perl process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay
  • Symptom: a Perl process using high memory in top
  • Profile the process with OpenResty XRay guided analysis to find the largest Perl objects
  • Trace the largest object back to its source file
  • Monitor Perl process memory automatically with Insights reports
  • FAQ
  • What is OpenResty XRay

Measuring the Performance Overhead of OpenResty XRay When Profiling Go Applications

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Install OpenResty XRay’s Agents on Ubuntu via Deb Packages

  • Logging in to the Console
  • Installing the Agent via Deb Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent via Deb Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

Performance Impact of OpenResty XRay when Tracing PHP Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Performance Impact of OpenResty XRay when Tracing Python Apps

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Tested in Production: The Performance Impact of OpenResty XRay When Tracing Rust Applications

  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay
  • Process Performance Before Running Analysis
  • Performance Impact When the Analyzer is Running
  • Impact Measurement on Throughput and Latency
  • What is OpenResty XRay

Dynamic-Tracing Custom Go Programs with Custom Ylang Analyzers (using OpenResty XRay)

  • Insert two key-value Pairs into a Go Variable
  • Write a Customize Ylang Analyzer to Dynamically Trace the Go program
  • Test the Results
  • What is OpenResty XRay
  • Insert two key-value Pairs into a Go Variable
  • Write a Customize Ylang Analyzer to Dynamically Trace the Go program
  • Test the Results
  • What is OpenResty XRay

Django Memory Profiler: Analyze Object-Level Memory Usage in a Live App

  • Spot a high-memory Django process with ps
  • Profile the Django app’s memory usage with Guided Analysis
  • Read the flame graph: which Python module uses the most memory
  • Monitor Django memory usage automatically with Insights
  • What is OpenResty XRay
  • Spot a high-memory Django process with ps
  • Profile the Django app’s memory usage with Guided Analysis
  • Read the flame graph: which Python module uses the most memory
  • Monitor Django memory usage automatically with Insights
  • What is OpenResty XRay

Install OpenResty XRay’s Agents on CentOS via RPM Packages

  • Logging in to the Console
  • Installing the Agent via RPM Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay
  • Logging in to the Console
  • Installing the Agent via RPM Packages
  • Checking the Agent Status and Logs
  • Configuring and Detecting Applications
  • Initiating Analyzers and Viewing Insights
  • Install Another Agent
  • What is OpenResty XRay

How CPU time is spent inside Rust’s Sled library (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Rust code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the most CPU-intensive Rust code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Python Memory Profiler: Find the Largest Objects Eating RAM Without Code Changes

  • Find which Python process is using the most memory
  • Profile Python memory with guided analysis: find the largest objects and their modules
  • Automatically monitor Python memory usage with scheduled reports
  • What is OpenResty XRay
  • Find which Python process is using the most memory
  • Profile Python memory with guided analysis: find the largest objects and their modules
  • Automatically monitor Python memory usage with scheduled reports
  • What is OpenResty XRay

How CPU time is spent inside Go's etcd server (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

How CPU time is spent inside llama.cpp + LLaMA2 (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest C++ code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest C++ code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Pinpointing the hottest Go code paths with high CPU usage (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Go code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Pinpointing the blocking Python code paths (using OpenResty XRay)

  • Problem: low CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the blocking Python code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: low CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the blocking Python code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Pinpointing hottest Perl code paths (using OpenResty XRay)

  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay
  • Problem: high CPU usage
  • Use the guidede analysis feature of OpenResty XRay to spot the hottest Perl code paths
  • Automatic analysis and reports
  • What is OpenResty XRay

Find Leaked Lua Tables: the registry / _LOADED (package.loaded) Reference Path in OpenResty XRay

  • How LuaJIT manages memory
  • OpenResty XRay’s command-line tools
  • A leaking Lua table example
  • Breaking down memory by LuaJIT GC object type
  • Reading the lj-gco-ref flame graph: registry, _LOADED, package.loaded
  • Fully-automated Lua memory leak analysis
  • How LuaJIT manages memory
  • OpenResty XRay’s command-line tools
  • A leaking Lua table example
  • Breaking down memory by LuaJIT GC object type
  • Reading the lj-gco-ref flame graph: registry, _LOADED, package.loaded
  • Fully-automated Lua memory leak analysis

Real-Time Request Counting against Nginx Processes via YSQL

  • How to install the run-ysql tool
  • Count total requests served in real time
  • Filter out specific requests
  • Using YSQL in the Web Console
  • True non-invasive tracing
Photo by Yichun Zhang
  • How to install the run-ysql tool
  • Count total requests served in real time
  • Filter out specific requests
  • Using YSQL in the Web Console
  • True non-invasive tracing

How to deploy the on-premises version of OpenResty XRay on Microsoft's Azure cloud

  • Create a subscription and a resource group
  • Create the Azure Kubernetes service
  • Prepare the environment variables
  • Log in to Azure from the command line
  • Create the namespace and secret for Kubernetes
  • Create the Azure Disk
  • Update the configuration file for the persistent volume
  • Update the Kubernetes configuration file
  • Create the persistent volume
  • Deploy the Kubernetes service
  • Configure the application gateway
  • Create a subscription and a resource group
  • Create the Azure Kubernetes service
  • Prepare the environment variables
  • Log in to Azure from the command line
  • Create the namespace and secret for Kubernetes
  • Create the Azure Disk
  • Update the configuration file for the persistent volume
  • Update the Kubernetes configuration file
  • Create the persistent volume
  • Deploy the Kubernetes service
  • Configure the application gateway

The Wonderland of Dynamic Tracing (Part 1 of 3)

  • Dynamic Tracing
  • What It Is
  • Too Good to be True?
  • How it Works
  • Still Having Doubts?
  • The Advantages of Dynamic Tracing
  • DTrace
  • SystemTap
  • DTrace and SystemTap
  • Applications of SystemTap in Production
Photo by Philip Brown
  • Dynamic Tracing
  • What It Is
  • Too Good to be True?
  • How it Works
  • Still Having Doubts?
  • The Advantages of Dynamic Tracing
  • DTrace
  • SystemTap
  • DTrace and SystemTap
  • Applications of SystemTap in Production
Contact us

Love to hear from you, Get in touch 👋

Message was sent successfully!

Our Team will get back to you within 24 hours.
x