ObserveNow
...
Integrations
Application Profiling
Language Specific Profiling
observenow profiler allows you to instrument applications with language specific sdks to allow you to bring in profiling information to allow easier identification of code hotspots and provide more visibility into cpu/memory usage of your code to instrument your applications, you can use the following guide depending on your application language to use any of these instrumentations, ensure you have observenow profiler enabled for your stack login to the profiling server with your credentials, and then navigate to settings > api keys > add api key and create a new api key with following config name appprofilingkey role agent valid for 0 # no expiry make sure you copy the api key created as we'll use this key below java instrumentation download the latest version of pyroscope jar from pyroscope release page https //github com/pyroscope io/pyroscope java/releases set environment variables and then use the pyroscope jar you downloaded as a javaagent to start profiling your application export pyroscope format="jfr" export pyroscope profiler alloc=0 export pyroscope application name=java instrumentation export pyroscope server address=\<add server endpoint here> export pyroscope auth token=\<add apikey here> java javaagent\ pyroscope jar jar your application jar nodejs instrumentation install the nodejs sdk using npm install @pyroscope/nodejs you can then initialize profiling using the following block of code const pyroscope = require('@pyroscope/nodejs'); pyroscope init({ serveraddress '\<add server endpoint here>', authtoken \<add apikey here>, appname 'nodejsappname' }); pyroscope start() for more configuration options, you can use the pyroscope nodejs sdk repo https //github com/pyroscope io/pyroscope nodejs/ python instrumentation install the python sdk using pip install pyroscope io then you can initialize profiling using the following block of code import pyroscope pyroscope configure( application name = "my python app", server address = "\<add server endpoint here>", auth token = "\<add apikey here>" ) for more configuration options, you can reference the pyroscope python sdk https //github com/pyroscope io/pyroscope rs/tree/main/pyroscope ffi/python