- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for gatherers (0.06 seconds)
-
cmd/metrics-v3-handler.go
continue } unLocker := bmg.LockAndSetBuckets(buckets) defer unLocker() } gatherers = append(gatherers, gatherer) } } if len(gatherers) == 0 { return notFoundHandler } return promhttp.HandlerFor(prometheus.Gatherers(gatherers), h.opts) } // ServeHTTP - implements http.Handler interface. //
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 7.7K bytes - Click Count (0) -
cmd/metrics-v3.go
// Helper function to register a collector and return a gatherer for it. mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer { subRegistry := prometheus.NewRegistry() for _, col := range c { subRegistry.MustRegister(col) } r.MustRegister(subRegistry) return subRegistry } // Register all collectors and create gatherers for them.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 02 00:55:27 GMT 2024 - 13.6K bytes - Click Count (0) -
cmd/metrics.go
registry := prometheus.NewRegistry() logger.CriticalIf(GlobalContext, registry.Register(minioVersionInfo)) logger.CriticalIf(GlobalContext, registry.Register(newMinioCollector())) gatherers := prometheus.Gatherers{ prometheus.DefaultGatherer, registry, } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0) -
cmd/metrics-v2.go
gatherers := prometheus.Gatherers{ registry, } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = funcName tc.ResponseRecorder.LogErrBody = true } mfs, err := gatherers.Gather() if err != nil && len(mfs) == 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 133.6K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/cisupport/CIInfo.java
* under the License. */ package org.apache.maven.api.cli.cisupport; import org.apache.maven.api.annotations.Nonnull; /** * CI support: this class contains gathered information and more from CI that Maven process runs on. * * @since 4.0.0 */ public interface CIInfo { /** * Short distinct name of CI system: "GH", "Jenkins", etc. */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 1.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
} /** * Returns an OkHttpClient for tests to use as a starting point. * * The returned client installs a default event listener that gathers debug information. This will * be logged if the test fails. * * This client is also configured to be slightly more deterministic, returning a single IP
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
} # Do a bazel query specifically for the licenses checker. It searches for # targets matching the provided query, which start with // or @ but not # //tensorflow (so it looks for //third_party, //external, etc.), and then # gathers the list of all packages (i.e. directories) which contain those # targets. license_query() { bazel cquery --experimental_cc_shared_library "$1" --keep_going \ | grep -e "^//" -e "^@" \ | grep -E -v "^//tensorflow" \
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 19 18:47:57 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} private void assertEvents(String... events) { assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear()); } /** * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
} private void assertEvents(String... events) { assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear()); } /** * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/operand_test.go
return NewParser(ctxt, architecture, nil) } // tryParse executes parse func in panicOnError=true context. // parse is expected to call any parsing methods that may panic. // Returns error gathered from recover; nil if no parse errors occurred. // // For unexpected panics, calls t.Fatal. func tryParse(t *testing.T, parse func()) (err error) { panicOnError = true defer func() { panicOnError = false
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Click Count (0)