MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,308 in github.com/prometheus/client_golang

MethodCollect
Collect implements Collector.
prometheus/registry.go:617
MethodCollect
Collect implements Collector.
prometheus/collector.go:118
MethodCollect
Collect implements Collector.
prometheus/expvar_collector.go:43
MethodCollect
(chan<- prometheus.Metric)
prometheus/promhttp/instrument_server_test.go:502
MethodCollect
(ch chan<- prometheus.Metric)
prometheus/promhttp/http_test.go:50
MethodCollect
(ch chan<- prometheus.Metric)
prometheus/promhttp/http_test.go:65
MethodCollect
Collect implements Collector.
prometheus/collectors/dbstats_collector.go:108
MethodCollect
(c chan<- prometheus.Metric)
prometheus/testutil/testutil_test.go:34
MethodConfig
Config returns the current Prometheus configuration.
api/prometheus/v1/api.go:474
MethodCurryWith
CurryWith returns a vector curried with the provided labels, i.e. the returned vector has those labels pre-set for all labeled operations performed on
prometheus/vec.go:149
MethodDec
()
prometheus/gauge.go:119
MethodDeleteSeries
DeleteSeries deletes data for a selection of series in a time range.
api/prometheus/v1/api.go:476
MethodDesc
()
prometheus/value.go:90
MethodDesc
()
prometheus/value.go:176
MethodDesc
()
prometheus/go_collector_latest.go:544
MethodDesc
()
prometheus/wrap.go:201
MethodDesc
()
prometheus/counter.go:123
MethodDesc
()
prometheus/example_metricvec_test.go:35
MethodDesc
()
prometheus/metric.go:145
MethodDesc
()
prometheus/histogram.go:766
MethodDesc
()
prometheus/histogram.go:1323
MethodDesc
()
prometheus/histogram.go:2001
MethodDesc
()
prometheus/summary.go:309
MethodDesc
()
prometheus/summary.go:467
MethodDesc
()
prometheus/summary.go:711
MethodDesc
()
prometheus/gauge.go:103
MethodDesc
()
prometheus/promhttp/instrument_server_test.go:499
MethodDescribe
Describe returns all descriptions of the collector.
prometheus/process_collector.go:151
MethodDescribe
Describe is implemented with DescribeByCollect. That's possible because the Collect method will always return the same two metrics with the same two d
prometheus/example_clustermanager_test.go:79
MethodDescribe
Describe returns all descriptions of the collector.
prometheus/go_collector_latest.go:307
MethodDescribe
Describe returns all descriptions of the collector.
prometheus/go_collector.go:235
MethodDescribe
Describe sends the descriptor information using DescribeByCollect
prometheus/collectorfunc.go:28
MethodDescribe
(ch chan<- *Desc)
prometheus/wrap.go:175
MethodDescribe
Without explicit forwarding of Describe, Collect, Reset, those methods won't show up in GoDoc. Describe implements Collector.
prometheus/vec.go:124
MethodDescribe
Describe implements Collector. It will send exactly one Desc to the provided channel.
prometheus/vec.go:328
MethodDescribe
(ch chan<- *Desc)
prometheus/collector_test.go:28
MethodDescribe
(_ chan<- *Desc)
prometheus/wrap_test.go:31
MethodDescribe
(_ chan<- *prometheus.Desc)
prometheus/registry_test.go:51
MethodDescribe
Describe satisfies part of the prometheus.Collector interface.
prometheus/registry_test.go:1116
MethodDescribe
(_ chan<- *prometheus.Desc)
prometheus/registry_test.go:1309
MethodDescribe
Describe implements Collector.
prometheus/registry.go:587
MethodDescribe
Describe implements Collector.
prometheus/collector.go:113
MethodDescribe
Describe implements Collector.
prometheus/expvar_collector.go:36
MethodDescribe
(chan<- *prometheus.Desc)
prometheus/promhttp/instrument_server_test.go:501
MethodDescribe
(ch chan<- *prometheus.Desc)
prometheus/promhttp/http_test.go:46
MethodDescribe
(ch chan<- *prometheus.Desc)
prometheus/promhttp/http_test.go:61
MethodDescribe
Describe implements Collector.
prometheus/collectors/dbstats_collector.go:95
MethodDescribe
(c chan<- *prometheus.Desc)
prometheus/testutil/testutil_test.go:30
MethodDescriptor
Deprecated: Use Request.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:211
MethodDescriptor
Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:301
MethodDescriptor
Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:398
MethodDescriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:529
MethodDescriptor
Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:672
MethodDescriptor
Deprecated: Use BucketSpan.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:876
MethodDo
(ctx context.Context, req *http.Request)
api/client.go:134
MethodDo
(ctx context.Context, req *http.Request)
api/prometheus/v1/api_test.go:1405
MethodDo
(ctx context.Context, req *http.Request)
api/prometheus/v1/api_test.go:1876
MethodDoGetFallback
(ctx context.Context, u *url.URL, args url.Values)
api/prometheus/v1/api_test.go:92
MethodEnabled
(context.Context, slog.Level)
exp/api/remote/remote_api.go:128
MethodEnum
()
exp/api/remote/genproto/v2/types.pb.go:128
MethodEnumDescriptor
Deprecated: Use Metadata_MetricType.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:99
MethodEnumDescriptor
Deprecated: Use Histogram_ResetHint.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:151
MethodError
()
prometheus/registry.go:209
MethodError
Error formats the contained errors as a bullet point list, preceded by the total number of errors. Note that this results in a multi-line string.
prometheus/registry.go:232
FunctionExampleAPI_query
()
api/prometheus/v1/example_test.go:33
FunctionExampleAPI_queryRange
()
api/prometheus/v1/example_test.go:56
FunctionExampleAPI_queryRangeWithAuthBearerToken
()
api/prometheus/v1/example_test.go:170
FunctionExampleAPI_queryRangeWithAuthBearerTokenHeadersRoundTripper
()
api/prometheus/v1/example_test.go:204
FunctionExampleAPI_queryRangeWithBasicAuth
()
api/prometheus/v1/example_test.go:136
FunctionExampleAPI_queryRangeWithUserAgent
()
api/prometheus/v1/example_test.go:107
FunctionExampleAPI_series
()
api/prometheus/v1/example_test.go:243
FunctionExampleAlreadyRegisteredError
()
prometheus/examples_test.go:560
FunctionExampleBridge
()
prometheus/graphite/bridge_test.go:440
FunctionExampleCollector
()
prometheus/example_clustermanager_test.go:122
FunctionExampleCollectorFunc
Using CollectorFunc that registers the metric info for the HTTP requests.
prometheus/examples_test.go:749
FunctionExampleCounterVec
()
prometheus/examples_test.go:132
FunctionExampleGatherers
()
prometheus/examples_test.go:579
FunctionExampleGauge
()
prometheus/examples_test.go:35
FunctionExampleGaugeFunc_constLabels
()
prometheus/examples_test.go:94
FunctionExampleGaugeFunc_simple
()
prometheus/examples_test.go:76
FunctionExampleGaugeVec
()
prometheus/examples_test.go:52
FunctionExampleGetUnifiedDiffString
()
prometheus/internal/difflib_test.go:117
FunctionExampleHistogram
()
prometheus/examples_test.go:440
FunctionExampleInstrumentHandlerDuration
()
prometheus/promhttp/instrument_server_test.go:674
FunctionExampleInstrumentRoundTripperDuration
()
prometheus/promhttp/instrument_client_test.go:299
FunctionExampleMetricVec
()
prometheus/example_metricvec_test.go:109
FunctionExampleNewConstHistogram
()
prometheus/examples_test.go:465
FunctionExampleNewConstHistogramWithCreatedTimestamp
()
prometheus/examples_test.go:493
FunctionExampleNewConstHistogram_withExemplar
()
prometheus/examples_test.go:521
FunctionExampleNewConstMetricWithCreatedTimestamp
()
prometheus/examples_test.go:723
FunctionExampleNewConstSummary
()
prometheus/examples_test.go:383
FunctionExampleNewConstSummaryWithCreatedTimestamp
()
prometheus/examples_test.go:411
FunctionExampleNewExpvarCollector
()
prometheus/expvar_collector_test.go:27
FunctionExampleNewGoCollector
()
prometheus/collectors/go_collector_latest_test.go:261
FunctionExampleNewGoCollector_defaultRegister
()
prometheus/collectors/go_collector_latest_test.go:292
FunctionExampleNewGoCollector_withAdvancedGoMetrics
()
prometheus/collectors/go_collector_latest_test.go:271
FunctionExampleNewMetricWithTimestamp
()
prometheus/examples_test.go:692
FunctionExamplePusher_Add
()
prometheus/push/example_add_from_gatherer_test.go:50
FunctionExamplePusher_Push
()
prometheus/push/examples_test.go:23
FunctionExampleRegister
()
prometheus/examples_test.go:176
← previousnext →701–800 of 1,308, ranked by callers