MCPcopy Create free account

hub / github.com/Shopify/goose / functions

Functions660 in github.com/Shopify/goose

↓ 2 callersMethodextractUserID
(fields log.Fields)
bugsnag/bugsnagger.go:141
↓ 2 callersMethodgetLogTab
()
bugsnag/bugsnagdata_test.go:40
↓ 2 callersMethodgetTab
(label string)
bugsnag/bugsnagdata_test.go:69
↓ 2 callersMethodgetUser
()
bugsnag/bugsnagdata_test.go:60
↓ 2 callersFunctionisDead
(t *tomb.Tomb)
genmain/genmain.go:104
↓ 2 callersFunctionrecoverError
(e interface{})
bugsnag/bugsnagger.go:185
↓ 2 callersFunctionreplaceMatchableParts
replaceMatchableParts replaces mux templates "/{name:[a-z]+}" with "/hello/@name" to be tag-friendly Works with: /{name} /{name:[a-z]+} /{name:(?:
srvutil/request.go:104
↓ 2 callersFunctionsetup
(record bool)
logrusbugsnag/bugsnag_test.go:33
↓ 2 callersFunctiontriggerError
(l *logrus.Logger, err error)
logrusbugsnag/bugsnag_test.go:142
↓ 2 callersMethodupdateUserID
(user *bugsnaggo.User, userID string)
bugsnag/bugsnagger.go:149
↓ 2 callersMethodwaitChan
waitChan will wait for a signal or bail if ch is emitted. Requires L to be locked. Returns whether it received the signal.
cond/cond.go:72
↓ 2 callersFunctionwithShuffle
(t *testing.T, fn func(m *mockResolver, r Resolver))
resolver/shuffle_resolver_test.go:13
↓ 1 callersFunctionAddSensitiveSubstring
(substrings ...string)
redact/redact.go:18
↓ 1 callersMethodAfterRequest
(*http.Request, HTTPRecorder, time.Duration)
srvutil/metrics_observer.go:16
↓ 1 callersFunctionAutoNotify
(rawData ...interface{})
bugsnag/bugsnag.go:22
↓ 1 callersMethodAutoNotify
AutoNotify when deferred, records a panic to Bugsnag and exits the program
bugsnag/bugsnagger.go:168
↓ 1 callersMethodBeforeRequest
(*http.Request)
srvutil/metrics_observer.go:15
↓ 1 callersMethodCause
()
bugsnag/with_class.go:26
↓ 1 callersMethodCreateBugsnagTab
()
bugsnag/bugsnag.go:13
↓ 1 callersMethodDependencies
()
genmain/component.go:15
↓ 1 callersMethodDuration
Duration takes a time.Duration -- the time to complete the indicated operation -- and submits it to statsd. The last parameter is an arbitrary array
statsd/timer.go:17
↓ 1 callersMethodDuration
Duration takes a time.Duration -- the time the operation took -- and submits it to StatsD.
statsd/timing.go:14
↓ 1 callersMethodErrorClass
()
bugsnag/with_class.go:14
↓ 1 callersMethodFloat64
(_ string, d float64, _ string)
profiler/ui.go:119
↓ 1 callersMethodGauge
(ctx context.Context, n float64, ts ...statsd.Tags)
concurrency/limiter.go:33
↓ 1 callersFunctionGo
Go executes a supplied function and recovers from any panics that happen, logging those panics with a severity sufficient to push them to whatever err
safely/safely.go:14
↓ 1 callersMethodInt
(_ string, d int, _ string)
profiler/ui.go:115
↓ 1 callersFunctionIsNotFound
(err error)
resolver/resolver.go:34
↓ 1 callersMethodKill
(signal syscall.Signal)
shell/supervisor.go:117
↓ 1 callersMethodKill
Kill will terminate all running components with a given reason
genmain/genmain.go:114
↓ 1 callersMethodLen
()
shell/shell_test.go:81
↓ 1 callersFunctionNewBackend
NewBackend returns the appropriate Backend for the given implementation and host. STATSD_DEFAULT_TAGS env variable will be read automatically and adde
statsd/statsd.go:51
↓ 1 callersFunctionNewDefaultBuilder
(ctx context.Context, path string, args ...string)
shell/shell.go:25
↓ 1 callersFunctionNewDummySource
NewDummySource returns a rand.Source seeded with 0.
random/dummy.go:11
↓ 1 callersFunctionNewLimiterWithGauge
(concurrency uint, gauge gaugor, tags statsd.Tags)
concurrency/limiter.go:51
↓ 1 callersMethodNewListener
()
statetracker/tracker.go:22
↓ 1 callersFunctionNewMockSource
NewMockSource returns a mocked rand.Source. Configure each call before using.
random/source_mock.go:12
↓ 1 callersFunctionNewMockThrottler
(run bool)
concurrency/throttler_mock.go:11
↓ 1 callersFunctionNewMockTracker
(stubStart bool)
timetracker/tracker_mock.go:9
↓ 1 callersFunctionNewProfiler
(cpuFile string, memoryFile string)
profiler/profiler.go:20
↓ 1 callersFunctionNewSampledGauge
(gauge gaugor, sampling int32, tags statsd.Tags)
concurrency/limiter.go:59
↓ 1 callersFunctionNewSeeded
NewSeeded returns a seeded rand.Rand.
random/seeded.go:6
↓ 1 callersFunctionNewSeededSource
NewSeededSource returns a seeded rand.Source, just like the rand package. Provided for API completeness
random/seeded.go:12
↓ 1 callersFunctionNewServlet
NewServlet returns a Servlet which can serve pprof requests debug/pprof/ is the homepage debug/pprof/ui/ is the same homepage, but where all links po
profiler/servlet.go:19
↓ 1 callersFunctionNewStatic
NewStatic returns a rand.Rand that always returns the seeded value. Useful for tests.
random/static.go:6
↓ 1 callersFunctionNewStaticSource
NewStaticSource returns a rand.Source that always returns the seeded value. Useful for tests.
random/static.go:11
↓ 1 callersFunctionNewStatsPage
(dbConn dbConn)
srvutil/servlet_test.go:21
↓ 1 callersFunctionNewThrottler
(limiter Limiter, tracker timetracker.Tracker, waitTimeout time.Duration)
concurrency/throttler.go:11
↓ 1 callersFunctionNewTimeoutResolver
(lookup Resolver, timeout time.Duration)
resolver/timeout_resolver.go:14
↓ 1 callersFunctionNotify
These define the static APIs which can be accessed directly from the bugsnag package
bugsnag/bugsnag.go:18
↓ 1 callersMethodParse
(func())
profiler/ui.go:154
↓ 1 callersMethodRecord
(duration time.Duration)
timetracker/ema_tracker.go:28
↓ 1 callersMethodRemoveListener
(listener <-chan *Notification)
statetracker/tracker.go:23
↓ 1 callersFunctionRequestContextMiddleware
RequestContextMiddleware can be used with github.com/gorilla/mux:Router.Use or wrapping a Handler
srvutil/request.go:88
↓ 1 callersMethodRun
()
shell/supervisor.go:21
↓ 1 callersMethodRun
()
shell/supervisor.go:35
↓ 1 callersMethodSetTags
(ts ...Tags)
statsd/timer.go:39
↓ 1 callersFunctionSetup
(apiKey string, commit string, env string, packages []string)
bugsnag/bugsnag.go:30
↓ 1 callersMethodSetup
Setup initializes the bugsnag client with the given API key, commit, environment, and packages. By default, it will use the endpoints for Shopify inte
bugsnag/bugsnagger.go:228
↓ 1 callersMethodStart
()
shell/supervisor.go:31
↓ 1 callersMethodStart
()
timetracker/tracker.go:8
↓ 1 callersFunctionThrottlerMiddleware
(th Throttler)
concurrency/throttler_middleware.go:9
↓ 1 callersFunctionTombGo
TombGo is the compose of Go and tomb.Go. Unlike Go though, the supplied function must return an error, because that's what tomb expects.
safely/safely.go:41
↓ 1 callersMethodWait
()
shell/supervisor.go:54
↓ 1 callersMethodWithOSEnv
()
shell/builder.go:14
↓ 1 callersMethodWithSysProcAttr
(attr *syscall.SysProcAttr)
shell/builder.go:17
↓ 1 callersFunctionWithTaggable
WithTaggable attaches a Taggable's tags to a Context. When a metric is recorded, those tags will be appended.
statsd/taggable.go:74
↓ 1 callersMethodWithWorkingDir
(dir string)
shell/builder.go:16
↓ 1 callersFunctionWrapf
Wrapf acts like errors.Wrapf except it also sets the error class to be equal to the message
bugsnag/with_class.go:63
↓ 1 callersMethodacquire
(ctx context.Context)
concurrency/limiter.go:88
↓ 1 callersFunctionbuildRouteContext
Use route and vars to add to context Example: hello/{name}, with name=world route: /hello/@name route_name: world
srvutil/request.go:32
↓ 1 callersMethodcancelWait
()
cond/cond.go:86
↓ 1 callersFunctiondefaultHeaders
()
srvutil/security.go:7
↓ 1 callersFunctiondependencies
(component Component)
genmain/genmain.go:74
↓ 1 callersFunctionfindLogrusExit
()
logrusbugsnag/bugsnag.go:110
↓ 1 callersFunctionfindPanic
()
logrusbugsnag/bugsnag.go:132
↓ 1 callersMethodformatError
(err error)
bugsnag/bugsnagger.go:113
↓ 1 callersMethodhasValue
(data interface{})
bugsnag/bugsnagdata_test.go:80
↓ 1 callersFunctioninverseDependencies
(components []Component)
genmain/genmain.go:82
↓ 1 callersFunctionisReadyToKill
(inverse map[Component][]Component, component Component)
genmain/genmain.go:92
↓ 1 callersFunctionnewTestComponent
()
genmain/genmain_test.go:22
↓ 1 callersFunctionnewUUID
()
logger/uuid.go:22
↓ 1 callersMethodnextBatch
()
logrussplunk/splunk.go:173
↓ 1 callersMethodprocessLogEntry
(entry *log.Entry)
bugsnag/bugsnagger.go:136
↓ 1 callersFunctionremoveFile
(ctx context.Context, path string)
profiler/ui.go:94
↓ 1 callersFunctionrestoreStatsdTagsValue
()
statsd/default_tags_test.go:49
↓ 1 callersMethodrun
(ctx context.Context, fn func() error)
concurrency/limiter.go:95
↓ 1 callersFunctionserveUI
(ctx context.Context, w http.ResponseWriter, r *http.Request, inputFile string)
profiler/ui.go:70
↓ 1 callersFunctionshouldRetry
(err error)
resolver/retry_resolver.go:28
↓ 1 callersMethodshutdown
()
lockmap/map.go:119
↓ 1 callersMethodsubmitToSplunk
(body *closingByteBuffer)
logrussplunk/splunk.go:150
↓ 1 callersMethodsweep
()
lockmap/map.go:128
↓ 1 callersFunctionwaitAny
(components []Component, deadline <-chan time.Time)
genmain/genmain.go:63
MethodAccept
()
srvutil/server.go:113
MethodAddExtraUsage
(_ string)
profiler/ui.go:107
MethodAddr
()
srvutil/server.go:61
MethodAfterRequest
(r *http.Request, recorder HTTPRecorder, requestDuration time.Duration)
srvutil/metrics_observer.go:30
FunctionAutoRecover
(rawData ...interface{})
bugsnag/bugsnag.go:26
MethodAverage
()
timetracker/tracker_mock.go:32
MethodAverage
()
timetracker/ema_tracker.go:44
← previousnext →201–300 of 660, ranked by callers