Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/client_golang
/ functions
Functions
932 in github.com/prometheus/client_golang
⨍
Functions
932
◇
Types & classes
204
Function
TestNewDescInvalidLabelValues
(t *testing.T)
prometheus/desc_test.go:20
Function
TestNewMultiTRegistry
(t *testing.T)
prometheus/registry_test.go:1197
Function
TestNewPidFileFn
(t *testing.T)
prometheus/process_collector_test.go:109
Function
TestNil
(t *testing.T)
prometheus/wrap_test.go:334
Function
TestNil
(t *testing.T)
prometheus/promauto/auto_test.go:22
Function
TestNoMetricFilter
(t *testing.T)
prometheus/testutil/testutil_test.go:266
Function
TestOutputFormatRangeFormatUnified
(t *testing.T)
prometheus/internal/difflib_test.go:218
Function
TestPlayground
(t *testing.T)
tutorial/whatsup/internal/playground_test.go:38
Function
TestProcessCollector
(t *testing.T)
prometheus/process_collector_test.go:35
Function
TestPush
(t *testing.T)
prometheus/push/push_test.go:29
Function
TestPush
(t *testing.T)
prometheus/graphite/bridge_test.go:347
Function
TestRegisterUnregisterCollector
TestRegisterUnregisterCollector ensures registering and unregistering a collector doesn't leave any dangling metrics. We use NewGoCollector as a nice
prometheus/registry_test.go:877
Function
TestRmForMemStats
(t *testing.T)
prometheus/go_collector_latest_test.go:33
Function
TestRuntimeMetricsToProm
(t *testing.T)
prometheus/internal/go_runtime_metrics_test.go:24
Function
TestSFBugsComparingEmptyLists
(t *testing.T)
prometheus/internal/difflib_test.go:205
Function
TestSFBugsRatioForNullSeqn
(t *testing.T)
prometheus/internal/difflib_test.go:198
Function
TestSampleStreamJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1682
Function
TestSamplesJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1481
Function
TestSanitize
(t *testing.T)
prometheus/graphite/bridge_test.go:37
Function
TestScrapeAndCompare
(t *testing.T)
prometheus/testutil/testutil_test.go:334
Function
TestScrapeAndCompareBadStatusCode
(t *testing.T)
prometheus/testutil/testutil_test.go:389
Function
TestScrapeAndCompareFetchingFail
(t *testing.T)
prometheus/testutil/testutil_test.go:379
Function
TestScrapeAndCompareWithMultipleExpected
(t *testing.T)
prometheus/testutil/testutil_test.go:354
Function
TestSequenceMatcherRatio
(t *testing.T)
prometheus/internal/difflib_test.go:45
Function
TestSplitLines
(t *testing.T)
prometheus/internal/difflib_test.go:235
Function
TestSummaryConcurrency
(t *testing.T)
prometheus/summary_test.go:201
Function
TestSummaryDecay
(t *testing.T)
prometheus/summary_test.go:373
Function
TestSummaryVecConcurrency
(t *testing.T)
prometheus/summary_test.go:282
Function
TestSummaryVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/summary_test.go:431
Function
TestSummaryVecWithQuantileLabel
(t *testing.T)
prometheus/summary_test.go:95
Function
TestSummaryWithDefaultObjectives
(t *testing.T)
prometheus/summary_test.go:28
Function
TestSummaryWithQuantileLabel
(t *testing.T)
prometheus/summary_test.go:82
Function
TestSummaryWithoutObjectives
(t *testing.T)
prometheus/summary_test.go:54
Function
TestTimerByOutcome
(t *testing.T)
prometheus/timer_test.go:145
Function
TestTimerConditionalTiming
(t *testing.T)
prometheus/timer_test.go:112
Function
TestTimerEmpty
(t *testing.T)
prometheus/timer_test.go:106
Function
TestTimerObserve
(t *testing.T)
prometheus/timer_test.go:25
Function
TestTimerObserveWithExemplar
(t *testing.T)
prometheus/timer_test.go:58
Function
TestToFloat64
(t *testing.T)
prometheus/testutil/testutil_test.go:40
Function
TestToReader
(t *testing.T)
prometheus/graphite/bridge_test.go:245
Function
TestWindowsProcessCollector
(t *testing.T)
prometheus/process_collector_windows_test.go:25
Function
TestWithAsciiBJunk
(t *testing.T)
prometheus/internal/difflib_test.go:178
Function
TestWithAsciiOnDelete
(t *testing.T)
prometheus/internal/difflib_test.go:170
Function
TestWithAsciiOneInsert
(t *testing.T)
prometheus/internal/difflib_test.go:154
Function
TestWithExemplarsMetric
(t *testing.T)
prometheus/metric_test.go:44
Function
TestWithGoCollectorMemStatsMetricsDisabled
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:57
Function
TestWrap
(t *testing.T)
prometheus/wrap_test.go:46
Function
TestWriteHistogram
(t *testing.T)
prometheus/graphite/bridge_test.go:163
Function
TestWriteSummary
(t *testing.T)
prometheus/graphite/bridge_test.go:67
Function
TestWriteToTextfile
(t *testing.T)
prometheus/registry_test.go:991
Method
ToDTO
()
prometheus/value.go:48
Method
URL
(ep string, args map[string]string)
api/client.go:78
Method
URL
(ep string, args map[string]string)
api/prometheus/v1/api.go:1377
Method
URL
(ep string, args map[string]string)
api/prometheus/v1/api_test.go:53
Method
URL
(ep string, args map[string]string)
api/prometheus/v1/api_test.go:1266
Method
URL
(ep string, args map[string]string)
api/prometheus/v1/api_test.go:1737
Method
UnmarshalJSON
(b []byte)
api/prometheus/v1/api.go:739
Method
UnmarshalJSON
(b []byte)
api/prometheus/v1/api.go:784
Method
UnmarshalJSON
(b []byte)
api/prometheus/v1/api.go:821
Method
Unregister
(c Collector)
prometheus/wrap.go:109
Method
WalReplay
WalReplay returns the current replay status of the wal.
api/prometheus/v1/api.go:507
Method
With
(labels prometheus.Labels)
prometheus/example_metricvec_test.go:85
Function
WithGoCollections
WithGoCollections allows enabling different collections for Go collector on top of base metrics. Deprecated: Use WithGoCollectorRuntimeMetrics() and
prometheus/collectors/go_collector_latest.go:148
Method
WrapHandler
WrapHandler wraps the given HTTP handler for instrumentation: It registers four metric collectors (if not already done) and reports HTTP metrics to th
examples/middleware/httpmiddleware/httpmiddleware.go:41
Method
Write
(out *dto.Metric)
prometheus/value.go:94
Method
Write
(out *dto.Metric)
prometheus/value.go:180
Method
Write
(out *dto.Metric)
prometheus/go_collector_latest.go:529
Method
Write
(out *dto.Metric)
prometheus/wrap.go:171
Method
Write
(out *dto.Metric)
prometheus/counter.go:161
Method
Write
(out *dto.Metric)
prometheus/example_metricvec_test.go:39
Method
Write
(*dto.Metric)
prometheus/metric.go:136
Method
Write
(pb *dto.Metric)
prometheus/metric.go:143
Method
Write
(out *dto.Metric)
prometheus/histogram.go:751
Method
Write
(out *dto.Metric)
prometheus/histogram.go:1261
Method
Write
(out *dto.Metric)
prometheus/summary.go:320
Method
Write
(out *dto.Metric)
prometheus/summary.go:483
Method
Write
(out *dto.Metric)
prometheus/summary.go:707
Method
Write
(out *dto.Metric)
prometheus/gauge.go:136
Method
Write
(b []byte)
prometheus/promhttp/delegator.go:68
Method
Write
([]byte)
prometheus/promhttp/instrument_server_test.go:466
Method
Write
([]byte)
prometheus/promhttp/instrument_server_test.go:484
Method
WriteHeader
(int)
prometheus/promhttp/instrument_server_test.go:467
Method
Written
()
prometheus/promhttp/delegator.go:51
Method
apply
(opt *options)
prometheus/promhttp/option.go:57
Function
canCollectProcess
()
prometheus/process_collector_wasip1.go:19
Function
canCollectProcess
()
prometheus/process_collector_windows.go:23
Function
canCollectProcess
()
prometheus/process_collector_other.go:23
Method
compile
()
prometheus/labels.go:66
Method
compile
()
prometheus/labels.go:103
Method
compile
()
prometheus/labels.go:118
Function
getExemplarFn
(ctx context.Context)
tutorial/whatsup/main.go:166
Function
getPIDFn
()
prometheus/get_pid_gopherjs.go:19
Function
getRuntimeNumThreads
getRuntimeNumThreads returns the number of open OS threads.
prometheus/num_threads_gopherjs.go:20
Function
handler
(w http.ResponseWriter, r *http.Request)
prometheus/example_timer_complex_test.go:43
Function
hashAdd
hashAdd adds a string to a fnv64a hash value, returning the updated hash.
prometheus/fnv.go:29
Function
hashAddByte
hashAddByte adds a byte to a fnv64a hash value, returning the updated hash.
prometheus/fnv.go:38
Function
init
()
prometheus/registry.go:60
Function
init
()
prometheus/promhttp/delegator.go:122
Function
init
()
api/prometheus/v1/api.go:37
Method
labelNames
()
prometheus/labels.go:82
← previous
next →
801–900 of 932, ranked by callers