Uses of Interface
org.apache.bookkeeper.stats.OpStatsLogger
-
Packages that use OpStatsLogger Package Description org.apache.bookkeeper.bookie Provides a Bookie server that stores entries for clients.org.apache.bookkeeper.bookie.stats Package of the classes for defining bookie stats.org.apache.bookkeeper.bookie.storage.directentrylogger Support for bookie entry logs using Direct IO.org.apache.bookkeeper.bookie.storage.ldb Classes related to DB based ledger storage.org.apache.bookkeeper.client BookKeeper Client.org.apache.bookkeeper.client.impl BookKeeper Client implementation package.org.apache.bookkeeper.common.concurrent Utility classes commonly useful in concurrent programming.org.apache.bookkeeper.common.stats Stats Related Utils.org.apache.bookkeeper.common.util defines the utilities for allocator used across the project.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol.org.apache.bookkeeper.replication Classes for replicating Bookkeeper data.org.apache.bookkeeper.stats A lightweight stats library used for exporting bookkeeper stats.org.apache.bookkeeper.stats.codahale A lightweight stats library implementation based on Codahale metrics library.org.apache.bookkeeper.stats.otel A stats provider implementation based on OpenTelemetry.org.apache.bookkeeper.stats.prometheus A stats provider implementation based on {@link https://prometheus.io/}.org.apache.bookkeeper.zookeeper A simple retryable zookeeper wrapper provided in bookkeeper. -
-
Uses of OpStatsLogger in org.apache.bookkeeper.bookie
Fields in org.apache.bookkeeper.bookie declared as OpStatsLogger Modifier and Type Field Description (package private) OpStatsLogger
Journal.QueueEntry. journalAddEntryStats
Methods in org.apache.bookkeeper.bookie with parameters of type OpStatsLogger Modifier and Type Method Description (package private) static Journal.QueueEntry
Journal.QueueEntry. create(io.netty.buffer.ByteBuf entry, boolean ackBeforeSync, long ledgerId, long entryId, BookkeeperInternalCallbacks.WriteCallback cb, java.lang.Object ctx, long enqueueTime, OpStatsLogger journalAddEntryStats, Counter callbackTime)
-
Uses of OpStatsLogger in org.apache.bookkeeper.bookie.stats
-
Uses of OpStatsLogger in org.apache.bookkeeper.bookie.storage.directentrylogger
Methods in org.apache.bookkeeper.bookie.storage.directentrylogger that return OpStatsLogger Modifier and Type Method Description (package private) OpStatsLogger
DirectEntryLoggerStats. getAddEntryStats()
(package private) OpStatsLogger
DirectEntryLoggerStats. getFlushStats()
(package private) OpStatsLogger
DirectEntryLoggerStats. getReadBlockStats()
(package private) OpStatsLogger
DirectEntryLoggerStats. getReadEntryStats()
(package private) OpStatsLogger
DirectEntryLoggerStats. getWriterFlushStats()
Methods in org.apache.bookkeeper.bookie.storage.directentrylogger with parameters of type OpStatsLogger Modifier and Type Method Description (package private) static CompactionEntryLog
DirectCompactionEntryLog. recoverLog(int srcLogId, int dstLogId, java.io.File ledgerDir, int readBufferSize, int maxSaneEntrySize, NativeIO nativeIO, io.netty.buffer.ByteBufAllocator allocator, OpStatsLogger readBlockStats, Slogger slog)
Constructors in org.apache.bookkeeper.bookie.storage.directentrylogger with parameters of type OpStatsLogger Constructor Description DirectReader(int logId, java.lang.String filename, io.netty.buffer.ByteBufAllocator allocator, NativeIO nativeIO, int bufferSize, int maxSaneEntrySize, OpStatsLogger readBlockStats)
-
Uses of OpStatsLogger in org.apache.bookkeeper.bookie.storage.ldb
Methods in org.apache.bookkeeper.bookie.storage.ldb that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
DbLedgerStorageStats. getAddEntryStats()
OpStatsLogger
DbLedgerStorageStats. getFlushEntryLogStats()
OpStatsLogger
DbLedgerStorageStats. getFlushLedgerIndexStats()
OpStatsLogger
DbLedgerStorageStats. getFlushLocationIndexStats()
OpStatsLogger
DbLedgerStorageStats. getFlushSizeStats()
OpStatsLogger
DbLedgerStorageStats. getFlushStats()
OpStatsLogger
EntryLocationIndexStats. getLookupEntryLocationStats()
OpStatsLogger
DbLedgerStorageStats. getReadAheadBatchCountStats()
OpStatsLogger
DbLedgerStorageStats. getReadAheadBatchSizeStats()
OpStatsLogger
DbLedgerStorageStats. getReadEntryStats()
OpStatsLogger
DbLedgerStorageStats. getThrottledWriteStats()
-
Uses of OpStatsLogger in org.apache.bookkeeper.client
Fields in org.apache.bookkeeper.client declared as OpStatsLogger Modifier and Type Field Description protected OpStatsLogger
TopologyAwareEnsemblePlacementPolicy. bookiesJoinedCounter
protected OpStatsLogger
TopologyAwareEnsemblePlacementPolicy. bookiesLeftCounter
(package private) OpStatsLogger
LedgerCreateOp. createOpLogger
(package private) OpStatsLogger
LedgerDeleteOp. deleteOpLogger
(package private) OpStatsLogger
LedgerOpenOp. openOpLogger
protected OpStatsLogger
RackawareEnsemblePlacementPolicyImpl. readReorderedCounter
-
Uses of OpStatsLogger in org.apache.bookkeeper.client.impl
-
Uses of OpStatsLogger in org.apache.bookkeeper.common.concurrent
Methods in org.apache.bookkeeper.common.concurrent with parameters of type OpStatsLogger Modifier and Type Method Description static <T> java.util.concurrent.CompletableFuture<T>
FutureUtils. stats(java.util.concurrent.CompletableFuture<T> result, OpStatsLogger opStatsLogger, com.google.common.base.Stopwatch stopwatch)
Add a event listener over result for collecting the operation stats. -
Uses of OpStatsLogger in org.apache.bookkeeper.common.stats
Methods in org.apache.bookkeeper.common.stats that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
BroadCastStatsLogger.Two. getOpStatsLogger(java.lang.String statName)
OpStatsLogger
BroadCastStatsLogger.Two. getThreadScopedOpStatsLogger(java.lang.String name)
Thread-scoped stats not currently supported.Constructors in org.apache.bookkeeper.common.stats with parameters of type OpStatsLogger Constructor Description OpStatsListener(OpStatsLogger opStatsLogger)
OpStatsListener(OpStatsLogger opStatsLogger, com.google.common.base.Stopwatch stopwatch)
-
Uses of OpStatsLogger in org.apache.bookkeeper.common.util
Fields in org.apache.bookkeeper.common.util declared as OpStatsLogger Modifier and Type Field Description (package private) OpStatsLogger
OrderedExecutor. taskExecutionStats
(package private) OpStatsLogger
OrderedExecutor. taskPendingStats
-
Uses of OpStatsLogger in org.apache.bookkeeper.proto
Fields in org.apache.bookkeeper.proto declared as OpStatsLogger Modifier and Type Field Description (package private) OpStatsLogger
RequestStats. addEntryBlockedStats
(package private) OpStatsLogger
RequestStats. channelWriteStats
(package private) OpStatsLogger
RequestStats. fenceReadEntryStats
(package private) OpStatsLogger
RequestStats. fenceReadRequestStats
(package private) OpStatsLogger
RequestStats. fenceReadWaitStats
(package private) OpStatsLogger
RequestStats. forceLedgerRequestStats
(package private) OpStatsLogger
RequestStats. forceLedgerStats
(package private) OpStatsLogger
RequestStats. getBookieInfoRequestStats
(package private) OpStatsLogger
RequestStats. getBookieInfoStats
(package private) OpStatsLogger
RequestStats. getListOfEntriesOfLedgerRequestStats
(package private) OpStatsLogger
RequestStats. getListOfEntriesOfLedgerStats
(package private) OpStatsLogger
RequestStats. longPollPreWaitStats
(package private) OpStatsLogger
RequestStats. longPollReadRequestStats
(package private) OpStatsLogger
RequestStats. longPollReadStats
(package private) OpStatsLogger
RequestStats. longPollWaitStats
(package private) OpStatsLogger
RequestStats. readEntryBlockedStats
(package private) OpStatsLogger
RequestStats. readEntrySchedulingDelayStats
(package private) OpStatsLogger
RequestStats. readEntryStats
(package private) OpStatsLogger
RequestStats. readLacRequestStats
(package private) OpStatsLogger
RequestStats. readLacStats
(package private) OpStatsLogger
RequestStats. readRequestStats
protected OpStatsLogger
ReadEntryProcessorV3. readStats
protected OpStatsLogger
ReadEntryProcessorV3. reqStats
(package private) OpStatsLogger
BookkeeperInternalCallbacks.TimedGenericCallback. statsLogger
(package private) OpStatsLogger
RequestStats. writeLacRequestStats
(package private) OpStatsLogger
RequestStats. writeLacStats
Methods in org.apache.bookkeeper.proto with parameters of type OpStatsLogger Modifier and Type Method Description protected void
ReadEntryProcessorV3. registerEvent(boolean failed, OpStatsLogger statsLogger, com.google.common.base.Stopwatch startTime)
protected void
ReadEntryProcessorV3. registerFailedEvent(OpStatsLogger statsLogger, com.google.common.base.Stopwatch startTime)
protected void
ReadEntryProcessorV3. registerSuccessfulEvent(OpStatsLogger statsLogger, com.google.common.base.Stopwatch startTime)
protected void
PacketProcessorBase. sendReadReqResponse(int rc, java.lang.Object response, OpStatsLogger statsLogger, boolean throttle)
protected void
PacketProcessorBase. sendResponse(int rc, java.lang.Object response, OpStatsLogger statsLogger)
protected void
PacketProcessorBaseV3. sendResponse(BookkeeperProtocol.StatusCode code, java.lang.Object response, OpStatsLogger statsLogger)
protected void
WriteEntryProcessorV3. sendResponse(BookkeeperProtocol.StatusCode code, java.lang.Object response, OpStatsLogger statsLogger)
protected void
PacketProcessorBase. sendResponseAndWait(int rc, java.lang.Object response, OpStatsLogger statsLogger)
Write on the channel and wait until the write is completed.protected void
PacketProcessorBase. sendWriteReqResponse(int rc, java.lang.Object response, OpStatsLogger statsLogger)
Constructors in org.apache.bookkeeper.proto with parameters of type OpStatsLogger Constructor Description CompletionValue(java.lang.String operationName, java.lang.Object ctx, long ledgerId, long entryId, OpStatsLogger opLogger, OpStatsLogger timeoutOpLogger)
TimedGenericCallback(BookkeeperInternalCallbacks.GenericCallback<T> cb, int successRc, OpStatsLogger statsLogger)
-
Uses of OpStatsLogger in org.apache.bookkeeper.replication
Methods in org.apache.bookkeeper.replication that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
AuditorStats. getAuditBookiesTime()
OpStatsLogger
AuditorStats. getBookieToLedgersMapCreationTime()
OpStatsLogger
AuditorStats. getCheckAllLedgersTime()
OpStatsLogger
AuditorStats. getNumBookiesPerLedger()
OpStatsLogger
AuditorStats. getNumFragmentsPerLedger()
OpStatsLogger
AuditorStats. getNumUnderReplicatedLedger()
OpStatsLogger
AuditorStats. getPlacementPolicyCheckTime()
OpStatsLogger
AuditorStats. getReplicasCheckTime()
OpStatsLogger
AuditorStats. getUnderReplicatedLedgerTotalSize()
OpStatsLogger
AuditorStats. getURLPublishTimeForLostBookies()
-
Uses of OpStatsLogger in org.apache.bookkeeper.stats
Classes in org.apache.bookkeeper.stats that implement OpStatsLogger Modifier and Type Class Description (package private) static class
NullStatsLogger.NullOpStatsLogger
A no-opOpStatsLogger
.Fields in org.apache.bookkeeper.stats with type parameters of type OpStatsLogger Modifier and Type Field Description protected java.util.concurrent.ConcurrentMap<java.lang.String,OpStatsLogger>
CachingStatsLogger. opStatsLoggers
Methods in org.apache.bookkeeper.stats that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
CachingStatsLogger. getOpStatsLogger(java.lang.String name)
OpStatsLogger
NullStatsLogger. getOpStatsLogger(java.lang.String name)
OpStatsLogger
StatsLogger. getOpStatsLogger(java.lang.String name)
OpStatsLogger
CachingStatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
Thread-scoped stats not currently supported.OpStatsLogger
NullStatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
OpStatsLogger
StatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
-
Uses of OpStatsLogger in org.apache.bookkeeper.stats.codahale
Classes in org.apache.bookkeeper.stats.codahale that implement OpStatsLogger Modifier and Type Class Description (package private) class
CodahaleOpStatsLogger
Methods in org.apache.bookkeeper.stats.codahale that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
CodahaleStatsLogger. getOpStatsLogger(java.lang.String statName)
OpStatsLogger
FastCodahaleStatsLogger. getOpStatsLogger(java.lang.String statName)
OpStatsLogger
CodahaleStatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
Thread-scoped stats not currently supported. -
Uses of OpStatsLogger in org.apache.bookkeeper.stats.otel
Classes in org.apache.bookkeeper.stats.otel that implement OpStatsLogger Modifier and Type Class Description (package private) class
OtelOpStatsLogger
Methods in org.apache.bookkeeper.stats.otel that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
OtelStatsLogger. getOpStatsLogger(java.lang.String name)
OpStatsLogger
OtelStatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
-
Uses of OpStatsLogger in org.apache.bookkeeper.stats.prometheus
Classes in org.apache.bookkeeper.stats.prometheus that implement OpStatsLogger Modifier and Type Class Description class
DataSketchesOpStatsLogger
OpStatsLogger implementation that uses DataSketches library to calculate the approximated latency quantiles.class
ThreadScopedDataSketchesStatsLogger
OpStatsLogger implementation that lazily registers OpStatsLoggers per thread with added labels for the threadpool/thresd name and thread no.Methods in org.apache.bookkeeper.stats.prometheus that return OpStatsLogger Modifier and Type Method Description OpStatsLogger
PrometheusStatsLogger. getOpStatsLogger(java.lang.String name)
OpStatsLogger
PrometheusStatsLogger. getThreadScopedOpStatsLogger(java.lang.String name)
-
Uses of OpStatsLogger in org.apache.bookkeeper.zookeeper
Fields in org.apache.bookkeeper.zookeeper declared as OpStatsLogger Modifier and Type Field Description (package private) OpStatsLogger
ZooWorker. statsLogger
Methods in org.apache.bookkeeper.zookeeper with parameters of type OpStatsLogger Modifier and Type Method Description static <T> T
ZooWorker. syncCallWithRetries(ZooKeeperClient client, ZooWorker.ZooCallable<T> proc, RetryPolicy retryPolicy, com.google.common.util.concurrent.RateLimiter rateLimiter, OpStatsLogger statsLogger)
Execute a sync zookeeper operation with a given retry policy.Constructors in org.apache.bookkeeper.zookeeper with parameters of type OpStatsLogger Constructor Description ZkRetryRunnable(RetryPolicy retryPolicy, com.google.common.util.concurrent.RateLimiter rateLimiter, OpStatsLogger statsLogger)
ZooWorker(RetryPolicy retryPolicy, OpStatsLogger statsLogger)
-