MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions932 in github.com/prometheus/client_golang

MethodTargetsMetadata
TargetsMetadata returns metadata about metrics currently scraped by the target.
api/prometheus/v1/api.go:501
FunctionTestAPIClientDo
(t *testing.T)
api/prometheus/v1/api_test.go:1300
FunctionTestAPIs
(t *testing.T)
api/prometheus/v1/api_test.go:100
FunctionTestAcceptance
(t *testing.T)
tutorial/whatsup/internal/acceptance_test.go:29
FunctionTestAlreadyRegistered
(t *testing.T)
prometheus/registry_test.go:754
FunctionTestAlreadyRegisteredCollision
TestAlreadyRegistered will fail with the old, weaker hash function. It is taken from https://play.golang.org/p/HpV7YE6LI_4 , authored by @awilliams.
prometheus/registry_test.go:1125
FunctionTestBatchHistogram
(t *testing.T)
prometheus/go_collector_latest_test.go:143
FunctionTestBuckets
(t *testing.T)
prometheus/histogram_test.go:344
FunctionTestBuildFQName
(t *testing.T)
prometheus/metric_test.go:25
FunctionTestCheckMetricConsistency
TestCheckMetricConsistency
prometheus/registry_test.go:1308
FunctionTestClientMiddlewareAPI
(t *testing.T)
prometheus/promhttp/instrument_client_test.go:185
FunctionTestClientMiddlewareAPIWithRequestContextTimeout
(t *testing.T)
prometheus/promhttp/instrument_client_test.go:269
FunctionTestClientMiddlewareAPI_WithExemplars
(t *testing.T)
prometheus/promhttp/instrument_client_test.go:201
FunctionTestClientMiddlewareAPI_WithRequestContext
(t *testing.T)
prometheus/promhttp/instrument_client_test.go:219
FunctionTestClientURL
(t *testing.T)
api/client_test.go:33
FunctionTestCollectAndCompare
(t *testing.T)
prometheus/testutil/testutil_test.go:124
FunctionTestCollectAndCompareHistogram
(t *testing.T)
prometheus/testutil/testutil_test.go:191
FunctionTestCollectAndCompareNoHelp
(t *testing.T)
prometheus/testutil/testutil_test.go:171
FunctionTestCollectAndCompareNoLabel
(t *testing.T)
prometheus/testutil/testutil_test.go:149
FunctionTestCollectAndCount
(t *testing.T)
prometheus/testutil/testutil_test.go:414
FunctionTestCollectAndLintBad
(t *testing.T)
prometheus/testutil/lint_test.go:45
FunctionTestCollectAndLintGood
(t *testing.T)
prometheus/testutil/lint_test.go:22
FunctionTestConfig
(t *testing.T)
api/client_test.go:26
FunctionTestCounterAdd
(t *testing.T)
prometheus/counter_test.go:28
FunctionTestCounterAddInf
(t *testing.T)
prometheus/counter_test.go:147
FunctionTestCounterAddLarge
(t *testing.T)
prometheus/counter_test.go:195
FunctionTestCounterAddSmall
(t *testing.T)
prometheus/counter_test.go:229
FunctionTestCounterExemplar
(t *testing.T)
prometheus/counter_test.go:262
FunctionTestCounterVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/counter_test.go:321
FunctionTestCounterVecEndToEndWithCollision
(t *testing.T)
prometheus/vec_test.go:415
FunctionTestCounterVecGetMetricWithInvalidLabelValues
(t *testing.T)
prometheus/counter_test.go:92
FunctionTestCurryVec
(t *testing.T)
prometheus/vec_test.go:448
FunctionTestCurryVecWithCollisions
(t *testing.T)
prometheus/vec_test.go:459
FunctionTestCurryVecWithConstraints
(t *testing.T)
prometheus/vec_test.go:472
FunctionTestCustomValidations
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:792
FunctionTestDBStatsCollector
(t *testing.T)
prometheus/collectors/dbstats_collector_test.go:23
FunctionTestDelete
(t *testing.T)
prometheus/vec_test.go:24
FunctionTestDeleteLabelValues
(t *testing.T)
prometheus/vec_test.go:92
FunctionTestDeleteLabelValuesWithCollisions
(t *testing.T)
prometheus/vec_test.go:103
FunctionTestDeleteLabelValuesWithConstraints
(t *testing.T)
prometheus/vec_test.go:116
FunctionTestDeletePartialMatch
(t *testing.T)
prometheus/vec_test.go:157
FunctionTestDeletePartialMatchWithConstraints
(t *testing.T)
prometheus/vec_test.go:168
FunctionTestDeleteWithCollisions
(t *testing.T)
prometheus/vec_test.go:35
FunctionTestDeleteWithConstraints
(t *testing.T)
prometheus/vec_test.go:48
FunctionTestDescribeByCollect
(t *testing.T)
prometheus/collector_test.go:32
FunctionTestDoGetFallback
(t *testing.T)
api/prometheus/v1/api_test.go:1767
FunctionTestExpectedRuntimeMetrics
(t *testing.T)
prometheus/go_collector_latest_test.go:301
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:1105
FunctionTestGetOptCodes
(t *testing.T)
prometheus/internal/difflib_test.go:52
FunctionTestGoCollectorAllowList
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:77
FunctionTestGoCollectorConcurrency
(t *testing.T)
prometheus/go_collector_latest_test.go:386
FunctionTestGoCollectorDenyList
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:138
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:40
FunctionTestGoCollectorMemStats
(t *testing.T)
prometheus/go_collector_go116_test.go:27
FunctionTestGoCollector_ExposedMetrics
(t *testing.T)
prometheus/go_collector_latest_test.go:77
FunctionTestGroupedOpCodes
(t *testing.T)
prometheus/internal/difflib_test.go:73
FunctionTestHandler
(t *testing.T)
prometheus/registry_test.go:744
FunctionTestHandlerErrorHandling
(t *testing.T)
prometheus/promhttp/http_test.go:74
FunctionTestHandlerMaxRequestsInFlight
(t *testing.T)
prometheus/promhttp/http_test.go:274
FunctionTestHandlerTimeout
(t *testing.T)
prometheus/promhttp/http_test.go:312
FunctionTestHistogramAtomicObserve
(t *testing.T)
prometheus/histogram_test.go:368
FunctionTestHistogramConcurrency
(t *testing.T)
prometheus/histogram_test.go:155
FunctionTestHistogramCreatedTimestamp
(t *testing.T)
prometheus/histogram_test.go:1196
FunctionTestHistogramExemplar
(t *testing.T)
prometheus/histogram_test.go:412
FunctionTestHistogramJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1577
FunctionTestHistogramNonMonotonicBuckets
(t *testing.T)
prometheus/histogram_test.go:129
FunctionTestHistogramVecConcurrency
(t *testing.T)
prometheus/histogram_test.go:241
FunctionTestHistogramVecCreatedTimestamp
(t *testing.T)
prometheus/histogram_test.go:1216
FunctionTestHistogramVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/histogram_test.go:1237
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:894
FunctionTestInstrumentMetricHandler
(t *testing.T)
prometheus/promhttp/http_test.go:218
FunctionTestInstrumentTimeToFirstWrite
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:442
FunctionTestInterfaceUpgrade
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:488
FunctionTestLabelCheck
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:27
FunctionTestLabels
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:242
FunctionTestLintCamelCase
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:700
FunctionTestLintCounter
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:439
FunctionTestLintHistogramSummaryReserved
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:502
FunctionTestLintMetricTypeInName
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:646
FunctionTestLintMetricUnits
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:92
FunctionTestLintNoHelpText
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:33
FunctionTestLintReservedChars
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:680
FunctionTestLintUnitAbbreviations
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:734
FunctionTestMemStatsEquivalence
(t *testing.T)
prometheus/go_collector_latest_test.go:253
FunctionTestMetricNotFound
(t *testing.T)
prometheus/testutil/testutil_test.go:290
FunctionTestMetricVec
(t *testing.T)
prometheus/vec_test.go:262
FunctionTestMetricVecWithCollisions
(t *testing.T)
prometheus/vec_test.go:273
FunctionTestMetricVecWithConstraints
(t *testing.T)
prometheus/vec_test.go:343
FunctionTestMiddlewareAPI
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:416
FunctionTestMiddlewareAPI_WithExemplars
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:428
FunctionTestNativeHistogram
(t *testing.T)
prometheus/histogram_test.go:471
FunctionTestNativeHistogramConcurrency
(t *testing.T)
prometheus/histogram_test.go:1008
FunctionTestNewConstMetricInvalidLabelValues
(t *testing.T)
prometheus/value_test.go:25
FunctionTestNewConstMetricWithCreatedTimestamp
(t *testing.T)
prometheus/value_test.go:62
← previousnext →701–800 of 932, ranked by callers