Enable diagnostics

    The grafana-server can be started with the arguments -profile to enable profiling, -profile-addr to override the default HTTP address (), and -profile-port to override the default HTTP port (6060) where the pprof debugging endpoints are available. For example:

    Note that debugging endpoints are served on a different port than the Grafana HTTP server.

    Refer to for more information about how to collect and analyze profiling data.

    Use tracing

    The grafana-server can be started with the arguments -tracing to enable tracing and -tracing-file to override the default trace file () where trace result is written to. For example:

    View the trace in a web browser (Go required to be installed):

    For more information about how to analyze trace files, refer to .