MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,307 in github.com/prometheus/client_golang

↓ 1 callersFunctionstartSparkForge
(reg prometheus.Registerer)
examples/customlabels/main.go:82
↓ 1 callersFunctionstringToLines
(s string)
prometheus/graphite/bridge_test.go:339
↓ 1 callersFunctionsyncMapToMap
(syncmap *sync.Map)
prometheus/histogram_test.go:1566
↓ 1 callersFunctiontestConstrainedCurryVec
(t *testing.T, vec *CounterVec, constraint func(string) string)
prometheus/vec_test.go:703
↓ 1 callersFunctiontestConstrainedMetricVec
(t *testing.T, vec *GaugeVec, constrain func(string) string)
prometheus/vec_test.go:359
↓ 1 callersFunctiontestToReader
(t *testing.T, useTags bool)
prometheus/graphite/bridge_test.go:251
↓ 1 callersFunctiontestWriteHistogram
(t *testing.T, useTags bool)
prometheus/graphite/bridge_test.go:169
↓ 1 callersFunctiontestWriteSummary
(t *testing.T, useTags bool)
prometheus/graphite/bridge_test.go:73
↓ 1 callersFunctionunmarshalHistogramBucket
(iter *jsoniter.Iterator)
api/prometheus/v1/api_126.go:149
↓ 1 callersFunctionunmarshalSampleHistogramPairJSON
(ptr unsafe.Pointer, iter *jsoniter.Iterator)
api/prometheus/v1/api_126.go:67
↓ 1 callersFunctionunmarshalSamplePairJSON
(ptr unsafe.Pointer, iter *jsoniter.Iterator)
api/prometheus/v1/api_126.go:38
↓ 1 callersMethodunwrapRecursively
()
prometheus/wrap.go:185
↓ 1 callersMethodupdate
update updates the batchHistogram from a runtime/metrics histogram. sum must be provided if the batchHistogram was created to have an exact sum. h.bu
prometheus/go_collector_latest.go:517
↓ 1 callersMethodupdateExemplar
(v float64, l Labels)
prometheus/counter.go:173
↓ 1 callersMethodupdateExemplar
updateExemplar replaces the exemplar for the provided classic bucket. With empty labels, it's a no-op. It panics if any of the labels is invalid. If h
prometheus/histogram.go:1157
↓ 1 callersMethodvalidate
()
api/client.go:74
↓ 1 callersFunctionvalidateValuesInLabels
(labels Labels, expectedNumberOfValues int)
prometheus/labels.go:148
↓ 1 callersFunctionvalueMatchesVariableOrCurriedValue
valueMatchesVariableOrCurriedValue determines if a value was previously curried, and returns whether it matches either the "base" value or the curried
prometheus/vec.go:458
↓ 1 callersFunctionwhatsUpHandler
whatsUpHandler returns all services that currently monitored by Prometheus. It uses prometheus client_golang client code to request PromQL query again
tutorials/whatsup/main.go:124
↓ 1 callersFunctionwhatsUpHandler
whatsUpHandler returns all services that currently monitored by Prometheus. It uses prometheus client_golang client code to request PromQL query again
tutorials/whatsup/reference/main.go:169
↓ 1 callersFunctionwithAllMetrics
()
prometheus/collectors/go_collector_go126_test.go:18
↓ 1 callersFunctionwithDebugMetrics
()
prometheus/collectors/go_collector_go126_test.go:204
↓ 1 callersFunctionwithGCMetrics
()
prometheus/collectors/go_collector_go126_test.go:136
↓ 1 callersFunctionwithMemoryMetrics
()
prometheus/collectors/go_collector_go126_test.go:167
↓ 1 callersFunctionwithSchedulerMetrics
()
prometheus/collectors/go_collector_go126_test.go:186
↓ 1 callersFunctionwriteLabels
(buf *bufio.Writer, m model.Metric, numLabels int)
prometheus/graphite/bridge.go:265
↓ 1 callersFunctionwriteMetric
(buf *bufio.Writer, m model.Metric, useTags bool)
prometheus/graphite/bridge.go:224
↓ 1 callersFunctionwriteTags
(buf *bufio.Writer, m model.Metric)
prometheus/graphite/bridge.go:249
MethodAdd
(v float64)
prometheus/promhttp/instrument_server_test.go:504
MethodAdd
Add works like push, but only previously pushed metrics with the same name (and the same job and other grouping labels) will be replaced. (It uses HTT
prometheus/push/push.go:139
MethodAddContext
AddContext is like Add but includes a context. If the context expires before HTTP request is complete, an error is returned.
prometheus/push/push.go:146
MethodAddWithExemplar
(v float64, e Labels)
prometheus/counter.go:147
MethodAlertManagers
AlertManagers returns an overview of the current state of the Prometheus alert manager discovery.
api/prometheus/v1/api.go:144
MethodAlerts
Alerts returns a list of all active alerts.
api/prometheus/v1/api.go:142
MethodAlerts
(ctx context.Context)
api/prometheus/v1/api.go:560
MethodAllSamples
AllSamples returns both float and histogram sample numbers.
exp/api/remote/remote_headers.go:176
MethodAppend
Appends the provided error to the contained MultiError in a thread-safe way.
prometheus/registry.go:224
MethodBasicAuth
BasicAuth configures the Pusher to use HTTP Basic Authentication with the provided username and password. For convenience, this method returns a point
prometheus/push/push.go:215
FunctionBenchmarkAPIResponse
(b *testing.B)
api/prometheus/v1/api_bench_test.go:149
FunctionBenchmarkClient
(b *testing.B)
api/client_test.go:235
FunctionBenchmarkCompression
(b *testing.B)
prometheus/promhttp/http_test.go:840
FunctionBenchmarkCounter
(b *testing.B)
prometheus/benchmark_test.go:21
FunctionBenchmarkCounterNoLabels
(b *testing.B)
prometheus/benchmark_test.go:132
FunctionBenchmarkCounterWithLabelValuesConcurrent
(b *testing.B)
prometheus/benchmark_test.go:111
FunctionBenchmarkFindBucketHuge
(b *testing.B)
prometheus/histogram_test.go:1507
FunctionBenchmarkFindBucketInf
(b *testing.B)
prometheus/histogram_test.go:1511
FunctionBenchmarkFindBucketLarge
(b *testing.B)
prometheus/histogram_test.go:1503
FunctionBenchmarkFindBucketLow
(b *testing.B)
prometheus/histogram_test.go:1523
FunctionBenchmarkFindBucketMid
(b *testing.B)
prometheus/histogram_test.go:1499
FunctionBenchmarkFindBucketShort
(b *testing.B)
prometheus/histogram_test.go:1495
FunctionBenchmarkGaugeNoLabels
(b *testing.B)
prometheus/benchmark_test.go:157
FunctionBenchmarkGaugeWithLabelValues
(b *testing.B)
prometheus/benchmark_test.go:143
FunctionBenchmarkGoCollector
(b *testing.B)
prometheus/go_collector_test.go:158
FunctionBenchmarkHandler
(b *testing.B)
prometheus/registry_test.go:751
FunctionBenchmarkHistogramNoLabels
(b *testing.B)
prometheus/benchmark_test.go:210
FunctionBenchmarkHistogramObserve1
(b *testing.B)
prometheus/histogram_test.go:64
FunctionBenchmarkHistogramObserve2
(b *testing.B)
prometheus/histogram_test.go:68
FunctionBenchmarkHistogramObserve4
(b *testing.B)
prometheus/histogram_test.go:72
FunctionBenchmarkHistogramObserve8
(b *testing.B)
prometheus/histogram_test.go:76
FunctionBenchmarkHistogramWithLabelValues
(b *testing.B)
prometheus/benchmark_test.go:196
FunctionBenchmarkHistogramWrite1
(b *testing.B)
prometheus/histogram_test.go:114
FunctionBenchmarkHistogramWrite2
(b *testing.B)
prometheus/histogram_test.go:118
FunctionBenchmarkHistogramWrite4
(b *testing.B)
prometheus/histogram_test.go:122
FunctionBenchmarkHistogramWrite8
(b *testing.B)
prometheus/histogram_test.go:126
FunctionBenchmarkMetricVecWithBasic
(b *testing.B)
prometheus/vec_test.go:908
FunctionBenchmarkMetricVecWithLabelValues10Keys1000ValueCardinality
(b *testing.B)
prometheus/vec_test.go:938
FunctionBenchmarkMetricVecWithLabelValues10Keys100ValueCardinality
(b *testing.B)
prometheus/vec_test.go:934
FunctionBenchmarkMetricVecWithLabelValues2Keys100ValueCardinality
(b *testing.B)
prometheus/vec_test.go:930
FunctionBenchmarkMetricVecWithLabelValues2Keys10ValueCardinality
(b *testing.B)
prometheus/vec_test.go:922
FunctionBenchmarkMetricVecWithLabelValues4Keys10ValueCardinality
(b *testing.B)
prometheus/vec_test.go:926
FunctionBenchmarkMetricVecWithLabelValuesBasic
(b *testing.B)
prometheus/vec_test.go:915
FunctionBenchmarkParallelCounter
(b *testing.B)
prometheus/benchmark_test.go:222
FunctionBenchmarkQueryResult
(b *testing.B)
api/prometheus/v1/api_bench_test.go:381
FunctionBenchmarkRuleGroup
(b *testing.B)
api/prometheus/v1/api_bench_test.go:309
FunctionBenchmarkSamplesJsonSerialization
(b *testing.B)
api/prometheus/v1/api_bench_test.go:107
FunctionBenchmarkSplitLines100
(b *testing.B)
prometheus/internal/difflib_test.go:258
FunctionBenchmarkSplitLines10000
(b *testing.B)
prometheus/internal/difflib_test.go:262
FunctionBenchmarkSummaryNoLabels
(b *testing.B)
prometheus/benchmark_test.go:183
FunctionBenchmarkSummaryObserve1
(b *testing.B)
prometheus/summary_test.go:135
FunctionBenchmarkSummaryObserve2
(b *testing.B)
prometheus/summary_test.go:139
FunctionBenchmarkSummaryObserve4
(b *testing.B)
prometheus/summary_test.go:143
FunctionBenchmarkSummaryObserve8
(b *testing.B)
prometheus/summary_test.go:147
FunctionBenchmarkSummaryWithLabelValues
(b *testing.B)
prometheus/benchmark_test.go:168
FunctionBenchmarkSummaryWrite1
(b *testing.B)
prometheus/summary_test.go:185
FunctionBenchmarkSummaryWrite2
(b *testing.B)
prometheus/summary_test.go:189
FunctionBenchmarkSummaryWrite4
(b *testing.B)
prometheus/summary_test.go:193
FunctionBenchmarkSummaryWrite8
(b *testing.B)
prometheus/summary_test.go:197
MethodBuildinfo
Buildinfo returns various build information properties about the Prometheus server
api/prometheus/v1/api.go:164
MethodCleanTombstones
CleanTombstones removes the deleted data from disk and cleans up the existing tombstones.
api/prometheus/v1/api.go:146
MethodCloseIdleConnections
()
api/client.go:133
MethodCloseNotify
()
prometheus/promhttp/delegator.go:93
MethodCollect
Collect returns the current state of all metrics of the collector.
prometheus/process_collector.go:146
MethodCollect
Collect first triggers the ReallyExpensiveAssessmentOfTheSystemState. Then it creates constant metrics for each host on the fly based on the returned
prometheus/example_clustermanager_test.go:88
MethodCollect
Collect returns the current state of all metrics of the collector.
prometheus/go_collector_latest.go:314
MethodCollect
Collect returns the current state of all metrics of the collector.
prometheus/go_collector.go:249
MethodCollect
Collect calls the defined CollectorFunc function with the provided Metrics channel
prometheus/collectorfunc.go:23
MethodCollect
(ch chan<- Metric)
prometheus/wrap.go:159
MethodCollect
Collect implements Collector.
prometheus/vec.go:127
MethodCollect
Collect implements Collector.
prometheus/vec.go:333
MethodCollect
(ch chan<- Metric)
prometheus/collector_test.go:23
← previousnext →601–700 of 1,307, ranked by callers