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
↓ 45 callers
Method
Close
()
pkg/metastore/discovery/discovery.go:31
↓ 45 callers
Method
Compare
(parquet.Value, parquet.Value)
pkg/parquet/group.go:94
↓ 45 callers
Function
NewSliceIterator
(s []A)
pkg/iter/iter.go:77
↓ 42 callers
Function
RegisterOrGet
RegisterOrGet registers the collector c with the provided registerer. If the registerer is nil, the collector is returned without registration. If the
pkg/util/prometheus.go:12
↓ 42 callers
Method
Release
()
pkg/phlaredb/symdb/resolver.go:115
↓ 41 callers
Method
GetMaxNodes
()
api/gen/proto/go/query/v1/query.pb.go:1273
↓ 41 callers
Method
MockIter
(prefix string, objects []string, err error)
pkg/test/mocks/mockobjstore/helper.go:27
↓ 41 callers
Method
Run
(run func(ctx context.Context, name string))
pkg/test/mocks/mockobjstore/mock_bucket.go:277
↓ 41 callers
Method
Series
Series populates the given labels and chunk metas for the series identified by the reference. Returns storage.ErrNotFound if the ref does not resolve
pkg/phlaredb/querier.go:41
↓ 40 callers
Method
Build
bool
pkg/og/storage/tree/tree.go:283
↓ 40 callers
Method
Log
(logger log.Logger)
pkg/querier/querier.go:803
↓ 40 callers
Method
Lookup
(matchers []*labels.Matcher, shard *shard.Annotation)
pkg/phlaredb/tsdb/index.go:48
↓ 40 callers
Function
ULID
(t string)
pkg/test/time.go:11
↓ 39 callers
Method
Bytes
(n int)
pkg/phlaredb/tsdb/encoding/encoding.go:31
↓ 39 callers
Method
Close
Close the store.
pkg/settings/store.go:23
↓ 39 callers
Function
RecoverPanic
RecoverPanic is a helper function to recover from panic and return an error.
pkg/util/recovery.go:54
↓ 39 callers
Method
Send
(*QuerierToScheduler)
pkg/scheduler/schedulerpb/scheduler_vtproto.pb.go:65
↓ 38 callers
Method
Delete
Delete a setting for a tenant.
pkg/settings/store.go:17
↓ 38 callers
Function
OpenFile
(path string)
pkg/pprof/pprof.go:276
↓ 38 callers
Method
Push
(frame []byte)
pkg/og/storage/tree/tree.go:281
↓ 38 callers
Method
Send
(Res)
pkg/phlaredb/filter_profiles_bidi.go:19
↓ 36 callers
Method
Default
()
cmd/profilecli/static/bootstrap-5.3.3.bundle.min.js:6
↓ 36 callers
Method
RegisterFlags
(f *flag.FlagSet)
pkg/pyroscope/pyroscope.go:164
↓ 36 callers
Function
testBlockEntry
(id int)
pkg/metastore/compaction/compactor/compaction_queue_test.go:15
↓ 35 callers
Method
Done
()
pkg/phlaredb/symdb/resolver_test.go:105
↓ 35 callers
Method
LabelValues
LabelValues returns possible label values which may not be sorted.
pkg/phlaredb/querier.go:30
↓ 35 callers
Method
Store
(tx *bbolt.Tx, md *metastorev1.BlockMeta)
pkg/metastore/index/store/shard.go:56
↓ 35 callers
Method
String
()
pkg/util/httpgrpc/httpgrpc.pb.go:167
↓ 35 callers
Function
abs64
(i int64)
pkg/frontend/dot/graph/graph.go:1165
↓ 35 callers
Method
err
()
pkg/iter/tee.go:149
↓ 35 callers
Function
testContext
(t testing.TB)
pkg/phlaredb/profile_store_test.go:52
↓ 34 callers
Method
Receive
()
pkg/querier/select_merge.go:36
↓ 34 callers
Method
Start
()
pkg/metastore/raftnode/node.go:254
↓ 34 callers
Method
String
()
pkg/segmentwriter/memdb/index/index.go:77
↓ 33 callers
Method
Kind
()
pkg/parquet/group.go:90
↓ 33 callers
Method
RemoveAll
(name string)
pkg/ingester/retention.go:330
↓ 33 callers
Method
String
()
pkg/util/spanlogger/query_log.go:219
↓ 33 callers
Method
addstr
(s string)
pkg/ingester/otlp/ingest_handler_test.go:641
↓ 33 callers
Function
converter
TODO(kolesnikovae): Consider simpler (but more reliable) logic for format identification with fallbacks: from the most strict format to the loosest
pkg/og/structs/flamebearer/convert/convert.go:119
↓ 33 callers
Function
newTree
(stacks []stacktraces)
pkg/model/tree_test.go:312
↓ 32 callers
Method
String
()
pkg/compactor/blocks_cleaner_test.go:44
↓ 31 callers
Function
BucketWithGlobalMarkers
BucketWithGlobalMarkers wraps the input bucket into a bucket which also keeps track of markers in the global markers location.
pkg/phlaredb/block/global_markers_bucket_client.go:29
↓ 31 callers
Method
RegisterRoute
registerRoute registers an HTTP handler with the main HTTP server. Register Options allow to filter the HTTP methods and apply middlewares.
pkg/api/api.go:92
↓ 31 callers
Function
cpuProfile
(samples int, tsMillis int, svc string, stack ...string)
pkg/segmentwriter/segment_test.go:803
↓ 30 callers
Method
Index
()
pkg/phlaredb/compact.go:43
↓ 30 callers
Function
file_ingester_v1_ingester_proto_rawDescGZIP
()
api/gen/proto/go/ingester/v1/ingester.pb.go:2110
↓ 29 callers
Function
New
()
pkg/og/storage/tree/tree.go:57
↓ 29 callers
Function
NewList
(list ...uint64)
pkg/util/loser/tree_test.go:23
↓ 29 callers
Method
String
()
pkg/segmentwriter/client/distributor/placement/adaptiveplacement/load_balancing.go:42
↓ 29 callers
Method
Write
(p []byte)
pkg/phlaredb/symdb/block_writer.go:42
↓ 29 callers
Method
getOrCreateInstance
(t,e={})
pkg/api/static/bootstrap-5.3.3.bundle.min.js:6
↓ 29 callers
Method
getOrCreateInstance
(t,e={})
cmd/profilecli/static/bootstrap-5.3.3.bundle.min.js:6
↓ 28 callers
Function
BoltDB
(t testing.TB)
pkg/test/boltdb.go:11
↓ 28 callers
Method
CloneVT
()
api/gen/proto/go/ingester/v1/ingester_vtproto.pb.go:650
↓ 28 callers
Method
EqualVT
(that *Hints)
api/gen/proto/go/ingester/v1/ingester_vtproto.pb.go:1565
↓ 28 callers
Method
Header
()
pkg/util/http_test.go:92
↓ 28 callers
Function
MockDefaultLimits
()
pkg/validation/limits_mock.go:48
↓ 28 callers
Method
Receive
()
pkg/phlaredb/filter_profiles_bidi.go:20
↓ 28 callers
Method
stagedBlocks
(k compactionKey)
pkg/metastore/compaction/compactor/compaction_queue.go:163
↓ 27 callers
Method
CloneVT
()
api/gen/proto/go/query/v1/query_vtproto.pb.go:181
↓ 27 callers
Method
EqualVT
(that *Query)
api/gen/proto/go/query/v1/query_vtproto.pb.go:764
↓ 27 callers
Method
Exists
(tenant string, shard uint32, block string)
pkg/metastore/index_raft_handler.go:35
↓ 27 callers
Function
ExtractTenantIDFromContext
ExtractTenantIDFromContext extracts a single TenantID from the context.
pkg/tenant/interceptor.go:105
↓ 27 callers
Method
Meta
()
pkg/phlaredb/compact.go:41
↓ 27 callers
Function
NewMockRing
(ingesters []ring.InstanceDesc, replicationFactor uint32)
pkg/testhelper/ring.go:14
↓ 27 callers
Method
Timestamp
()
pkg/phlaredb/block_querier.go:574
↓ 27 callers
Method
push
(block blockEntry)
pkg/metastore/compaction/compactor/compaction_queue.go:194
↓ 26 callers
Method
LabelNames
LabelNames returns all the unique label names present in the index in sorted order.
pkg/phlaredb/querier.go:45
↓ 26 callers
Method
Wait
Wait does c.cond.Wait() but will also return if the context provided is done. All the documentation of sync.Cond.Wait() applies, but it's especially i
pkg/scheduler/queue/queue.go:238
↓ 26 callers
Method
put
(state *raft_log.CompactionJobState)
pkg/metastore/compaction/scheduler/scheduler_queue.go:29
↓ 25 callers
Function
NewBucket
NewBucket returns a new filesystem.Bucket.
pkg/objstore/providers/filesystem/bucket_client.go:20
↓ 25 callers
Function
WithResolverStackTraceSelector
WithResolverStackTraceSelector specifies the stack trace selector. Only stack traces that belong to the callSite (have the prefix provided) will be se
pkg/phlaredb/symdb/resolver.go:65
↓ 25 callers
Method
Write
(w io.Writer, val uint64)
pkg/og/util/varint/varint.go:14
↓ 25 callers
Function
extractMappingFilename
(filename string)
pkg/model/profile.go:96
↓ 25 callers
Function
file_query_v1_query_proto_rawDescGZIP
()
api/gen/proto/go/query/v1/query.pb.go:1681
↓ 25 callers
Function
replaceInplace
(re *regexp.Regexp, file string, replacement string)
tools/update_examples.go:204
↓ 25 callers
Method
slice
()
pkg/phlaredb/symdb/block_reader.go:325
↓ 24 callers
Function
$
(t,e,i,n)
pkg/api/static/bootstrap-5.3.3.bundle.min.js:6
↓ 24 callers
Function
FromContext
FromContext returns a SpanLogger using the current parent span. If there is no parent span, the SpanLogger will only log to the logger within the cont
pkg/util/spanlogger/spanlogger.go:33
↓ 24 callers
Function
NewTestingLogger
(t testing.TB)
pkg/test/logger.go:16
↓ 24 callers
Method
PollCompactionJobs
Used to both retrieve jobs and update the jobs status at the same time.
api/gen/proto/go/metastore/v1/compactor_vtproto.pb.go:594
↓ 24 callers
Method
Postings
Postings returns the postings list iterator for the label pairs. The Postings here contain the offsets to the series inside the index. Found IDs are n
pkg/phlaredb/querier.go:36
↓ 24 callers
Method
SelectMatchingProfiles
(ctx context.Context, params *ingestv1.SelectProfilesRequest)
pkg/phlaredb/block_querier.go:592
↓ 24 callers
Method
Tree
()
pkg/phlaredb/symdb/resolver.go:239
↓ 24 callers
Method
Value
()
pkg/usagestats/stats.go:531
↓ 24 callers
Function
generateBlockID
(t *testing.T, prefix string)
pkg/ingester/retention_test.go:723
↓ 24 callers
Function
getUsersByQuerier
getUsersByQuerier returns the list of users handled by the provided querierID.
pkg/scheduler/queue/user_queues_test.go:464
↓ 23 callers
Method
MarshalVT
()
pkg/api/connect/codec.go:44
↓ 23 callers
Method
Merge
Merge adds p to the profile merge, cloning new objects. Profile p is modified in place but not retained by the function.
pkg/pprof/merge.go:43
↓ 23 callers
Function
NewShard
(x, of uint32)
pkg/phlaredb/tsdb/index/shard.go:24
↓ 23 callers
Method
Query
(context.Context, *QueryRequest)
api/gen/proto/go/query/v1/query_vtproto.pb.go:1254
↓ 23 callers
Method
Range
(start, end int)
pkg/segmentwriter/memdb/index/index.go:1088
↓ 23 callers
Method
RowGroups
()
pkg/phlaredb/sample_merge.go:109
↓ 23 callers
Method
Seek
Like Next but skips over results until reading >= the given location
pkg/iter/iter.go:29
↓ 23 callers
Method
Write
(bufs ...[]byte)
pkg/phlaredb/tsdb/index/index.go:303
↓ 23 callers
Method
nextJob
Plan compaction of the queued blocks. The algorithm is simple: - Iterate block queues from low levels to higher ones. - Find the oldest batch in the o
pkg/metastore/compaction/compactor/plan.go:62
↓ 23 callers
Method
wait
()
pkg/compactionworker/worker.go:582
↓ 22 callers
Method
Key
Key returns an identifier for the job.
pkg/compactor/job.go:59
↓ 22 callers
Function
MockOverrides
(customize func(defaults *Limits, tenantLimits map[string]*Limits))
pkg/validation/limits_mock.go:34
↓ 22 callers
Function
NewBucket
NewBucket creates a new bucket client based on the configured backend
pkg/objstore/client/factory.go:20
← previous
next →
101–200 of 14,181, ranked by callers