Community Blog
Get the latest updates on the Splunk Community, including member experiences, product education, events, and more!

Splunk Decoded: What’s the difference between AlwaysOn Profiling and Call Graphs?

CaitlinHalla
Splunk Employee
Splunk Employee

It’s 3 pm on a Friday, and your application is running slower than it should be. Support tickets are coming in and you want to solve the issue fast – for your users and for your weekend. With so many capabilities for monitoring, troubleshooting, and performance analysis, which tool will give you the insight you need right now?

Thankfully, Splunk Observability Cloud quickly gives you the complete visibility you need to optimize performance. AlwaysOn Profiling helps identify bottlenecks before they become incidents or support tickets. And now, Call Graphs – the battle-tested feature from Splunk AppDynamics – helps troubleshoot in-progress performance issues for faster resolution. But which one do you use and when? Let’s talk it out.

 

AlwaysOn Profiling: Your Early Warning System

AlwaysOn Profiling continuously samples your application’s call stacks, taking snapshots every 10 seconds (by default) for CPU and periodically for memory. These get aggregated into flame graphs where the width of each box shows how much time your code spends in each method:

CaitlinHalla_0-1758905163319.png

AlwaysOn capabilities are perfect for:

  • Finding memory leaks before they cause outages
  • Identifying inefficient algorithms or code paths
  • Catching performance regressions after deployments
  • Pre-deployment performance testing

Real-World Example

Your application has been gradually getting slower. No single transaction is terrible, but everything just seems a bit sluggish. You open profiling and immediately see 40% of CPU time is spent in a JSON serialization method that someone “optimized” last month. Mystery solved in minutes, not hours.

Performance Impact

AlwaysOn Profiling is not on by default and requires explicitly enabled. This intentional setup ensures you’re aware of the additional monitoring.

While AlwaysOn Profiling is designed for continuous operation with low overhead (typically single-digit percentage impact), it’s still sampling your application’s call stacks every 10 seconds. Test out the impacts in your own development environment to understand the specific impacts before launching it in Production.

 

Call Graphs: Your Incident Detective

Call Graphs show you the exact method-by-method execution path of individual requests. Unlike profiling’s aggregate view, this is transaction-specific detail.  You see the exact sequence of method calls, how long each took, and which external calls were made.

CaitlinHalla_1-1758905163328.png

Call Graph capabilities are perfect for:

  • Investigating specific slow transactions
  • Quick incident triage and team routing
  • Root cause analysis of intermittent issues
  • Validating that fixes actually worked
  • Quickly identifying which teams are involved in incidents without needing to read any code (a win for Operations teams)

Real-World Example

A customer reports checkout took 45 seconds. You find their trace, pull up the Call Graph, and there it is: a third-party payment API is taking 43 seconds to respond. You see the exact method that made the call. Ticket routed to the fixing team, case closed.

Performance Impact

Like AlwaysOn Profiling, Call Graphs require explicit configuration in your APM setup.

Call Graphs capture detailed method-level timing for each traced request, which can add overhead if applied to 100% of transactions. The default 5% sampling rate strikes a balance between diagnostic capability and performance impact and typically captures enough data for troubleshooting while keeping overhead minimal.

Once configured, you can tune method execution thresholds (default filters out methods under 10ms) and exclude certain packages to reduce overhead in your specific environment and focus on the bottlenecks that are meaningful to you.

 

Which Tool When?

Scenario

Your Go-To Tool

Why?

“Our app has been getting slower over the past week”

AlwaysOn Profiling

Shows trends over time

“This customer can’t complete checkout”

Call Graphs

Traces exact transaction

“We need to optimize before Black Friday”

AlwaysOn Profiling

Proactively identifies bottlenecks

“The CEO just hit a 30-second page load”

Call Graphs

Immediate transaction detail

“Did our deployment slow things down?”

AlwaysOn Profiling

Compares across deployments

 

Better Together

Even though these two tools might sound similar, they really work better in conjunction. When investigating an issue, here’s a typical flow that takes advantage of the capabilities provided by both AlwaysOn Profiling and Call Graphs:

  1. Alert fires: response time degraded by 50%
  2. Check profiling: is this affecting all requests or specific operations?
  3. Find patterns: profiling shows increased CPU in image processing methods
  4. Drill down with Call graphs: see exactly which image processing operations are slow
  5. Root cause: new high-resolution images uploaded by the Marketing team exceeded processing limits

 

Wrap Up

While they might sound similar on paper, AlwaysOn Profiling prevents problems by continuously monitoring performance trends and catching regressions early – it’s a proactive tool. Call graphs solve problems by showing exactly what happened in slow transactions – it’s a reactive tool. You definitely need both to prevent fires before they start and to quickly put them out after they do.  

Ready to level up your performance game? Try Splunk Observability Cloud (including AlwaysOn Profiling and Call Graphs) free for 14 days.

 

Resources

Contributors
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...