MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,307 in github.com/prometheus/client_golang

FunctionTestLintUnitAbbreviations
(t *testing.T)
prometheus/testutil/promlint/promlint_test.go:746
FunctionTestMemStatsEquivalence
(t *testing.T)
prometheus/go_collector_latest_test.go:258
FunctionTestMetricNotFound
(t *testing.T)
prometheus/testutil/testutil_test.go:292
FunctionTestMetricVec
(t *testing.T)
prometheus/vec_test.go:263
FunctionTestMetricVecWithCollisions
(t *testing.T)
prometheus/vec_test.go:274
FunctionTestMetricVecWithConstraints
(t *testing.T)
prometheus/vec_test.go:344
FunctionTestMiddlewareAPI
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:419
FunctionTestMiddlewareAPI_SummaryWithExemplars
TestMiddlewareAPI_SummaryWithExemplars is a regression test for https://github.com/prometheus/client_golang/issues/1258. SummaryVec is a valid prometh
prometheus/promhttp/instrument_server_test.go:452
FunctionTestMiddlewareAPI_WithExemplars
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:431
FunctionTestNativeHistogram
(t *testing.T)
prometheus/histogram_test.go:473
FunctionTestNativeHistogramConcurrency
(t *testing.T)
prometheus/histogram_test.go:1010
FunctionTestNativeHistogramExemplar
(t *testing.T)
prometheus/histogram_test.go:1306
FunctionTestNegotiateContentEncoding
(t *testing.T)
internal/github.com/golang/gddo/httputil/negotiate_test.go:32
FunctionTestNegotiateEncodingWriter
(t *testing.T)
prometheus/promhttp/http_test.go:519
FunctionTestNewConstHistogramWithCreatedTimestamp
(t *testing.T)
prometheus/histogram_test.go:1281
FunctionTestNewConstMetricInvalidLabelValues
(t *testing.T)
prometheus/value_test.go:24
FunctionTestNewConstMetricWithCreatedTimestamp
(t *testing.T)
prometheus/value_test.go:61
FunctionTestNewConstSummaryWithCreatedTimestamp
(t *testing.T)
prometheus/summary_test.go:475
FunctionTestNewDescInvalidConstLabelValues
(t *testing.T)
prometheus/desc_test.go:20
FunctionTestNewDescInvalidVariableLabelName
(t *testing.T)
prometheus/desc_test.go:33
FunctionTestNewDescNilLabelValues
(t *testing.T)
prometheus/desc_test.go:46
FunctionTestNewDescWithNilLabelValues_String
(t *testing.T)
prometheus/desc_test.go:58
FunctionTestNewDescWithUnit_String
(t *testing.T)
prometheus/desc_test.go:79
FunctionTestNewInvalidDesc_String
(t *testing.T)
prometheus/desc_test.go:70
FunctionTestNewMultiTRegistry
(t *testing.T)
prometheus/registry_test.go:1205
FunctionTestNewPidFileFn
(t *testing.T)
prometheus/process_collector_test.go:24
FunctionTestNil
(t *testing.T)
prometheus/wrap_test.go:340
FunctionTestNil
(_ *testing.T)
prometheus/promauto/auto_test.go:22
FunctionTestNoMetricFilter
(t *testing.T)
prometheus/testutil/testutil_test.go:268
FunctionTestObserveWithExemplar_NonExemplarObserverFallsBack
(t *testing.T)
prometheus/promhttp/instrument_server_test.go:506
FunctionTestOutputFormatRangeFormatUnified
(t *testing.T)
prometheus/internal/difflib_test.go:218
FunctionTestParseAccept
(t *testing.T)
internal/github.com/golang/gddo/httputil/header/header_test.go:41
FunctionTestPlayground
(t *testing.T)
tutorials/whatsup/internal/playground_test.go:37
FunctionTestProcessCollector
(t *testing.T)
prometheus/process_collector_linux_test.go:29
FunctionTestPush
(t *testing.T)
prometheus/push/push_test.go:29
FunctionTestPush
(t *testing.T)
prometheus/graphite/bridge_test.go:348
FunctionTestRegisterUnregisterCollector
TestRegisterUnregisterCollector ensures registering and unregistering a collector doesn't leave any dangling metrics. We use NewGoCollector as a nice
prometheus/registry_test.go:880
FunctionTestRemoteAPI_Write_GenericProtoResetsPooledBuffer
(t *testing.T)
exp/api/remote/remote_api_test.go:188
FunctionTestRemoteAPI_Write_WithHandler
(t *testing.T)
exp/api/remote/remote_api_test.go:227
FunctionTestReplaceInvalidRune
(t *testing.T)
prometheus/graphite/bridge_test.go:472
FunctionTestResponseWriterDelegatorUnwrap
(t *testing.T)
prometheus/promhttp/delegator_test.go:57
FunctionTestRetryAfterDuration
(t *testing.T)
exp/api/remote/remote_api_test.go:41
FunctionTestRmForMemStats
(t *testing.T)
prometheus/go_collector_latest_test.go:32
FunctionTestRuntimeMetricsToProm
(t *testing.T)
prometheus/internal/go_runtime_metrics_test.go:21
FunctionTestSFBugsComparingEmptyLists
(t *testing.T)
prometheus/internal/difflib_test.go:205
FunctionTestSFBugsRatioForNullSeqn
(t *testing.T)
prometheus/internal/difflib_test.go:198
FunctionTestSampleStreamJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1986
FunctionTestSamplesJSONSerialization
(t *testing.T)
api/prometheus/v1/api_test.go:1785
FunctionTestSanitize
(t *testing.T)
prometheus/graphite/bridge_test.go:38
FunctionTestScrapeAndCompare
(t *testing.T)
prometheus/testutil/testutil_test.go:330
FunctionTestScrapeAndCompareBadStatusCode
(t *testing.T)
prometheus/testutil/testutil_test.go:385
FunctionTestScrapeAndCompareFetchingFail
(t *testing.T)
prometheus/testutil/testutil_test.go:375
FunctionTestScrapeAndCompareWithMultipleExpected
(t *testing.T)
prometheus/testutil/testutil_test.go:350
FunctionTestSequenceMatcherRatio
(t *testing.T)
prometheus/internal/difflib_test.go:45
FunctionTestSnappyDecodeMiddleware
(t *testing.T)
exp/api/remote/remote_api_test.go:381
FunctionTestSplitLines
(t *testing.T)
prometheus/internal/difflib_test.go:235
FunctionTestSummaryConcurrency
(t *testing.T)
prometheus/summary_test.go:201
FunctionTestSummaryDecay
(t *testing.T)
prometheus/summary_test.go:373
FunctionTestSummaryVecConcurrency
(t *testing.T)
prometheus/summary_test.go:282
FunctionTestSummaryVecCreatedTimestampWithDeletes
(t *testing.T)
prometheus/summary_test.go:428
FunctionTestSummaryVecWithQuantileLabel
(t *testing.T)
prometheus/summary_test.go:95
FunctionTestSummaryWithDefaultObjectives
(t *testing.T)
prometheus/summary_test.go:28
FunctionTestSummaryWithQuantileLabel
(t *testing.T)
prometheus/summary_test.go:82
FunctionTestSummaryWithoutObjectives
(t *testing.T)
prometheus/summary_test.go:54
FunctionTestSymbolsTable
(t *testing.T)
exp/api/remote/genproto/v2/symbols_test.go:45
FunctionTestTSDBBlockTypeParity
TestTSDBBlockTypeParity diffs the upstream and client struct definitions field by field, catching added, removed, renamed, or retyped fields and omite
api/prometheus/v1/paritytest/tsdb_blocks_parity_test.go:62
FunctionTestTimerByOutcome
(t *testing.T)
prometheus/timer_test.go:165
FunctionTestTimerConditionalTiming
(t *testing.T)
prometheus/timer_test.go:132
FunctionTestTimerEmpty
(t *testing.T)
prometheus/timer_test.go:121
FunctionTestTimerObserve
(t *testing.T)
prometheus/timer_test.go:25
FunctionTestTimerObserveWithExemplar
(t *testing.T)
prometheus/timer_test.go:66
FunctionTestToFloat64
(t *testing.T)
prometheus/testutil/testutil_test.go:42
FunctionTestToReader
(t *testing.T)
prometheus/graphite/bridge_test.go:246
FunctionTestWindowsDescribeAndCollectAlignment
(t *testing.T)
prometheus/process_collector_windows_test.go:72
FunctionTestWindowsProcessCollector
(t *testing.T)
prometheus/process_collector_windows_test.go:27
FunctionTestWindowsProcessCollectorUsesPidFn
(t *testing.T)
prometheus/process_collector_windows_test.go:121
FunctionTestWithAsciiBJunk
(t *testing.T)
prometheus/internal/difflib_test.go:178
FunctionTestWithAsciiOnDelete
(t *testing.T)
prometheus/internal/difflib_test.go:170
FunctionTestWithAsciiOneInsert
(t *testing.T)
prometheus/internal/difflib_test.go:154
FunctionTestWithExemplarsMetric
(t *testing.T)
prometheus/metric_test.go:48
FunctionTestWithExemplarsNativeHistogramMetric
(t *testing.T)
prometheus/metric_test.go:98
FunctionTestWithGoCollectorDefault
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:96
FunctionTestWithGoCollectorMemStatsMetricsDisabled
(t *testing.T)
prometheus/collectors/go_collector_latest_test.go:116
FunctionTestWrapCollector
(t *testing.T)
prometheus/wrap_test.go:349
FunctionTestWrapRegisterer
(t *testing.T)
prometheus/wrap_test.go:46
FunctionTestWriteHistogram
(t *testing.T)
prometheus/graphite/bridge_test.go:164
FunctionTestWriteResponse
(t *testing.T)
exp/api/remote/remote_headers_test.go:25
FunctionTestWriteSummary
(t *testing.T)
prometheus/graphite/bridge_test.go:68
FunctionTestWriteToTextfile
(t *testing.T)
prometheus/registry_test.go:994
FunctionTestZstdRegistersWriter
(t *testing.T)
prometheus/promhttp/zstd/zstd_test.go:26
FunctionTestZstdWriterRoundTrip
(t *testing.T)
prometheus/promhttp/zstd/zstd_test.go:32
FunctionTest_WriteHandler_V1HandlingDoesNotAddV2Headers
(t *testing.T)
exp/api/remote/remote_api_test.go:76
MethodToDTO
()
prometheus/value.go:47
MethodType
()
exp/api/remote/genproto/v2/types.pb.go:142
MethodURL
(ep string, args map[string]string)
api/client.go:83
MethodURL
(ep string, args map[string]string)
api/prometheus/v1/api.go:1043
MethodURL
(ep string, args map[string]string)
api/prometheus/v1/api_test.go:55
MethodURL
(_ string, _ map[string]string)
api/prometheus/v1/api_test.go:1525
MethodURL
(_ string, _ map[string]string)
api/prometheus/v1/api_test.go:2041
MethodUnmarshalJSON
(b []byte)
api/prometheus/v1/api.go:442
← previousnext →1,101–1,200 of 1,307, ranked by callers