MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,307 in github.com/prometheus/client_golang

FunctionTestCoalesceGatherSequentialInvariant
TestCoalesceGatherSequentialInvariant verifies that sequential requests each trigger exactly one Gather call and one done call.
prometheus/promhttp/http_test.go:1078
FunctionTestCollectAndCompare
(t *testing.T)
prometheus/testutil/testutil_test.go:126
FunctionTestCollectAndCompareHistogram
(t *testing.T)
prometheus/testutil/testutil_test.go:193
FunctionTestCollectAndCompareNoHelp
(t *testing.T)
prometheus/testutil/testutil_test.go:173
FunctionTestCollectAndCompareNoLabel
(t *testing.T)
prometheus/testutil/testutil_test.go:151
FunctionTestCollectAndCount
(t *testing.T)
prometheus/testutil/testutil_test.go:410
FunctionTestCollectAndFormat
(t *testing.T)
prometheus/testutil/testutil_test.go:437
FunctionTestCollectAndLintBad
(t *testing.T)
prometheus/testutil/lint_test.go:45
FunctionTestCollectAndLintGood
(t *testing.T)
prometheus/testutil/lint_test.go:22
FunctionTestCollectorFunc
(t *testing.T)
prometheus/collectorfunc_test.go:18
FunctionTestCollectorFuncWithRegistry
(t *testing.T)
prometheus/collectorfunc_test.go:56
FunctionTestCollectorOnMetricPanic
TestCollectorOnMetricPanic ensures that if a collector panics while collecting a metric, the panic is recovered and the error is returned by Gather. I
prometheus/registry_test.go:1319
FunctionTestConfig
(t *testing.T)
api/client_test.go:28
FunctionTestConstNativeHistogram
(t *testing.T)
prometheus/histogram_test.go:1575
FunctionTestCounterAdd
(t *testing.T)
prometheus/counter_test.go:27
FunctionTestCounterAddInf
(t *testing.T)
prometheus/counter_test.go:146
FunctionTestCounterAddLarge
(t *testing.T)
prometheus/counter_test.go:194
FunctionTestCounterAddSmall
(t *testing.T)
prometheus/counter_test.go:228
FunctionTestCounterExemplar
(t *testing.T)
prometheus/counter_test.go:261
FunctionTestCounterVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/counter_test.go:320
FunctionTestCounterVecEndToEndWithCollision
(t *testing.T)
prometheus/vec_test.go:416
FunctionTestCounterVecGetMetricWithInvalidLabelValues
(t *testing.T)
prometheus/counter_test.go:91
FunctionTestCurryVec
(t *testing.T)
prometheus/vec_test.go:449
FunctionTestCurryVecWithCollisions
(t *testing.T)
prometheus/vec_test.go:460
FunctionTestCurryVecWithConstraints
(t *testing.T)
prometheus/vec_test.go:473
FunctionTestCustomValidations
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:804
FunctionTestDBStatsCollector
(t *testing.T)
prometheus/collectors/dbstats_collector_test.go:23
FunctionTestDarwinDescribeAndCollectAlignment
(t *testing.T)
prometheus/process_collector_darwin_test.go:84
FunctionTestDarwinProcessCollector
(t *testing.T)
prometheus/process_collector_darwin_test.go:27
FunctionTestDelete
(t *testing.T)
prometheus/vec_test.go:25
FunctionTestDeleteLabelValues
(t *testing.T)
prometheus/vec_test.go:93
FunctionTestDeleteLabelValuesWithCollisions
(t *testing.T)
prometheus/vec_test.go:104
FunctionTestDeleteLabelValuesWithConstraints
(t *testing.T)
prometheus/vec_test.go:117
FunctionTestDeletePartialMatch
(t *testing.T)
prometheus/vec_test.go:158
FunctionTestDeletePartialMatchWithConstraints
(t *testing.T)
prometheus/vec_test.go:169
FunctionTestDeleteWithCollisions
(t *testing.T)
prometheus/vec_test.go:36
FunctionTestDeleteWithConstraints
(t *testing.T)
prometheus/vec_test.go:49
FunctionTestDescribeAndCollectAlignment
(t *testing.T)
prometheus/process_collector_linux_test.go:107
FunctionTestDescribeByCollect
(t *testing.T)
prometheus/collector_test.go:32
FunctionTestDoContextCancellation
(t *testing.T)
api/client_test.go:129
FunctionTestDoContextCancellationSlowServer
(t *testing.T)
api/client_test.go:175
FunctionTestDoGetFallback
(t *testing.T)
api/prometheus/v1/api_test.go:2071
FunctionTestExpectedRuntimeMetrics
(t *testing.T)
prometheus/go_collector_latest_test.go:310
FunctionTestFindBucket
(t *testing.T)
prometheus/histogram_test.go:1535
FunctionTestGatherAndFormat
(t *testing.T)
prometheus/testutil/testutil_test.go:479
FunctionTestGatherDoesNotLeakGoroutines
(t *testing.T)
prometheus/registry_test.go:1399
FunctionTestGaugeConcurrency
(t *testing.T)
prometheus/gauge_test.go:47
FunctionTestGaugeFunc
(t *testing.T)
prometheus/gauge_test.go:164
FunctionTestGaugeSetCurrentTime
(t *testing.T)
prometheus/gauge_test.go:196
FunctionTestGaugeVecConcurrency
(t *testing.T)
prometheus/gauge_test.go:99
FunctionTestGetLe
(t *testing.T)
prometheus/histogram_test.go:1111
FunctionTestGetOptCodes
(t *testing.T)
prometheus/internal/difflib_test.go:52
FunctionTestGoCollectorAllowList
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:136
FunctionTestGoCollectorConcurrency
(_ *testing.T)
prometheus/go_collector_latest_test.go:395
FunctionTestGoCollectorDenyList
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:202
FunctionTestGoCollectorGC
(t *testing.T)
prometheus/go_collector_test.go:91
FunctionTestGoCollectorGoroutines
(t *testing.T)
prometheus/go_collector_test.go:24
FunctionTestGoCollectorMarshalling
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:79
FunctionTestGoCollectorRuntimeMetricsUnit
(t *testing.T)
prometheus/go_collector_latest_test.go:418
FunctionTestGoCollector_ExposedMetrics
(t *testing.T)
prometheus/go_collector_latest_test.go:83
FunctionTestGoVersionCollector
(t *testing.T)
prometheus/collectors/version/version_test.go:28
FunctionTestGoVersionCollectorWithLabels
(t *testing.T)
prometheus/collectors/version/version_test.go:70
FunctionTestGroupedOpCodes
(t *testing.T)
prometheus/internal/difflib_test.go:73
FunctionTestHandler
(t *testing.T)
prometheus/registry_test.go:747
FunctionTestHandlerErrorHandling
(t *testing.T)
prometheus/promhttp/http_test.go:107
FunctionTestHandlerMaxRequestsInFlight
(t *testing.T)
prometheus/promhttp/http_test.go:311
FunctionTestHandlerOpenMetricsNegotiation
(t *testing.T)
prometheus/promhttp/http_test.go:714
FunctionTestHandlerSetsVaryHeader
(t *testing.T)
prometheus/promhttp/http_test.go:487
FunctionTestHandlerTimeout
(t *testing.T)
prometheus/promhttp/http_test.go:349
FunctionTestHandlerWithEmojiUnit
(t *testing.T)
prometheus/promhttp/http_test.go:682
FunctionTestHandlerWithEmptyUnit
(t *testing.T)
prometheus/promhttp/http_test.go:620
FunctionTestHandlerWithLongUnit
(t *testing.T)
prometheus/promhttp/http_test.go:649
FunctionTestHandlerWithMetricFilter
(t *testing.T)
prometheus/promhttp/http_test.go:932
FunctionTestHandlerWithNilRequestURL
(t *testing.T)
prometheus/promhttp/http_test.go:1039
FunctionTestHandlerWithUnit
(t *testing.T)
prometheus/promhttp/http_test.go:586
FunctionTestHistogramAtomicObserve
(t *testing.T)
prometheus/histogram_test.go:369
FunctionTestHistogramConcurrency
(t *testing.T)
prometheus/histogram_test.go:156
FunctionTestHistogramCreatedTimestamp
(t *testing.T)
prometheus/histogram_test.go:1202
FunctionTestHistogramExemplar
(t *testing.T)
prometheus/histogram_test.go:414
FunctionTestHistogramJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1881
FunctionTestHistogramNonMonotonicBuckets
(t *testing.T)
prometheus/histogram_test.go:130
FunctionTestHistogramVecConcurrency
(t *testing.T)
prometheus/histogram_test.go:242
FunctionTestHistogramVecCreatedTimestamp
(t *testing.T)
prometheus/histogram_test.go:1222
FunctionTestHistogramVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/histogram_test.go:1243
FunctionTestHistogramVecRegisterGatherConcurrency
TestHistogramVecRegisterGatherConcurrency is an end-to-end test that concurrently calls Observe on random elements of a HistogramVec while the same Hi
prometheus/registry_test.go:897
FunctionTestInstrumentHandlerLabelFromCtxConcurrent
Regression test against https://github.com/prometheus/client_golang/pull/1318
prometheus/promhttp/instrument_server_test.go:621
FunctionTestInstrumentMetricHandler
(t *testing.T)
prometheus/promhttp/http_test.go:251
FunctionTestInstrumentMetricHandlerWithCompression
(t *testing.T)
prometheus/promhttp/http_test.go:372
FunctionTestInstrumentTimeToFirstWrite
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:536
FunctionTestInterfaceUpgrade
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:582
FunctionTestLabelCheck
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:30
FunctionTestLabels
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:245
FunctionTestLintCamelCase
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:712
FunctionTestLintCounter
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:452
FunctionTestLintDuplicateMetric
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:856
FunctionTestLintHistogramSummaryReserved
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:515
FunctionTestLintMetricTypeInName
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:659
FunctionTestLintMetricUnits
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:93
FunctionTestLintNoHelpText
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:34
FunctionTestLintReservedChars
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:692
← previousnext →1,001–1,100 of 1,307, ranked by callers