Profiles
Profiling is an effective way of understanding which parts of Elastic Stream are consuming the most resources.
Elastic Stream supports these profiling backends:
- Grafana Pyroscope
- Local FrameGraph
Grafana Pyroscope
To enable the Grafana Pyroscope profiling exporter:
observation:
profiles:
enable: true
server-endpoint: "http://localhost:4040"
Configuration
enable
Required, Default="false"
Enable profiling exporter.
observation:
profiles:
enable: true
server-endpoint
Optional, Default="", Format="http://<host>:<port>
"
Address of the Grafana Pyroscope to send profiling to.
observation:
profiles:
server-endpoint: ""
Local FrameGraph
To generate the FrameGraph locally, simply do not specify the server-endpoint
:
observation:
profiles:
enable: true
report-path: "/tmp"
Configuration
enable
Required, Default="false"
Enable profiling exporter.
observation:
profiles:
enable: true
report-path
Optional, Default="/tmp"
Path to save flamegraph files.
If a relative path is configured, it will be relative to current working directory; If an absolute path is configured, the absolute path is used.
observation:
profiles:
report-path: "/tmp"