Generate Pre-populated Call Graphs (C++ Only)
To generate a pre-populated call graph:
Gain operational intelligence by collecting, indexing, and visualizing data using a powerful on-premises engine for actionable insights.
Release NotesCollect, index, and visualize your data in the cloud for better operational intelligence.
Release NotesDiscover, share, and install apps and add-ons with the Splunk community on Splunkbase. Publish your own or add others to your Splunk platform instance.
Gain operational intelligence by collecting, indexing, and visualizing data using a powerful on-premises engine for actionable insights.
Release NotesStreamline your security operations with a SOAR system that integrates orchestration, playbook automation, and case management to enhance threat response.
Prevent disruptions and optimize operations when you monitor and analyze your IT service with predictive analytics and machine learning.
Release NotesCollect, index, and visualize your data in the cloud for better operational intelligence.
Release NotesGain end-to-end visibility, troubleshoot in real-time, and optimize performance across infrastructure, applications, and user interfaces.
Release NotesCloud-based application performance monitoring with AI-powered insights for hybrid and multi-cloud environments.
Release NotesSelf-hosted application observability for regulated and sensitive environments.
Release NotesPre-packaged, self-contained application monitoring solution based on modern Kubernetes architecture.
Release NotesBuild and deliver apps and integrations with SDKs, APIs and tools.
Access and share apps and add-ons with the Splunk community on Splunkbase. Publish your own apps, or download and install others on your Splunk platform instance.
Explore information on best practices, connect with community, or contact support.
To generate a pre-populated call graph:
bt: The business transaction.class_name: The name of the class that contains the root of the call graph.method_name: The name of the method that represents the root of the call graph.file_path: The file path to the class.line_number: The line number of the method.time_msec: The time taken by this frame (method) in milliseconds.frame_type: The type of the frame (the language for the method). Currently, APPD_FRAME_TYPE_CPP is the only option.appd::sdk::CallGraph callGraph(bt, "Class1", "main", "/src/file1.cc", 276, 100, APPD_FRAME_TYPE_CPP);
add_child on the root and on any of the added children:
callGraph.root() .add_child("Class2", "method1", "/src/file2.cc"), 101, 40, APPD_FRAME_TYPE_CPP) .add_child("Class2", "method2", "/src/file2.cc"), 523, 30, APPD_FRAME_TYPE_CPP); auto& cge1 = callGraph.root() .add_child("Class3", "method1", "/src/file3.cc"), 27, 30, APPD_FRAME_TYPE_CPP); cge1.add_child("Class3", "method2", "/src/file3.cc"), 430, 15, APPD_FRAME_TYPE_CPP);
add_to_snapshot on the call graph.
callGraph.add_to_snapshot();