ProductObservability
Continuous Profiler
See which functions use CPU, memory and lock time in production, for a whole service or for one slow request.
No credit card · Take the 2-minute root-cause tour
- runtimes tested end to end: Go, Python, Java
- 3
- profile types, from CPU time to lock wait
- 9
- profiles are kept
- 8 days
- formats: pprof and Java Flight Recorder
- 2
Overview Available
The Continuous Profiler stores the profiles your services upload about once a minute and shows them as flame graphs. Profiles arrive in pprof or Java Flight Recorder format from the profilers in the tracing libraries you already run. Each profile belongs to a service, a version and a host on the MeerStack graph, so it opens from the service page and from a single span. Meer reads traces during an investigation; the profile is one click from the span it cites.
One flame graph for a service over any time range
Pick a service and a time range. MeerStack adds up every profile in that range into one flame graph, where the width of a frame is its share of the selected profile type.
- Aggregate all profiles of a service in the range, or open one profile on its own
- Click a frame to zoom in, and reset the zoom to go back
- Highlight functions by name and see what share of the view matches
- Filter by environment, version and host
CPU, memory, locks and more
A profile upload can hold several sample types. Switch between them on the same service and time range to see where time, memory or waiting goes.
- Nine types in the console: CPU time, CPU samples, wall time, allocated memory, allocations, heap live size, lock wait, exceptions and goroutines
- Which types you see depends on what the profiler of your runtime records
- Java Flight Recorder uploads are decoded into CPU time, wall time, allocations and lock wait
A ranked list next to the graph
The top functions table lists functions by self time for the selected type. The profile list below it shows each upload with its time, duration, CPU time, host and version.
- Functions ranked by self value for the selected profile type
- Profile list with time, duration, CPU time, host and version for each upload
- Download the stored pprof of any profile to open it in your own tools
From one slow span to the code that ran
When a profiler labels its samples with span ids, MeerStack can show the samples of a single request. The span details panel in APM has a Profiles tab for this.
- Code hotspots: a flame graph built only from the samples labelled with this request
- When no samples carry the span id, the panel shows the profiles of the same service and host around the span
- The Profiles section of a service page opens the profiler with that service selected
Product views on this page are illustrations with sample data from Meer Bank, a fictional bank. Console screenshots will replace them.
Capabilities
Everything in Continuous Profiler
Aggregated flame graph
All profiles of a service in the time range, added into one graph.
Single profile view
Open one upload from the profile list and read only its samples.
Service list
Every profiled service with its languages and number of hosts. The one with the most profiles is selected first.
Facet filters
Environment, version and host, from the tags the profiler sends.
pprof download
The decompressed pprof of each profile is kept and can be downloaded.
Java Flight Recorder decoding
JFR recordings are decoded into the same stacks as pprof, so Java services use the same views.
Compressed uploads
Attachments compressed with gzip, zstd or lz4 are accepted, as are uncompressed ones.
Profiled host metering
Usage counts the distinct hosts that uploaded profiles in each hour.
How it works
From nothing to an answer
- 1
Turn the profiler on
Enable the profiler in the tracing library of a service. Profiles are uploaded about every minute through the agent you already run, or directly to the profile intake.
- 2
Open Profiles in APM
The service appears in the profiler with its languages and hosts. Pick a time range and a profile type.
- 3
Read the flame graph
Zoom into wide frames, check the top functions table, and compare versions with the version filter.
- 4
Go from a trace
From a slow span, open the Profiles tab to see the code hotspots of that request.
Specifications
What is supported
- Runtimes tested end to end
- Go and Python (pprof), Java (Java Flight Recorder)
- Upload formats
- pprof and JFR attachments in multipart uploads, current and older upload layouts
- Compression
- gzip, zstd, lz4 (frame format), or none
- Retention
- 8 days. A query covers at most 8 days.
- Largest pprof
- 32 MiB after decompression
- Stack depth
- Up to 256 frames per stack
- Profile types shown
- CPU time, CPU samples, wall time, allocated memory, allocations, heap live size, lock wait, exceptions, goroutines
- Delivery
- Hosted software (SaaS)
What it does not do yet
- End-to-end tests cover Go, Python and Java. Other runtimes that upload pprof use the same decoder but are not tested end to end yet.
- There is no side-by-side comparison of two flame graphs yet. Use the version filter to look at one version at a time.
- Code hotspots need a profiler that labels samples with span ids. Very short requests may have no samples.
- Profiles are kept for 8 days. There is no longer retention tier.
- The MeerStack Agent does not receive profiles yet. Profiles go through the agent you already run, or directly to the intake.
We would rather you read it here than find out in a trial. Anything marked “In development” on this page is not available today.
Pricing
Public, per unit
Billed annually or month to month, in USD. Team has no minimum spend. Enterprise agreements get volume discounts.
| What is billed | Unit | Annual | Month to month |
|---|---|---|---|
| Continuous Profiler | per profiled host, per month | $13.30 | $16.10 |
| APM hostIncludes 150 GB of ingested spans and 1M indexed spans (15-day retention) per host | per APM host, per month | $21.70 | $26.04 |
Questions
Asked before buying
How do profiles get in?
The profiler built into your tracing library uploads a profile about every minute. It goes through the trace port of the agent you already run, which forwards it to MeerStack, or directly to the profile intake.
Do I need a separate agent or a code change?
No separate agent. You turn the profiler on in the tracing library, usually with one setting. No code change is needed.
What is retained, and for how long?
Each uploaded profile and its decoded stacks are kept for 8 days. The original pprof can be downloaded during that time.
How is it billed?
Per profiled host per month. Usage counts the distinct hosts that uploaded profiles in each hour.
Which languages work?
Go, Python and Java are tested end to end. Go and Python upload pprof; Java uploads Java Flight Recorder files, which MeerStack decodes into the same stack format.
How does Meer use profiles?
Meer investigations read traces, logs and metrics as evidence today. Profiles are not one of its evidence sources yet, but every span Meer cites has a Profiles tab one click away.
See Continuous Profiler on your own stack.
Start a free trial with no credit card, or ask an engineer to show it to you.