Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grafana/pyroscope
/ functions
Functions
14,181 in github.com/grafana/pyroscope
⨍
Functions
14,181
◇
Types & classes
2,537
↳
Endpoints
13
↓ 1,480 callers
Method
Equal
(other Instance)
pkg/util/servicediscovery/dns.go:30
↓ 734 callers
Method
Get
Get settings for a tenant.
pkg/settings/store.go:11
↓ 624 callers
Method
Run
()
pkg/pyroscope/pyroscope.go:561
↓ 566 callers
Method
Add
(labels []*typesv1.LabelPair, fp model.Fingerprint)
pkg/phlaredb/tsdb/index.go:47
↓ 484 callers
Method
Log
(keyvals ...interface{})
pkg/test/logger.go:20
↓ 366 callers
Method
Return
(_a0 io.ReadCloser, _a1 error)
pkg/test/mocks/mockobjstore/mock_bucket.go:284
↓ 337 callers
Function
ULID
(i int)
pkg/compactor/shard_aware_deduplicate_filter_test.go:23
↓ 314 callers
Method
Error
()
pkg/validation/validate.go:421
↓ 271 callers
Method
Err
Err returns the last error of the iterator.
pkg/iter/iter.go:20
↓ 271 callers
Method
Skip
Skip rows at the root-level.
pkg/phlaredb/query/iters.go:302
↓ 265 callers
Method
Len
()
pkg/segmentwriter/memdb/index/index.go:1087
↓ 230 callers
Method
Equal
(x Partition)
pkg/metastore/index/store/partition.go:24
↓ 219 callers
Method
Wrap
Wrap implements Middleware
pkg/util/http.go:261
↓ 218 callers
Method
Set
Set a setting for a tenant.
pkg/settings/store.go:14
↓ 205 callers
Method
String
()
pkg/phlaredb/block/metadata.go:190
↓ 194 callers
Method
At
At returns the value at the current iterator position.
pkg/iter/iter.go:17
↓ 172 callers
Method
WithLabelValues
(lvs ...string)
pkg/phlaredb/block/fetcher.go:122
↓ 171 callers
Method
SizeVT
()
pkg/api/connect/codec.go:46
↓ 170 callers
Method
Next
Next advances the iterator and returns true if another value was found.
pkg/iter/iter.go:14
↓ 170 callers
Method
With
With works as GetMetricWith, but panics where GetMetricWithLabels would have returned an error. Not returning an error allows shortcuts like myVec.W
pkg/util/extprom/tx_gauge.go:85
↓ 169 callers
Method
Close
()
pkg/iter/iter.go:22
↓ 165 callers
Method
MarshalToSizedBufferVT
([]byte)
pkg/api/connect/codec.go:45
↓ 163 callers
Method
UnmarshalVT
([]byte)
pkg/api/connect/codec.go:47
↓ 145 callers
Method
AddSamples
AddSamples adds a collection of stack trace samples to the resolver. Samples can be added to partitions concurrently.
pkg/phlaredb/symdb/resolver.go:139
↓ 141 callers
Method
Close
()
pkg/phlaredb/head.go:51
↓ 135 callers
Method
Add
(ts int64, point *TimeSeriesValue)
pkg/model/time_series.go:66
↓ 131 callers
Method
Done
Done waits until all captured output has been written to buffers, and then returns the buffers.
pkg/test/capture.go:60
↓ 131 callers
Method
Wait
(n int)
pkg/util/ratelimit/ratelimit.go:25
↓ 129 callers
Method
Marshal
Implements proto.Marshaler.
pkg/api/version/version.go:63
↓ 128 callers
Method
get
Order a car within a certain radius.
examples/language-sdk-instrumentation/python/rideshare/django/app/ride_share/views/car/car.py:14
↓ 127 callers
Method
Slice
Slice returns a slice of the values in the stack. The top value of the stack is at the beginning of the slice.
pkg/model/stack.go:50
↓ 126 callers
Method
Reset
()
pkg/og/storage/tree/tree.go:284
↓ 123 callers
Method
ForStacktraceString
(stacktraces ...string)
pkg/pprof/testhelper/profile_builder.go:167
↓ 122 callers
Method
Inc
(i int64)
pkg/usagestats/stats.go:522
↓ 117 callers
Method
Log
(keyvals ...interface{})
pkg/compactor/compactor_test.go:1670
↓ 116 callers
Method
Labels
()
pkg/phlaredb/block_querier.go:576
↓ 113 callers
Method
Handle
(context.Context, *httpgrpc.HTTPRequest)
pkg/querier/worker/worker.go:59
↓ 107 callers
Method
Error
()
pkg/metastore/fsm/fsm.go:203
↓ 106 callers
Function
run
()
public/app/hooks/useAppNames.ts:20
↓ 104 callers
Method
Hash
Hash returns a hash value for the label set.
pkg/model/labels.go:101
↓ 95 callers
Method
Unmarshal
Implements proto.Unmarshaler.
pkg/api/version/version.go:58
↓ 92 callers
Method
Context
()
pkg/querier/worker/scheduler_processor_test.go:199
↓ 92 callers
Method
Sort
([]Profile)
pkg/phlaredb/block_querier.go:584
↓ 88 callers
Function
NewSliceSeekIterator
(s []A)
pkg/iter/iter.go:98
↓ 88 callers
Method
add
(name string, self, total int64)
pkg/model/tree_test.go:332
↓ 86 callers
Function
createDBBlock
(t *testing.T, bkt objstore.Bucket, userID string, minT, maxT int64, numSeries int, externalLabels map[string]
pkg/compactor/compactor_test.go:1494
↓ 84 callers
Method
String
()
pkg/compactor/job.go:160
↓ 82 callers
Method
Fingerprint
()
pkg/phlaredb/block_querier.go:575
↓ 81 callers
Method
MockGet
MockGet is a convenient method to mock Get() and Exists()
pkg/test/mocks/mockobjstore/helper.go:67
↓ 81 callers
Method
String
()
lidia/table.go:16
↓ 80 callers
Method
Size
()
pkg/phlaredb/head.go:47
↓ 80 callers
Function
mustTime
(s string)
pkg/util/time_test.go:180
↓ 78 callers
Method
Do
(req *http.Request)
pkg/frontend/vcs/source/golang/modules.go:79
↓ 77 callers
Method
Put
(context.Context, *PutInput)
pkg/og/storage/types.go:44
↓ 76 callers
Method
Err
Err returns the last error of the iterator.
pkg/segmentwriter/memdb/index/index.go:1053
↓ 76 callers
Method
Load
(x iter.Iterator[string])
pkg/block/metadata/metadata.go:153
↓ 74 callers
Method
CPUProfile
()
pkg/pprof/testhelper/profile_builder.go:162
↓ 74 callers
Method
Upload
Upload a profile to the underlying store. The request contains a name and a base64 encoded pprof file. The response contains a generated unique identi
api/gen/proto/go/adhocprofiles/v1/adhocprofiles_vtproto.pb.go:382
↓ 73 callers
Method
Error
()
pkg/phlaredb/symdb/format.go:109
↓ 72 callers
Function
Time
(t string)
pkg/test/time.go:21
↓ 70 callers
Method
Write
(p []byte)
pkg/block/writer.go:32
↓ 69 callers
Function
InjectTenantID
(ctx context.Context, tenantID string)
pkg/tenant/tenant.go:11
↓ 68 callers
Method
LogFields
(fields []interface{})
cmd/profilecli/query-tracer.go:103
↓ 68 callers
Method
Name
()
pkg/phlaredb/head.go:46
↓ 68 callers
Method
remove
(job *compactionJob)
pkg/compactionworker/worker.go:302
↓ 67 callers
Method
Clone
()
pkg/cfg/cfg.go:21
↓ 67 callers
Method
Parse
(context.Context, storage.Putter, storage.MetricsExporter, Metadata)
pkg/og/ingestion/ingestion.go:38
↓ 67 callers
Method
ServeHTTP
(w http.ResponseWriter, _ *http.Request)
api/openapiv2/openapiv2.go:20
↓ 66 callers
Function
LabelsFromStrings
LabelsFromStrings creates new labels from pairs of strings.
pkg/model/labels.go:356
↓ 66 callers
Function
mockMetaWithMinMax
(id ulid.ULID, minTime, maxTime int64)
pkg/compactor/job_sorting_test.go:138
↓ 65 callers
Method
Observe
Observe adds v to the matched counters if k satisfies node selector. k is a sample stack trace where frames are delimited by semicolon. v is the sampl
pkg/og/storage/types.go:29
↓ 63 callers
Function
GrowLen
(s S, n int)
pkg/slices/slices.go:33
↓ 63 callers
Method
Open
(context.Context)
pkg/phlaredb/compact.go:40
↓ 61 callers
Method
CloneVT
()
api/gen/proto/go/types/v1/types_vtproto.pb.go:117
↓ 61 callers
Method
Invoke
(context.Context, *InvokeRequest)
api/gen/proto/go/query/v1/query_vtproto.pb.go:1340
↓ 59 callers
Method
InsertStack
(v int64, stack ...string)
pkg/model/tree.go:63
↓ 59 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
pkg/util/body/limit_test.go:23
↓ 57 callers
Method
WithLabels
(lv ...string)
pkg/pprof/testhelper/profile_builder.go:95
↓ 56 callers
Method
Ingest
(context.Context, *IngestInput)
pkg/og/ingestion/ingestion.go:16
↓ 55 callers
Function
EmptyPostings
EmptyPostings returns a postings list that's always empty. NOTE: Returning EmptyPostings sentinel when Postings struct has no postings is recommended.
pkg/phlaredb/tsdb/index/postings.go:402
↓ 55 callers
Method
Error
()
pkg/settings/store/store.go:29
↓ 55 callers
Function
NewProfileBuilder
NewProfileBuilder creates a new ProfileBuilder with the given nanoseconds timestamp.
pkg/pprof/testhelper/profile_builder.go:34
↓ 54 callers
Method
string
(s string)
pkg/model/pprofsplit/pprof_split_by.go:136
↓ 52 callers
Method
set
(t *metastorev1.Tombstones)
pkg/metastore/index/tombstones/tombstone_queue.go:14
↓ 51 callers
Function
NewErrorf
(reason Reason, msg string, args ...interface{})
pkg/validation/validate.go:425
↓ 51 callers
Method
String
()
pkg/og/storage/tree/tree.go:157
↓ 51 callers
Method
getOverridesForTenant
(tenantID string)
pkg/validation/limits.go:584
↓ 50 callers
Function
DecWrap
(inner encoding.Decbuf)
pkg/phlaredb/tsdb/encoding/encoding.go:24
↓ 50 callers
Method
Stop
()
pkg/ingester/limiter.go:36
↓ 50 callers
Method
Sub
(start, end int)
pkg/phlaredb/tsdb/index/index.go:1196
↓ 49 callers
Method
Update
Update will under write lock, call a transaction the Collection. If there is an error returned, the update will be cancelled.
pkg/settings/store/store.go:173
↓ 48 callers
Method
Bytes
Bytes returns marshaled tree byte representation; the number of nodes is limited to maxNodes. The function modifies the tree: truncated nodes are remo
pkg/model/tree.go:314
↓ 48 callers
Method
Flag
(name, help string)
cmd/profilecli/client.go:80
↓ 48 callers
Method
String
()
pkg/querier/stats/stats.pb.go:56
↓ 48 callers
Method
push
(item Stat)
pkg/phlaredb/tsdb/index/postingsstats.go:40
↓ 48 callers
Method
resolve
()
pkg/metastore/discovery/dns.go:48
↓ 47 callers
Method
Insert
(key []byte, value uint64)
pkg/og/storage/tree/tree.go:216
↓ 47 callers
Method
String
()
pkg/model/tree.go:32
↓ 46 callers
Method
Flush
(context.Context)
pkg/phlaredb/head.go:50
↓ 46 callers
Function
NewResolver
(ctx context.Context, s SymbolsReader, opts ...ResolverOption)
pkg/phlaredb/symdb/resolver.go:100
next →
1–100 of 14,181, ranked by callers