MCPcopy Create free account

hub / github.com/grafana/pyroscope / functions

Functions14,181 in github.com/grafana/pyroscope

↓ 1,480 callersMethodEqual
(other Instance)
pkg/util/servicediscovery/dns.go:30
↓ 734 callersMethodGet
Get settings for a tenant.
pkg/settings/store.go:11
↓ 624 callersMethodRun
()
pkg/pyroscope/pyroscope.go:561
↓ 566 callersMethodAdd
(labels []*typesv1.LabelPair, fp model.Fingerprint)
pkg/phlaredb/tsdb/index.go:47
↓ 484 callersMethodLog
(keyvals ...interface{})
pkg/test/logger.go:20
↓ 366 callersMethodReturn
(_a0 io.ReadCloser, _a1 error)
pkg/test/mocks/mockobjstore/mock_bucket.go:284
↓ 337 callersFunctionULID
(i int)
pkg/compactor/shard_aware_deduplicate_filter_test.go:23
↓ 314 callersMethodError
()
pkg/validation/validate.go:421
↓ 271 callersMethodErr
Err returns the last error of the iterator.
pkg/iter/iter.go:20
↓ 271 callersMethodSkip
Skip rows at the root-level.
pkg/phlaredb/query/iters.go:302
↓ 265 callersMethodLen
()
pkg/segmentwriter/memdb/index/index.go:1087
↓ 230 callersMethodEqual
(x Partition)
pkg/metastore/index/store/partition.go:24
↓ 219 callersMethodWrap
Wrap implements Middleware
pkg/util/http.go:261
↓ 218 callersMethodSet
Set a setting for a tenant.
pkg/settings/store.go:14
↓ 205 callersMethodString
()
pkg/phlaredb/block/metadata.go:190
↓ 194 callersMethodAt
At returns the value at the current iterator position.
pkg/iter/iter.go:17
↓ 172 callersMethodWithLabelValues
(lvs ...string)
pkg/phlaredb/block/fetcher.go:122
↓ 171 callersMethodSizeVT
()
pkg/api/connect/codec.go:46
↓ 170 callersMethodNext
Next advances the iterator and returns true if another value was found.
pkg/iter/iter.go:14
↓ 170 callersMethodWith
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 callersMethodClose
()
pkg/iter/iter.go:22
↓ 165 callersMethodMarshalToSizedBufferVT
([]byte)
pkg/api/connect/codec.go:45
↓ 163 callersMethodUnmarshalVT
([]byte)
pkg/api/connect/codec.go:47
↓ 145 callersMethodAddSamples
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 callersMethodClose
()
pkg/phlaredb/head.go:51
↓ 135 callersMethodAdd
(ts int64, point *TimeSeriesValue)
pkg/model/time_series.go:66
↓ 131 callersMethodDone
Done waits until all captured output has been written to buffers, and then returns the buffers.
pkg/test/capture.go:60
↓ 131 callersMethodWait
(n int)
pkg/util/ratelimit/ratelimit.go:25
↓ 129 callersMethodMarshal
Implements proto.Marshaler.
pkg/api/version/version.go:63
↓ 128 callersMethodget
Order a car within a certain radius.
examples/language-sdk-instrumentation/python/rideshare/django/app/ride_share/views/car/car.py:14
↓ 127 callersMethodSlice
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 callersMethodReset
()
pkg/og/storage/tree/tree.go:284
↓ 123 callersMethodForStacktraceString
(stacktraces ...string)
pkg/pprof/testhelper/profile_builder.go:167
↓ 122 callersMethodInc
(i int64)
pkg/usagestats/stats.go:522
↓ 117 callersMethodLog
(keyvals ...interface{})
pkg/compactor/compactor_test.go:1670
↓ 116 callersMethodLabels
()
pkg/phlaredb/block_querier.go:576
↓ 113 callersMethodHandle
(context.Context, *httpgrpc.HTTPRequest)
pkg/querier/worker/worker.go:59
↓ 107 callersMethodError
()
pkg/metastore/fsm/fsm.go:203
↓ 106 callersFunctionrun
()
public/app/hooks/useAppNames.ts:20
↓ 104 callersMethodHash
Hash returns a hash value for the label set.
pkg/model/labels.go:101
↓ 95 callersMethodUnmarshal
Implements proto.Unmarshaler.
pkg/api/version/version.go:58
↓ 92 callersMethodContext
()
pkg/querier/worker/scheduler_processor_test.go:199
↓ 92 callersMethodSort
([]Profile)
pkg/phlaredb/block_querier.go:584
↓ 88 callersFunctionNewSliceSeekIterator
(s []A)
pkg/iter/iter.go:98
↓ 88 callersMethodadd
(name string, self, total int64)
pkg/model/tree_test.go:332
↓ 86 callersFunctioncreateDBBlock
(t *testing.T, bkt objstore.Bucket, userID string, minT, maxT int64, numSeries int, externalLabels map[string]
pkg/compactor/compactor_test.go:1494
↓ 84 callersMethodString
()
pkg/compactor/job.go:160
↓ 82 callersMethodFingerprint
()
pkg/phlaredb/block_querier.go:575
↓ 81 callersMethodMockGet
MockGet is a convenient method to mock Get() and Exists()
pkg/test/mocks/mockobjstore/helper.go:67
↓ 81 callersMethodString
()
lidia/table.go:16
↓ 80 callersMethodSize
()
pkg/phlaredb/head.go:47
↓ 80 callersFunctionmustTime
(s string)
pkg/util/time_test.go:180
↓ 78 callersMethodDo
(req *http.Request)
pkg/frontend/vcs/source/golang/modules.go:79
↓ 77 callersMethodPut
(context.Context, *PutInput)
pkg/og/storage/types.go:44
↓ 76 callersMethodErr
Err returns the last error of the iterator.
pkg/segmentwriter/memdb/index/index.go:1053
↓ 76 callersMethodLoad
(x iter.Iterator[string])
pkg/block/metadata/metadata.go:153
↓ 74 callersMethodCPUProfile
()
pkg/pprof/testhelper/profile_builder.go:162
↓ 74 callersMethodUpload
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 callersMethodError
()
pkg/phlaredb/symdb/format.go:109
↓ 72 callersFunctionTime
(t string)
pkg/test/time.go:21
↓ 70 callersMethodWrite
(p []byte)
pkg/block/writer.go:32
↓ 69 callersFunctionInjectTenantID
(ctx context.Context, tenantID string)
pkg/tenant/tenant.go:11
↓ 68 callersMethodLogFields
(fields []interface{})
cmd/profilecli/query-tracer.go:103
↓ 68 callersMethodName
()
pkg/phlaredb/head.go:46
↓ 68 callersMethodremove
(job *compactionJob)
pkg/compactionworker/worker.go:302
↓ 67 callersMethodClone
()
pkg/cfg/cfg.go:21
↓ 67 callersMethodParse
(context.Context, storage.Putter, storage.MetricsExporter, Metadata)
pkg/og/ingestion/ingestion.go:38
↓ 67 callersMethodServeHTTP
(w http.ResponseWriter, _ *http.Request)
api/openapiv2/openapiv2.go:20
↓ 66 callersFunctionLabelsFromStrings
LabelsFromStrings creates new labels from pairs of strings.
pkg/model/labels.go:356
↓ 66 callersFunctionmockMetaWithMinMax
(id ulid.ULID, minTime, maxTime int64)
pkg/compactor/job_sorting_test.go:138
↓ 65 callersMethodObserve
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 callersFunctionGrowLen
(s S, n int)
pkg/slices/slices.go:33
↓ 63 callersMethodOpen
(context.Context)
pkg/phlaredb/compact.go:40
↓ 61 callersMethodCloneVT
()
api/gen/proto/go/types/v1/types_vtproto.pb.go:117
↓ 61 callersMethodInvoke
(context.Context, *InvokeRequest)
api/gen/proto/go/query/v1/query_vtproto.pb.go:1340
↓ 59 callersMethodInsertStack
(v int64, stack ...string)
pkg/model/tree.go:63
↓ 59 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
pkg/util/body/limit_test.go:23
↓ 57 callersMethodWithLabels
(lv ...string)
pkg/pprof/testhelper/profile_builder.go:95
↓ 56 callersMethodIngest
(context.Context, *IngestInput)
pkg/og/ingestion/ingestion.go:16
↓ 55 callersFunctionEmptyPostings
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 callersMethodError
()
pkg/settings/store/store.go:29
↓ 55 callersFunctionNewProfileBuilder
NewProfileBuilder creates a new ProfileBuilder with the given nanoseconds timestamp.
pkg/pprof/testhelper/profile_builder.go:34
↓ 54 callersMethodstring
(s string)
pkg/model/pprofsplit/pprof_split_by.go:136
↓ 52 callersMethodset
(t *metastorev1.Tombstones)
pkg/metastore/index/tombstones/tombstone_queue.go:14
↓ 51 callersFunctionNewErrorf
(reason Reason, msg string, args ...interface{})
pkg/validation/validate.go:425
↓ 51 callersMethodString
()
pkg/og/storage/tree/tree.go:157
↓ 51 callersMethodgetOverridesForTenant
(tenantID string)
pkg/validation/limits.go:584
↓ 50 callersFunctionDecWrap
(inner encoding.Decbuf)
pkg/phlaredb/tsdb/encoding/encoding.go:24
↓ 50 callersMethodStop
()
pkg/ingester/limiter.go:36
↓ 50 callersMethodSub
(start, end int)
pkg/phlaredb/tsdb/index/index.go:1196
↓ 49 callersMethodUpdate
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 callersMethodBytes
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 callersMethodFlag
(name, help string)
cmd/profilecli/client.go:80
↓ 48 callersMethodString
()
pkg/querier/stats/stats.pb.go:56
↓ 48 callersMethodpush
(item Stat)
pkg/phlaredb/tsdb/index/postingsstats.go:40
↓ 48 callersMethodresolve
()
pkg/metastore/discovery/dns.go:48
↓ 47 callersMethodInsert
(key []byte, value uint64)
pkg/og/storage/tree/tree.go:216
↓ 47 callersMethodString
()
pkg/model/tree.go:32
↓ 46 callersMethodFlush
(context.Context)
pkg/phlaredb/head.go:50
↓ 46 callersFunctionNewResolver
(ctx context.Context, s SymbolsReader, opts ...ResolverOption)
pkg/phlaredb/symdb/resolver.go:100
next →1–100 of 14,181, ranked by callers