MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,308 in github.com/prometheus/client_golang

FunctionExampleRegistry_grouping
This example shows how to use multiple registries for registering and unregistering groups of metrics.
prometheus/registry_test.go:1273
FunctionExampleSummary
()
prometheus/examples_test.go:323
FunctionExampleSummaryVec
()
prometheus/examples_test.go:347
FunctionExampleTimer
()
prometheus/example_timer_test.go:29
FunctionExampleTimer_complex
()
prometheus/example_timer_complex_test.go:67
FunctionExampleTimer_gauge
()
prometheus/example_timer_gauge_test.go:42
FunctionExampleWithExtraMethods
()
prometheus/promhttp/option_test.go:30
FunctionExampleWithLabelFromCtx
()
prometheus/promhttp/option_test.go:73
FunctionExampleWrapCollectorWith
Using WrapCollectorWith to un-register metrics registered by a third party lib. newThirdPartyLibFoo illustrates a constructor from a third-party lib t
prometheus/examples_test.go:799
MethodFlags
Flags returns the flag values that Prometheus was launched with.
api/prometheus/v1/api.go:478
MethodFlush
()
prometheus/promhttp/instrument_server_test.go:566
MethodFlushError
()
prometheus/promhttp/delegator_test.go:39
MethodFormatQuery
FormatQuery formats a PromQL expression in a prettified way.
api/prometheus/v1/api.go:513
MethodGather
()
prometheus/registry_test.go:1197
MethodGather
Gather implements Gatherer.
prometheus/registry.go:193
MethodGather
Gather returns metrics in a lexicographically sorted slice of uniquely named MetricFamily protobufs. Gather ensures that the returned slice is valid a
prometheus/registry.go:1107
MethodGather
Gather implements TransactionalGatherer interface.
prometheus/registry.go:1120
MethodGather
()
prometheus/promhttp/http_test.go:80
MethodGather
()
prometheus/promhttp/http_test.go:913
MethodGather
()
prometheus/promhttp/http_test.go:1097
MethodGetCountFloat
()
exp/api/remote/genproto/v2/types.pb.go:690
MethodGetCountInt
()
exp/api/remote/genproto/v2/types.pb.go:683
MethodGetCreatedTimestamp
()
exp/api/remote/genproto/v2/types.pb.go:340
MethodGetCustomValues
()
exp/api/remote/genproto/v2/types.pb.go:795
MethodGetExemplars
()
exp/api/remote/genproto/v2/types.pb.go:326
MethodGetHelpRef
()
exp/api/remote/genproto/v2/types.pb.go:540
MethodGetHistograms
()
exp/api/remote/genproto/v2/types.pb.go:319
MethodGetLabelsRefs
()
exp/api/remote/genproto/v2/types.pb.go:305
MethodGetLabelsRefs
()
exp/api/remote/genproto/v2/types.pb.go:402
MethodGetLength
()
exp/api/remote/genproto/v2/types.pb.go:887
MethodGetMetadata
()
exp/api/remote/genproto/v2/types.pb.go:333
MethodGetMetricWith
GetMetricWith returns the Metric for the given Labels map (the label names must match those of the variable labels in Desc). If that label map is acce
prometheus/vec.go:240
MethodGetMetricWithLabelValues
GetMetricWithLabelValues returns the Metric for the given slice of label values (same order as the variable labels in Desc). If that combination of la
prometheus/vec.go:214
MethodGetNegativeCounts
()
exp/api/remote/genproto/v2/types.pb.go:753
MethodGetNegativeDeltas
()
exp/api/remote/genproto/v2/types.pb.go:746
MethodGetNegativeSpans
()
exp/api/remote/genproto/v2/types.pb.go:739
MethodGetOffset
()
exp/api/remote/genproto/v2/types.pb.go:880
MethodGetPositiveCounts
()
exp/api/remote/genproto/v2/types.pb.go:774
MethodGetPositiveDeltas
()
exp/api/remote/genproto/v2/types.pb.go:767
MethodGetPositiveSpans
()
exp/api/remote/genproto/v2/types.pb.go:760
MethodGetResetHint
()
exp/api/remote/genproto/v2/types.pb.go:781
MethodGetSamples
()
exp/api/remote/genproto/v2/types.pb.go:312
MethodGetSchema
()
exp/api/remote/genproto/v2/types.pb.go:704
MethodGetSum
()
exp/api/remote/genproto/v2/types.pb.go:697
MethodGetSymbols
()
exp/api/remote/genproto/v2/types.pb.go:215
MethodGetTimeseries
()
exp/api/remote/genproto/v2/types.pb.go:222
MethodGetTimestamp
()
exp/api/remote/genproto/v2/types.pb.go:416
MethodGetTimestamp
()
exp/api/remote/genproto/v2/types.pb.go:788
MethodGetUnitRef
()
exp/api/remote/genproto/v2/types.pb.go:547
MethodGetValue
()
exp/api/remote/genproto/v2/types.pb.go:409
MethodGetZeroCountFloat
()
exp/api/remote/genproto/v2/types.pb.go:732
MethodGetZeroCountInt
()
exp/api/remote/genproto/v2/types.pb.go:725
MethodHeader
()
prometheus/promhttp/instrument_server_test.go:559
MethodHeader
()
prometheus/promhttp/instrument_server_test.go:577
MethodHijack
()
prometheus/promhttp/delegator.go:107
MethodInc
()
prometheus/counter.go:152
MethodInc
()
prometheus/gauge.go:115
MethodInc
()
prometheus/promhttp/instrument_server_test.go:503
MethodLabelNames
LabelNames returns the unique label names present in the block in sorted order by given time range and matchers.
api/prometheus/v1/api.go:480
MethodLabelValues
LabelValues performs a query for the values of the given label, time range and matchers.
api/prometheus/v1/api.go:482
MethodLen
()
prometheus/histogram.go:1449
MethodLen
()
prometheus/summary.go:539
MethodLen
()
prometheus/internal/metric.go:26
MethodLen
()
prometheus/internal/metric.go:41
MethodLess
(i, j int)
prometheus/histogram.go:1457
MethodLess
(i, j int)
prometheus/summary.go:547
MethodLess
(i, j int)
prometheus/internal/metric.go:34
MethodLess
(i, j int)
prometheus/internal/metric.go:49
FunctionLintCamelCase
LintCamelCase detects metric names and label names written in camelCase.
prometheus/testutil/promlint/validations/generic_name_validations.go:75
FunctionLintCounter
LintCounter detects issues specific to counters, as well as patterns that should only be used with counters.
prometheus/testutil/promlint/validations/counter_validations.go:25
FunctionLintDuplicateMetric
LintDuplicateMetric detects duplicate metric.
prometheus/testutil/promlint/validations/duplicate_validations.go:24
FunctionLintHelp
LintHelp detects issues related to the help text for a metric.
prometheus/testutil/promlint/validations/help_validations.go:23
FunctionLintHistogramSummaryReserved
LintHistogramSummaryReserved detects when other types of metrics use names or labels reserved for use by histograms and/or summaries.
prometheus/testutil/promlint/validations/histogram_validations.go:25
FunctionLintMetricTypeInName
LintMetricTypeInName detects when the metric type is included in the metric name.
prometheus/testutil/promlint/validations/generic_name_validations.go:48
FunctionLintMetricUnits
LintMetricUnits detects issues with metric unit names.
prometheus/testutil/promlint/validations/generic_name_validations.go:28
FunctionLintReservedChars
LintReservedChars detects colons in metric names.
prometheus/testutil/promlint/validations/generic_name_validations.go:66
FunctionLintUnitAbbreviations
LintUnitAbbreviations detects abbreviated units in the metric name.
prometheus/testutil/promlint/validations/generic_name_validations.go:92
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:38
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:92
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:196
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:260
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:304
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:352
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:515
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:527
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:540
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:552
MethodMarshalToVT
(dAtA []byte)
exp/api/remote/genproto/v2/types_vtproto.pb.go:578
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:25
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:79
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:183
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:247
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:291
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:339
MethodMarshalVT
()
exp/api/remote/genproto/v2/types_vtproto.pb.go:565
MethodMetadata
Metadata returns metadata about metrics currently scraped by the metric name.
api/prometheus/v1/api.go:505
MethodMustCurryWith
(labels prometheus.Labels)
prometheus/example_metricvec_test.go:101
MethodMustCurryWith
MustCurryWith works as CurryWith but panics where CurryWith would have returned an error.
prometheus/summary.go:694
MethodMustCurryWith
MustCurryWith works as CurryWith but panics where CurryWith would have returned an error.
prometheus/gauge.go:280
MethodMustGather
MustGather implements Gatherer. Wraps around Gather and panics if Gather fails for any reason.
prometheus/registry.go:426
← previousnext →801–900 of 1,308, ranked by callers