MCPcopy Create free account

hub / github.com/prometheus/client_golang / functions

Functions1,308 in github.com/prometheus/client_golang

↓ 1 callersFunctionstringToLines
(s string)
prometheus/graphite/bridge_test.go:339
↓ 1 callersFunctionsyncMapToMap
(syncmap *sync.Map)
prometheus/histogram_test.go:1568
↓ 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 *json.Iterator)
api/prometheus/v1/api.go:252
↓ 1 callersFunctionunmarshalSampleHistogramPairJSON
(ptr unsafe.Pointer, iter *json.Iterator)
api/prometheus/v1/api.go:84
↓ 1 callersFunctionunmarshalSamplePairJSON
(ptr unsafe.Pointer, iter *json.Iterator)
api/prometheus/v1/api.go:46
↓ 1 callersMethodunwrapRecursively
()
prometheus/wrap.go:186
↓ 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:521
↓ 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_go124_test.go:19
↓ 1 callersFunctionwithDebugMetrics
()
prometheus/collectors/go_collector_go124_test.go:176
↓ 1 callersFunctionwithGCMetrics
()
prometheus/collectors/go_collector_go124_test.go:118
↓ 1 callersFunctionwithMemoryMetrics
()
prometheus/collectors/go_collector_go124_test.go:145
↓ 1 callersFunctionwithSchedulerMetrics
()
prometheus/collectors/go_collector_go124_test.go:164
↓ 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:470
MethodAlerts
Alerts returns a list of all active alerts.
api/prometheus/v1/api.go:468
MethodAlerts
(ctx context.Context)
api/prometheus/v1/api.go:921
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
FunctionBenchmarkClient
(b *testing.B)
api/client_test.go:227
FunctionBenchmarkCompression
(b *testing.B)
prometheus/promhttp/http_test.go:683
FunctionBenchmarkCounter
(b *testing.B)
prometheus/benchmark_test.go:21
FunctionBenchmarkCounterNoLabels
(b *testing.B)
prometheus/benchmark_test.go:135
FunctionBenchmarkCounterWithLabelValuesConcurrent
(b *testing.B)
prometheus/benchmark_test.go:112
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:1524
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:162
FunctionBenchmarkGaugeWithLabelValues
(b *testing.B)
prometheus/benchmark_test.go:147
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:219
FunctionBenchmarkHistogramObserve1
(b *testing.B)
prometheus/histogram_test.go:63
FunctionBenchmarkHistogramObserve2
(b *testing.B)
prometheus/histogram_test.go:67
FunctionBenchmarkHistogramObserve4
(b *testing.B)
prometheus/histogram_test.go:71
FunctionBenchmarkHistogramObserve8
(b *testing.B)
prometheus/histogram_test.go:75
FunctionBenchmarkHistogramWithLabelValues
(b *testing.B)
prometheus/benchmark_test.go:204
FunctionBenchmarkHistogramWrite1
(b *testing.B)
prometheus/histogram_test.go:113
FunctionBenchmarkHistogramWrite2
(b *testing.B)
prometheus/histogram_test.go:117
FunctionBenchmarkHistogramWrite4
(b *testing.B)
prometheus/histogram_test.go:121
FunctionBenchmarkHistogramWrite8
(b *testing.B)
prometheus/histogram_test.go:125
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:232
FunctionBenchmarkSamplesJsonSerialization
(b *testing.B)
api/prometheus/v1/api_bench_test.go:106
FunctionBenchmarkSplitLines100
(b *testing.B)
prometheus/internal/difflib_test.go:260
FunctionBenchmarkSplitLines10000
(b *testing.B)
prometheus/internal/difflib_test.go:264
FunctionBenchmarkSummaryNoLabels
(b *testing.B)
prometheus/benchmark_test.go:190
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:174
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:490
MethodCleanTombstones
CleanTombstones removes the deleted data from disk and cleans up the existing tombstones.
api/prometheus/v1/api.go:472
MethodCloseIdleConnections
()
api/client.go:130
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:318
MethodCollect
Collect returns the current state of all metrics of the collector.
prometheus/go_collector.go:244
MethodCollect
Collect calls the defined CollectorFunc function with the provided Metrics channel
prometheus/collectorfunc.go:23
MethodCollect
(ch chan<- Metric)
prometheus/wrap.go:160
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
MethodCollect
(c chan<- Metric)
prometheus/wrap_test.go:32
MethodCollect
(c chan<- prometheus.Metric)
prometheus/registry_test.go:52
MethodCollect
Collect satisfies part of the prometheus.Collector interface.
prometheus/registry_test.go:1124
MethodCollect
(ch chan<- prometheus.Metric)
prometheus/registry_test.go:1311
← previousnext →601–700 of 1,308, ranked by callers