Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/client_golang
/ functions
Functions
1,308 in github.com/prometheus/client_golang
⨍
Functions
1,308
◇
Types & classes
274
Method
Collect
Collect implements Collector.
prometheus/registry.go:617
Method
Collect
Collect implements Collector.
prometheus/collector.go:118
Method
Collect
Collect implements Collector.
prometheus/expvar_collector.go:43
Method
Collect
(chan<- prometheus.Metric)
prometheus/promhttp/instrument_server_test.go:502
Method
Collect
(ch chan<- prometheus.Metric)
prometheus/promhttp/http_test.go:50
Method
Collect
(ch chan<- prometheus.Metric)
prometheus/promhttp/http_test.go:65
Method
Collect
Collect implements Collector.
prometheus/collectors/dbstats_collector.go:108
Method
Collect
(c chan<- prometheus.Metric)
prometheus/testutil/testutil_test.go:34
Method
Config
Config returns the current Prometheus configuration.
api/prometheus/v1/api.go:474
Method
CurryWith
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
Method
Dec
()
prometheus/gauge.go:119
Method
DeleteSeries
DeleteSeries deletes data for a selection of series in a time range.
api/prometheus/v1/api.go:476
Method
Desc
()
prometheus/value.go:90
Method
Desc
()
prometheus/value.go:176
Method
Desc
()
prometheus/go_collector_latest.go:544
Method
Desc
()
prometheus/wrap.go:201
Method
Desc
()
prometheus/counter.go:123
Method
Desc
()
prometheus/example_metricvec_test.go:35
Method
Desc
()
prometheus/metric.go:145
Method
Desc
()
prometheus/histogram.go:766
Method
Desc
()
prometheus/histogram.go:1323
Method
Desc
()
prometheus/histogram.go:2001
Method
Desc
()
prometheus/summary.go:309
Method
Desc
()
prometheus/summary.go:467
Method
Desc
()
prometheus/summary.go:711
Method
Desc
()
prometheus/gauge.go:103
Method
Desc
()
prometheus/promhttp/instrument_server_test.go:499
Method
Describe
Describe returns all descriptions of the collector.
prometheus/process_collector.go:151
Method
Describe
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
Method
Describe
Describe returns all descriptions of the collector.
prometheus/go_collector_latest.go:307
Method
Describe
Describe returns all descriptions of the collector.
prometheus/go_collector.go:235
Method
Describe
Describe sends the descriptor information using DescribeByCollect
prometheus/collectorfunc.go:28
Method
Describe
(ch chan<- *Desc)
prometheus/wrap.go:175
Method
Describe
Without explicit forwarding of Describe, Collect, Reset, those methods won't show up in GoDoc. Describe implements Collector.
prometheus/vec.go:124
Method
Describe
Describe implements Collector. It will send exactly one Desc to the provided channel.
prometheus/vec.go:328
Method
Describe
(ch chan<- *Desc)
prometheus/collector_test.go:28
Method
Describe
(_ chan<- *Desc)
prometheus/wrap_test.go:31
Method
Describe
(_ chan<- *prometheus.Desc)
prometheus/registry_test.go:51
Method
Describe
Describe satisfies part of the prometheus.Collector interface.
prometheus/registry_test.go:1116
Method
Describe
(_ chan<- *prometheus.Desc)
prometheus/registry_test.go:1309
Method
Describe
Describe implements Collector.
prometheus/registry.go:587
Method
Describe
Describe implements Collector.
prometheus/collector.go:113
Method
Describe
Describe implements Collector.
prometheus/expvar_collector.go:36
Method
Describe
(chan<- *prometheus.Desc)
prometheus/promhttp/instrument_server_test.go:501
Method
Describe
(ch chan<- *prometheus.Desc)
prometheus/promhttp/http_test.go:46
Method
Describe
(ch chan<- *prometheus.Desc)
prometheus/promhttp/http_test.go:61
Method
Describe
Describe implements Collector.
prometheus/collectors/dbstats_collector.go:95
Method
Describe
(c chan<- *prometheus.Desc)
prometheus/testutil/testutil_test.go:30
Method
Descriptor
Deprecated: Use Request.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:211
Method
Descriptor
Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:301
Method
Descriptor
Deprecated: Use Exemplar.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:398
Method
Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:529
Method
Descriptor
Deprecated: Use Histogram.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:672
Method
Descriptor
Deprecated: Use BucketSpan.ProtoReflect.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:876
Method
Do
(ctx context.Context, req *http.Request)
api/client.go:134
Method
Do
(ctx context.Context, req *http.Request)
api/prometheus/v1/api_test.go:1405
Method
Do
(ctx context.Context, req *http.Request)
api/prometheus/v1/api_test.go:1876
Method
DoGetFallback
(ctx context.Context, u *url.URL, args url.Values)
api/prometheus/v1/api_test.go:92
Method
Enabled
(context.Context, slog.Level)
exp/api/remote/remote_api.go:128
Method
Enum
()
exp/api/remote/genproto/v2/types.pb.go:128
Method
EnumDescriptor
Deprecated: Use Metadata_MetricType.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:99
Method
EnumDescriptor
Deprecated: Use Histogram_ResetHint.Descriptor instead.
exp/api/remote/genproto/v2/types.pb.go:151
Method
Error
()
prometheus/registry.go:209
Method
Error
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
Function
ExampleAPI_query
()
api/prometheus/v1/example_test.go:33
Function
ExampleAPI_queryRange
()
api/prometheus/v1/example_test.go:56
Function
ExampleAPI_queryRangeWithAuthBearerToken
()
api/prometheus/v1/example_test.go:170
Function
ExampleAPI_queryRangeWithAuthBearerTokenHeadersRoundTripper
()
api/prometheus/v1/example_test.go:204
Function
ExampleAPI_queryRangeWithBasicAuth
()
api/prometheus/v1/example_test.go:136
Function
ExampleAPI_queryRangeWithUserAgent
()
api/prometheus/v1/example_test.go:107
Function
ExampleAPI_series
()
api/prometheus/v1/example_test.go:243
Function
ExampleAlreadyRegisteredError
()
prometheus/examples_test.go:560
Function
ExampleBridge
()
prometheus/graphite/bridge_test.go:440
Function
ExampleCollector
()
prometheus/example_clustermanager_test.go:122
Function
ExampleCollectorFunc
Using CollectorFunc that registers the metric info for the HTTP requests.
prometheus/examples_test.go:749
Function
ExampleCounterVec
()
prometheus/examples_test.go:132
Function
ExampleGatherers
()
prometheus/examples_test.go:579
Function
ExampleGauge
()
prometheus/examples_test.go:35
Function
ExampleGaugeFunc_constLabels
()
prometheus/examples_test.go:94
Function
ExampleGaugeFunc_simple
()
prometheus/examples_test.go:76
Function
ExampleGaugeVec
()
prometheus/examples_test.go:52
Function
ExampleGetUnifiedDiffString
()
prometheus/internal/difflib_test.go:117
Function
ExampleHistogram
()
prometheus/examples_test.go:440
Function
ExampleInstrumentHandlerDuration
()
prometheus/promhttp/instrument_server_test.go:674
Function
ExampleInstrumentRoundTripperDuration
()
prometheus/promhttp/instrument_client_test.go:299
Function
ExampleMetricVec
()
prometheus/example_metricvec_test.go:109
Function
ExampleNewConstHistogram
()
prometheus/examples_test.go:465
Function
ExampleNewConstHistogramWithCreatedTimestamp
()
prometheus/examples_test.go:493
Function
ExampleNewConstHistogram_withExemplar
()
prometheus/examples_test.go:521
Function
ExampleNewConstMetricWithCreatedTimestamp
()
prometheus/examples_test.go:723
Function
ExampleNewConstSummary
()
prometheus/examples_test.go:383
Function
ExampleNewConstSummaryWithCreatedTimestamp
()
prometheus/examples_test.go:411
Function
ExampleNewExpvarCollector
()
prometheus/expvar_collector_test.go:27
Function
ExampleNewGoCollector
()
prometheus/collectors/go_collector_latest_test.go:261
Function
ExampleNewGoCollector_defaultRegister
()
prometheus/collectors/go_collector_latest_test.go:292
Function
ExampleNewGoCollector_withAdvancedGoMetrics
()
prometheus/collectors/go_collector_latest_test.go:271
Function
ExampleNewMetricWithTimestamp
()
prometheus/examples_test.go:692
Function
ExamplePusher_Add
()
prometheus/push/example_add_from_gatherer_test.go:50
Function
ExamplePusher_Push
()
prometheus/push/examples_test.go:23
Function
ExampleRegister
()
prometheus/examples_test.go:176
← previous
next →
701–800 of 1,308, ranked by callers