profiler

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright (c) Tobias Schäfer. All rights reserved. Licensed under the MIT License, see LICENSE file in the project root for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiler

type Profiler struct {
	Instance *pyroscope.Profiler
	Config   pyroscope.Config
}

Profiler is a wrapper around the pyroscope profiler.

func NewProfiler

func NewProfiler(address string) *Profiler

NewProfiler creates a new Profiler instance with the given server address.

func (*Profiler) Start

func (p *Profiler) Start() error

Start starts the profiler.

func (*Profiler) Stop

func (p *Profiler) Stop() error

Stop stops the profiler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL