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
↓ 22 callers
Method
Result
()
pkg/querier/select_merge.go:56
↓ 22 callers
Function
Upload
Upload uploads a TSDB block to the object storage. It verifies basic features of Thanos block.
pkg/phlaredb/block/block.go:148
↓ 22 callers
Method
Wait
Wait blocks until the aggregation finishes. The block duration never exceeds aggregation period.
pkg/distributor/aggregator/aggregator.go:176
↓ 22 callers
Function
WithResolverMaxNodes
WithResolverMaxNodes specifies the desired maximum number of nodes the resulting profile should include.
pkg/phlaredb/symdb/resolver.go:55
↓ 22 callers
Method
addString
(s string)
pkg/pprof/testhelper/profile_builder.go:215
↓ 22 callers
Method
ingest
(tenantID string, p *profilev1.Profile, id uuid.UUID, labels []*typesv1.LabelPair, annotations []*typesv1.Prof
pkg/segmentwriter/segment.go:503
↓ 21 callers
Method
Error
()
pkg/symbolizer/errors.go:29
↓ 21 callers
Method
IsValid
IsValid returns true if the version is valid.
pkg/phlaredb/block/metadata.go:70
↓ 21 callers
Method
Merge
(src Merger)
pkg/og/structs/merge/merge.go:8
↓ 21 callers
Method
MergeProfilesPprof
(context.Context, *connect.BidiStream[ingestv1.MergeProfilesPprofRequest, ingestv1.MergeProfilesPprofResponse]
pkg/phlaredb/block_querier.go:625
↓ 21 callers
Function
NewBinaryJoinIterator
(definitionLevel int, left, right Iterator)
pkg/phlaredb/query/iters.go:439
↓ 21 callers
Function
NewPartition
(timestamp time.Time, duration time.Duration)
pkg/metastore/index/store/partition.go:20
↓ 21 callers
Method
Return
(_a0 *connect.Response[querierv1.DiffResponse], _a1 error)
pkg/test/mocks/mockquerierv1connect/mock_querier_service_client.go:140
↓ 21 callers
Function
createVersion
(t *testing.T, id string, ts int64)
pkg/api/version/version_test.go:273
↓ 21 callers
Function
file_querier_v1_querier_proto_rawDescGZIP
()
api/gen/proto/go/querier/v1/querier.pb.go:1694
↓ 21 callers
Method
info
()
pkg/querier/replication_test.go:69
↓ 21 callers
Function
isConsistent
(uq *queues)
pkg/scheduler/queue/user_queues_test.go:419
↓ 21 callers
Function
newBlockInfo
(ulid string)
pkg/querier/replication_test.go:22
↓ 21 callers
Function
request
( request: RequestInfo, config?: RequestInit )
public/app/services/base.ts:23
↓ 20 callers
Method
Aggregate
(key uint64, timestamp int64, fn AggregateFn[T])
pkg/distributor/aggregator/aggregator.go:75
↓ 20 callers
Method
AssignJob
AssignJob is called on behalf of the worker to request a new job.
pkg/metastore/compaction/compaction.go:57
↓ 20 callers
Method
Column
(ctx context.Context, columnName string, predicate query.Predicate)
pkg/block/section_profiles.go:172
↓ 20 callers
Method
Exists
(tenant string, shard uint32, block string)
pkg/metastore/index/tombstones/tombstones.go:53
↓ 20 callers
Method
GetIndex
GetIndex returns the bucket index for the given user. It returns the in-memory cached index if available, or load it from the bucket otherwise.
pkg/phlaredb/bucketindex/loader.go:92
↓ 20 callers
Method
Header
()
pkg/util/connectgrpc/connectgrpc.go:309
↓ 20 callers
Method
Insert
(key []byte, value uint64, merge ...bool)
pkg/og/structs/transporttrie/trie.go:181
↓ 20 callers
Method
InsertStackString
(stack []string, v uint64)
pkg/og/storage/tree/tree.go:245
↓ 20 callers
Method
IsAllowed
(tenantID string)
pkg/tenant/allowed_tenants.go:41
↓ 20 callers
Method
NewSchedule
(tx *bbolt.Tx, cmd *raft.Log)
pkg/metastore/compaction/scheduler/scheduler.go:84
↓ 20 callers
Function
Parse
(s string)
pkg/og/util/attime/attime.go:14
↓ 20 callers
Method
RecvMsg
(msg interface{})
pkg/querier/worker/scheduler_processor_test.go:215
↓ 20 callers
Method
Remove
()
pkg/phlaredb/tsdb/index/index.go:357
↓ 20 callers
Method
SendMsg
(msg interface{})
pkg/querier/worker/scheduler_processor_test.go:210
↓ 20 callers
Method
String
()
pkg/frontend/vcs/source/golang/modules.go:74
↓ 20 callers
Method
WithLabelSet
(pairs ...string)
pkg/block/metadata/metadata_labels.go:34
↓ 20 callers
Function
checkBlock
(t *testing.T, user string, bucketClient objstore.Bucket, blockID ulid.ULID, metaJSONExists bool, markedForDel
pkg/compactor/blocks_cleaner_test.go:687
↓ 20 callers
Method
rowGroup
()
pkg/phlaredb/head_queriers.go:29
↓ 20 callers
Method
write
(bufs ...[]byte)
pkg/phlaredb/tsdb/index/index.go:267
↓ 20 callers
Method
write
(bufs ...[]byte)
pkg/segmentwriter/memdb/index/index.go:238
↓ 19 callers
Method
CloneVT
()
api/gen/proto/go/metastore/v1/raft_log/raft_log_vtproto.pb.go:174
↓ 19 callers
Function
EmptyRowNumber
EmptyRowNumber creates an empty invalid row number.
pkg/phlaredb/query/iters.go:45
↓ 19 callers
Method
EqualVT
(that *NewCompactionJob)
api/gen/proto/go/metastore/v1/raft_log/raft_log_vtproto.pb.go:629
↓ 19 callers
Method
GetAllHealthy
(op ring.Operation)
pkg/testhelper/ring.go:38
↓ 19 callers
Method
GetULIDs
()
pkg/phlaredb/bucketindex/index.go:186
↓ 19 callers
Method
Invoke
(context.Context, *queryv1.InvokeRequest)
pkg/querybackend/backend.go:38
↓ 19 callers
Method
MockExists
(name string, exists bool, err error)
pkg/test/mocks/mockobjstore/helper.go:62
↓ 19 callers
Method
Send
(tenant string, series []prompb.TimeSeries)
pkg/metrics/observer.go:61
↓ 19 callers
Function
addString
(strings map[string]int, s string)
pkg/pprof/pprof.go:267
↓ 18 callers
Method
AddSymbol
(sym string)
pkg/phlaredb/tsdb/index/index.go:560
↓ 18 callers
Method
Compact
Compact enqueues a new block for compaction
pkg/metastore/compaction/compaction.go:14
↓ 18 callers
Method
Delete
(labels labels.Labels, fp model.Fingerprint)
pkg/phlaredb/tsdb/index.go:51
↓ 18 callers
Method
Encode
(_ []byte, _ encoding.Values, _ encoding.Encoding)
pkg/parquet/group.go:118
↓ 18 callers
Function
ExpandPostings
ExpandPostings returns the postings expanded as a slice.
pkg/phlaredb/tsdb/index/postings.go:389
↓ 18 callers
Method
MergeProfilesStacktraces
(context.Context, *connect.BidiStream[ingestv1.MergeProfilesStacktracesRequest, ingestv1.MergeProfilesStacktra
pkg/phlaredb/block_querier.go:623
↓ 18 callers
Method
Name
()
pkg/phlaredb/schemas/v1/read_writer.go:8
↓ 18 callers
Method
TenantID
()
pkg/block/dataset.go:199
↓ 18 callers
Function
UnixMilli
(t string)
pkg/test/time.go:17
↓ 18 callers
Method
WriteHeader
(statusCode int)
pkg/util/http_test.go:94
↓ 18 callers
Method
addstr
(s string)
pkg/ingester/otlp/convert.go:188
↓ 18 callers
Method
append
(dst []uint32, elems []M)
pkg/phlaredb/symdb/dedup_slice.go:309
↓ 18 callers
Function
contextDataDir
(ctx context.Context)
pkg/phlaredb/profile_store_test.go:42
↓ 18 callers
Function
file_metastore_v1_raft_log_raft_log_proto_rawDescGZIP
()
api/gen/proto/go/metastore/v1/raft_log/raft_log.pb.go:1200
↓ 18 callers
Function
file_types_v1_types_proto_rawDescGZIP
()
api/gen/proto/go/types/v1/types.pb.go:1152
↓ 18 callers
Function
mockBlockMetaJSON
(id string)
pkg/compactor/compactor_test.go:1725
↓ 18 callers
Function
prepareConfig
(t *testing.T)
pkg/compactor/compactor_test.go:1599
↓ 18 callers
Function
requireNoError
(err error, msg string)
tools/update_examples.go:426
↓ 18 callers
Method
value
(now int64)
pkg/segmentwriter/client/distributor/placement/adaptiveplacement/ewma/ewma.go:45
↓ 17 callers
Method
Decode
(_ encoding.Values, _ []byte, _ encoding.Encoding)
pkg/parquet/group.go:122
↓ 17 callers
Method
EXPECT
()
pkg/test/mocks/mockmetastorev1/mock_compaction_service_client.go:24
↓ 17 callers
Function
New
New generates a FlamebearerTimeline, backfilling any missing data with zeros. If startMs or endMs are in the middle of its durationDeltaSec bucket, th
pkg/querier/timeline/timeline.go:16
↓ 17 callers
Function
NewFileReader
NewFileReader returns a new index reader against the given index file.
pkg/phlaredb/tsdb/index/index.go:1211
↓ 17 callers
Function
NewMockBucketWithHelper
(t testing.TB)
pkg/test/mocks/mockobjstore/helper.go:18
↓ 17 callers
Function
NewScheduler
NewScheduler creates a scheduler with the given lease duration. Typically, callers should update jobs at the interval not exceeding the half of the le
pkg/metastore/compaction/scheduler/scheduler.go:69
↓ 17 callers
Method
Next
Next advances the iterator and returns true if another value was found.
pkg/segmentwriter/memdb/index/index.go:1047
↓ 17 callers
Method
UpdateIndex
UpdateIndex generates the bucket index and returns it, without storing it to the storage. If the old index is not passed in input, then the bucket ind
pkg/phlaredb/bucketindex/updater.go:47
↓ 17 callers
Function
checkError
(err error)
cmd/profilecli/main.go:197
↓ 17 callers
Method
enqueue
(e compaction.BlockEntry)
pkg/metastore/compaction/compactor/compactor.go:70
↓ 17 callers
Function
next
(t,e)
pkg/api/static/bootstrap-5.3.3.bundle.min.js:6
↓ 16 callers
Method
AddLinks
(weight int, groupDesc string, links []IndexPageLink)
pkg/api/index.go:54
↓ 16 callers
Method
Dec
Dec decrements the counter and calls the release function, if this is the last reference.
pkg/util/refctr/refctr.go:64
↓ 16 callers
Function
EqualProto
Equal compares two protobuf messages ignoring extra generated proto fields.
pkg/testhelper/proto.go:17
↓ 16 callers
Method
FileByRelPath
(name string)
pkg/phlaredb/block/metadata.go:177
↓ 16 callers
Method
Flush
Flush the store to disk.
pkg/settings/store.go:20
↓ 16 callers
Method
Matches
Matches reports whether the given set of labels matches the matchers. Note that at least one labels set must satisfy matchers to return true. For nega
pkg/block/metadata/metadata_labels.go:211
↓ 16 callers
Function
New
(phlarectx context.Context, cfg Config, limiter TenantLimiter, fs phlareobj.Bucket)
pkg/phlaredb/phlaredb.go:117
↓ 16 callers
Function
NewTenantBucketClient
NewTenantBucketClient returns a bucket client to use to access the storage on behalf of the provided user. The cfgProvider can be nil.
pkg/objstore/user_bucket_client.go:10
↓ 16 callers
Method
Pprof
()
pkg/phlaredb/symdb/resolver.go:257
↓ 16 callers
Method
Recv
()
pkg/scheduler/schedulerpb/scheduler_vtproto.pb.go:66
↓ 16 callers
Method
Schema
()
pkg/phlaredb/sample_merge.go:108
↓ 16 callers
Method
Service
()
pkg/metastore/admin/admin.go:45
↓ 16 callers
Function
StackCollapseProto
(p *profilev1.Profile, valueIDX int, scale float64)
pkg/og/convert/pprof/bench/utils.go:47
↓ 16 callers
Method
String
()
pkg/ingester/retention.go:346
↓ 16 callers
Function
WriteIndex
WriteIndex uploads the provided index to the storage.
pkg/phlaredb/bucketindex/storage.go:64
↓ 16 callers
Method
_queueCallback
(t,e,i=!0)
pkg/api/static/bootstrap-5.3.3.bundle.min.js:6
↓ 16 callers
Method
_queueCallback
(t,e,i=!0)
cmd/profilecli/static/bootstrap-5.3.3.bundle.min.js:6
↓ 16 callers
Function
at
(arr []T, i int32)
pkg/ingester/otlp/convert.go:23
↓ 16 callers
Method
delay
()
pkg/objstore/delayed_bucket_client.go:114
↓ 16 callers
Function
file_metastore_raftnode_raftnodepb_raft_node_proto_rawDescGZIP
()
pkg/metastore/raftnode/raftnodepb/raft_node.pb.go:986
↓ 16 callers
Function
mustParseProfileSelector
(t testing.TB, selector string)
pkg/phlaredb/head_test.go:256
↓ 16 callers
Method
sh
(sh string)
tools/update_examples.go:407
← previous
next →
201–300 of 14,181, ranked by callers