Correlate database queries with Java traces
You can now view database query correlation with Splunk APM traces on the Trace Analyzer or on the Query details pane in the Database Monitoring Overview.
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 NotesMonitor business application performance for cloud environments and IT infrastructure.
Release NotesMonitor business application performance for cloud environments and IT infrastructure.
Release NotesAn on-premises solution using AppDynamics On-Premises or Appdynamics Virtual Appliance (self hosted).
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.
This configuration must include the environment variable OTEL_INSTRUMENTATION_SPLUNK_JDBC_ENABLED set to true.
Example of setting the environment variable at the command line:
export OTEL_INSTRUMENTATION_SPLUNK_JDBC_ENABLED=true
Example Kubernetes deployment snippet:
apiVersion: apps/v1
kind: Deployment
spec:
selector:
matchLabels:
app: your-application
template:
spec:
containers:
- name: myapp
env:
- ...
- name: OTEL_INSTRUMENTATION_SPLUNK_JDBC_ENABLED
value: "true"
-javaagent option to enable instrumentation.
java -javaagent:/usr/lib/splunk-instrumentation/splunk-otel-javaagent.jar -jar data-ecosystem-java-app-1.0-SNAPSHOT.jar
You can now view database query correlation with Splunk APM traces on the Trace Analyzer or on the Query details pane in the Database Monitoring Overview.