stats

package
v0.0.0-...-653efa9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package stats provides a simple statsd client API.

Package stats provides a simple statsd client API.

Package stats provides a simple statsd client API.

Index

Constants

This section is empty.

Variables

View Source
var (
	DirCreateOps                 = "proxyfs.inode.directory.create.operations"
	DirCreateSuccessOps          = "proxyfs.inode.directory.create.success.operations"
	DirLinkOps                   = "proxyfs.inode.directory.link.operations"
	DirLinkSuccessOps            = "proxyfs.inode.directory.link.success.operations"
	DirUnlinkOps                 = "proxyfs.inode.directory.unlink.operations"
	DirUnlinkSuccessOps          = "proxyfs.inode.directory.unlink.success.operations"
	DirRenameOps                 = "proxyfs.inode.directory.rename.operations"
	DirRenameSuccessOps          = "proxyfs.inode.directory.rename.success.operations"
	DirLookupOps                 = "proxyfs.inode.directory.lookup.operations"
	DirReaddirOps                = "proxyfs.inode.directory.readdir.operations"
	DirReadOps                   = "proxyfs.inode.directory.read.operations"
	DirReadEntries               = "proxyfs.inode.directory.read.entries"
	DirReadBytes                 = "proxyfs.inode.directory.read.bytes"
	FileCreateOps                = "proxyfs.inode.file.create.operations"
	FileCreateSuccessOps         = "proxyfs.inode.file.create.success.operations"
	FileWritebackHitOps          = "proxyfs.inode.file.writeback.hit.operations"
	FileWritebackMissOps         = "proxyfs.inode.file.writeback.miss.operations"
	FileReadcacheHitOps          = "proxyfs.inode.file.readcache.hit.operations"
	FileReadcacheMissOps         = "proxyfs.inode.file.readcache.miss.operations"
	FileReadOps                  = "proxyfs.inode.file.read.operations"
	FileReadOps4K                = "proxyfs.inode.file.read.operations.size-up-to-4KB"
	FileReadOps8K                = "proxyfs.inode.file.read.operations.size-4KB-to-8KB"
	FileReadOps16K               = "proxyfs.inode.file.read.operations.size-8KB-to-16KB"
	FileReadOps32K               = "proxyfs.inode.file.read.operations.size-16KB-to-32KB"
	FileReadOps64K               = "proxyfs.inode.file.read.operations.size-32KB-to-64KB"
	FileReadOpsOver64K           = "proxyfs.inode.file.read.operations.size-over-64KB"
	FileReadBytes                = "proxyfs.inode.file.read.bytes"
	FileReadplanOps              = "proxyfs.inode.file.readplan.operations"
	FileReadplanOps4K            = "proxyfs.inode.file.readplan.operations.size-up-to-4KB"
	FileReadplanOps8K            = "proxyfs.inode.file.readplan.operations.size-4KB-to-8KB"
	FileReadplanOps16K           = "proxyfs.inode.file.readplan.operations.size-8KB-to-16KB"
	FileReadplanOps32K           = "proxyfs.inode.file.readplan.operations.size-16KB-to-32KB"
	FileReadplanOps64K           = "proxyfs.inode.file.readplan.operations.size-32KB-to-64KB"
	FileReadplanOpsOver64K       = "proxyfs.inode.file.readplan.operations.size-over-64KB"
	FileReadplanBytes            = "proxyfs.inode.file.readplan.bytes"
	FileReadplanOpsEntries1      = "proxyfs.inode.file.readplan.operations.entries-1"
	FileReadplanOpsEntriesTo4    = "proxyfs.inode.file.readplan.operations.entries-2-to-4"
	FileReadplanOpsEntriesTo16   = "proxyfs.inode.file.readplan.operations.entries-5-to-16"
	FileReadplanOpsEntriesTo64   = "proxyfs.inode.file.readplan.operations.entries-17-to-64"
	FileReadplanOpsEntriesOver64 = "proxyfs.inode.file.readplan.operations.entries-over-64"
	FileWriteOps                 = "proxyfs.inode.file.write.operations"
	FileWriteOps4K               = "proxyfs.inode.file.write.operations.size-up-to-4KB"
	FileWriteOps8K               = "proxyfs.inode.file.write.operations.size-4KB-to-8KB"
	FileWriteOps16K              = "proxyfs.inode.file.write.operations.size-8KB-to-16KB"
	FileWriteOps32K              = "proxyfs.inode.file.write.operations.size-16KB-to-32KB"
	FileWriteOps64K              = "proxyfs.inode.file.write.operations.size-32KB-to-64KB"
	FileWriteOpsOver64K          = "proxyfs.inode.file.write.operations.size-over-64KB"
	FileWriteBytes               = "proxyfs.inode.file.write.bytes"
	FileWriteAppended            = "proxyfs.inode.file.write.appended"
	FileWriteOverwritten         = "proxyfs.inode.file.write.overwritten"
	FileWroteOps                 = "proxyfs.inode.file.wrote.operations"
	FileWroteOps4K               = "proxyfs.inode.file.wrote.operations.size-up-to-4KB"
	FileWroteOps8K               = "proxyfs.inode.file.wrote.operations.size-4KB-to-8KB"
	FileWroteOps16K              = "proxyfs.inode.file.wrote.operations.size-8KB-to-16KB"
	FileWroteOps32K              = "proxyfs.inode.file.wrote.operations.size-16KB-to-32KB"
	FileWroteOps64K              = "proxyfs.inode.file.wrote.operations.size-32KB-to-64KB"
	FileWroteOpsOver64K          = "proxyfs.inode.file.wrote.operations.size-over-64KB"
	FileWroteBytes               = "proxyfs.inode.file.wrote.bytes"
	DirSetsizeOps                = "proxyfs.inode.directory.setsize.operations"
	FileFlushOps                 = "proxyfs.inode.file.flush.operations"
	LogSegCreateOps              = "proxyfs.inode.file.log-segment.create.operations"
	GcLogSegDeleteOps            = "proxyfs.inode.garbage-collection.log-segment.delete.operations"
	GcLogSegOps                  = "proxyfs.inode.garbage-collection.log-segment.operations"
	DirDestroyOps                = "proxyfs.inode.directory.destroy.operations"
	FileDestroyOps               = "proxyfs.inode.file.destroy.operations"
	SymlinkDestroyOps            = "proxyfs.inode.symlink.destroy.operations"
	InodeGetMetadataOps          = "proxyfs.inode.get_metadata.operations"
	InodeGetTypeOps              = "proxyfs.inode.get_type.operations"
	SymlinkCreateOps             = "proxyfs.inode.symlink.create.operations"
	SymlinkReadOps               = "proxyfs.inode.symlink.read.operations"

	DirEntryCacheHits        = "proxyfs.inode.dir.entry.cache.hit.operations"
	DirEntryCacheMisses      = "proxyfs.inode.dir.entry.cache.miss.operations"
	FileExtentMapCacheHits   = "proxyfs.inode.file.extent.map.cache.hit.operations"
	FileExtentMapCacheMisses = "proxyfs.inode.file.extent.map.cache.miss.operations"

	DirFileBPlusTreeNodeFaults = "proxyfs.inode.payload.node.fault.operations"

	ReconChecks                     = "proxyfs.inode.recon.intervals"
	ReconCheckTriggeredNormalMode   = "proxyfs.inode.recon.triggered.normal.mode"
	ReconCheckTriggeredNoWriteMode  = "proxyfs.inode.recon.triggered.no.write.mode"
	ReconCheckTriggeredReadOnlyMode = "proxyfs.inode.recon.triggered.read.only.mode"

	InodeTryLockBackoffOps           = "proxyfs.fs.trylock.backoff.operations"
	InodeTryLockDelayedBackoffOps    = "proxyfs.fs.trylock.delayed.backoff.operations"
	InodeTryLockSerializedBackoffOps = "proxyfs.fs.trylock.serialized.backoff.operations"

	InodeRecCacheHits                = "proxyfs.headhunter.inode.rec.cache.hit.operations"
	InodeRecCacheMisses              = "proxyfs.headhunter.inode.rec.cache.miss.operations"
	LogSegmentRecCacheHits           = "proxyfs.headhunter.log.segment.rec.cache.hit.operations"
	LogSegmentRecCacheMisses         = "proxyfs.headhunter.log.segment.rec.cache.miss.operations"
	BPlusTreeObjectCacheHits         = "proxyfs.headhunter.bplus.tree.object.cache.hit.operations"
	BPlusTreeObjectCacheMisses       = "proxyfs.headhunter.bplus.tree.object.cache.miss.operations"
	CreatedDeletedObjectsCacheHits   = "proxyfs.headhunter.created.deleted.objects.cache.hit.operations"
	CreatedDeletedObjectsCacheMisses = "proxyfs.headhunter.created.deleted.objects.cache.miss.operations"

	HeadhunterBPlusTreeNodeFaults = "proxyfs.headhunter.bptree.node.fault.operations"

	SkippedCheckpoints   = "proxyfs.headhunter.skipped.checkpoint.operations"
	AttemptedCheckpoints = "proxyfs.headhunter.attempted.checkpoint.operations"
	CompletedCheckpoints = "proxyfs.headhunter.completed.checkpoint.operations"

	JrpcfsIoWriteOps        = "proxyfs.jrpcfs.write.operations"
	JrpcfsIoWriteOps4K      = "proxyfs.jrpcfs.write.operations.size-up-to-4KB"
	JrpcfsIoWriteOps8K      = "proxyfs.jrpcfs.write.operations.size-4KB-to-8KB"
	JrpcfsIoWriteOps16K     = "proxyfs.jrpcfs.write.operations.size-8KB-to-16KB"
	JrpcfsIoWriteOps32K     = "proxyfs.jrpcfs.write.operations.size-16KB-to-32KB"
	JrpcfsIoWriteOps64K     = "proxyfs.jrpcfs.write.operations.size-32KB-to-64KB"
	JrpcfsIoWriteOpsOver64K = "proxyfs.jrpcfs.write.operations.size-over-64KB"
	JrpcfsIoWriteBytes      = "proxyfs.jrpcfs.write.bytes"
	JrpcfsIoReadOps         = "proxyfs.jrpcfs.read.operations"
	JrpcfsIoReadOps4K       = "proxyfs.jrpcfs.read.operations.size-up-to-4KB"
	JrpcfsIoReadOps8K       = "proxyfs.jrpcfs.read.operations.size-4KB-to-8KB"
	JrpcfsIoReadOps16K      = "proxyfs.jrpcfs.read.operations.size-8KB-to-16KB"
	JrpcfsIoReadOps32K      = "proxyfs.jrpcfs.read.operations.size-16KB-to-32KB"
	JrpcfsIoReadOps64K      = "proxyfs.jrpcfs.read.operations.size-32KB-to-64KB"
	JrpcfsIoReadOpsOver64K  = "proxyfs.jrpcfs.read.operations.size-over-64KB"
	JrpcfsIoReadBytes       = "proxyfs.jrpcfs.read.bytes"

	SwiftAccountDeleteOps             = "proxyfs.swiftclient.account-delete"
	SwiftAccountGetOps                = "proxyfs.swiftclient.account-get"
	SwiftAccountHeadOps               = "proxyfs.swiftclient.account-head"
	SwiftAccountPostOps               = "proxyfs.swiftclient.account-post"
	SwiftAccountPutOps                = "proxyfs.swiftclient.account-put"
	SwiftContainerDeleteOps           = "proxyfs.swiftclient.container-delete"
	SwiftContainerGetOps              = "proxyfs.swiftclient.container-get"
	SwiftContainerHeadOps             = "proxyfs.swiftclient.container-head"
	SwiftContainerPostOps             = "proxyfs.swiftclient.container-post"
	SwiftContainerPutOps              = "proxyfs.swiftclient.container-put"
	SwiftObjContentLengthOps          = "proxyfs.swiftclient.object-content-length"
	SwiftObjCopyOps                   = "proxyfs.swiftclient.object-copy"
	SwiftObjDeleteOps                 = "proxyfs.swiftclient.object-delete"
	SwiftObjGetOps                    = "proxyfs.swiftclient.object-get.operations"
	SwiftObjGetOps4K                  = "proxyfs.swiftclient.object-get.operations.size-up-to-4KB"
	SwiftObjGetOps8K                  = "proxyfs.swiftclient.object-get.operations.size-4KB-to-8KB"
	SwiftObjGetOps16K                 = "proxyfs.swiftclient.object-get.operations.size-8KB-to-16KB"
	SwiftObjGetOps32K                 = "proxyfs.swiftclient.object-get.operations.size-16KB-to-32KB"
	SwiftObjGetOps64K                 = "proxyfs.swiftclient.object-get.operations.size-32KB-to-64KB"
	SwiftObjGetOpsOver64K             = "proxyfs.swiftclient.object-get.operations.size-over-64KB"
	SwiftObjGetBytes                  = "proxyfs.swiftclient.object-get.bytes"
	SwiftObjHeadOps                   = "proxyfs.swiftclient.object-head"
	SwiftObjLoadOps                   = "proxyfs.swiftclient.object-load.operations"
	SwiftObjLoadOps4K                 = "proxyfs.swiftclient.object-load.operations.size-up-to-4KB"
	SwiftObjLoadOps8K                 = "proxyfs.swiftclient.object-load.operations.size-4KB-to-8KB"
	SwiftObjLoadOps16K                = "proxyfs.swiftclient.object-load.operations.size-8KB-to-16KB"
	SwiftObjLoadOps32K                = "proxyfs.swiftclient.object-load.operations.size-16KB-to-32KB"
	SwiftObjLoadOps64K                = "proxyfs.swiftclient.object-load.operations.size-32KB-to-64KB"
	SwiftObjLoadOpsOver64K            = "proxyfs.swiftclient.object-load.operations.size-over-64KB"
	SwiftObjLoadBytes                 = "proxyfs.swiftclient.object-load.bytes"
	SwiftObjPostOps                   = "proxyfs.swiftclient.object-post"
	SwiftObjReadOps                   = "proxyfs.swiftclient.object-read.operations"
	SwiftObjReadOps4K                 = "proxyfs.swiftclient.object-read.operations.size-up-to-4KB"
	SwiftObjReadOps8K                 = "proxyfs.swiftclient.object-read.operations.size-4KB-to-8KB"
	SwiftObjReadOps16K                = "proxyfs.swiftclient.object-read.operations.size-8KB-to-16KB"
	SwiftObjReadOps32K                = "proxyfs.swiftclient.object-read.operations.size-16KB-to-32KB"
	SwiftObjReadOps64K                = "proxyfs.swiftclient.object-read.operations.size-32KB-to-64KB"
	SwiftObjReadOpsOver64K            = "proxyfs.swiftclient.object-read.operations.size-over-64KB"
	SwiftObjReadBytes                 = "proxyfs.swiftclient.object-read.bytes"
	SwiftObjTailOps                   = "proxyfs.swiftclient.object-tail.operations"
	SwiftObjTailBytes                 = "proxyfs.swiftclient.object-tail.bytes"
	SwiftObjPutCtxFetchOps            = "proxyfs.swiftclient.object-put-context.fetch.operations"
	SwiftObjPutCtxActiveOps           = "proxyfs.swiftclient.object-put-context.active.operations"
	SwiftObjPutCtxBytesPutOps         = "proxyfs.swiftclient.object-put-context.bytes-put.operations"
	SwiftObjPutCtxCloseOps            = "proxyfs.swiftclient.object-put-context.close.operations"
	SwiftObjPutCtxReadOps             = "proxyfs.swiftclient.object-put-context.read.operations"
	SwiftObjPutCtxReadOps4K           = "proxyfs.swiftclient.object-put-context.read.operations.size-up-to-4KB"
	SwiftObjPutCtxReadOps8K           = "proxyfs.swiftclient.object-put-context.read.operations.size-4KB-to-8KB"
	SwiftObjPutCtxReadOps16K          = "proxyfs.swiftclient.object-put-context.read.operations.size-8KB-to-16KB"
	SwiftObjPutCtxReadOps32K          = "proxyfs.swiftclient.object-put-context.read.operations.size-16KB-to-32KB"
	SwiftObjPutCtxReadOps64K          = "proxyfs.swiftclient.object-put-context.read.operations.size-32KB-to-64KB"
	SwiftObjPutCtxReadOpsOver64K      = "proxyfs.swiftclient.object-put-context.read.operations.size-over-64KB"
	SwiftObjPutCtxReadBytes           = "proxyfs.swiftclient.object-put-context.read.bytes"
	SwiftObjPutCtxRetryOps            = "proxyfs.swiftclient.object-put-context.retry.operations"
	SwiftObjPutCtxSendChunkOps        = "proxyfs.swiftclient.object-put-context.send-chunk.operations"
	SwiftObjPutCtxSendChunkOps4K      = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-up-to-4KB"
	SwiftObjPutCtxSendChunkOps8K      = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-4KB-to-8KB"
	SwiftObjPutCtxSendChunkOps16K     = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-8KB-to-16KB"
	SwiftObjPutCtxSendChunkOps32K     = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-16KB-to-32KB"
	SwiftObjPutCtxSendChunkOps64K     = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-32KB-to-64KB"
	SwiftObjPutCtxSendChunkOpsOver64K = "proxyfs.swiftclient.object-put-context.send-chunk.operations.size-over-64KB"
	SwiftObjPutCtxSendChunkBytes      = "proxyfs.swiftclient.object-put-context.send-chunk.bytes"
	SwiftChunkedConnsCreateOps        = "proxyfs.swiftclient.chunked-connections-create.operations"
	SwiftChunkedConnsReuseOps         = "proxyfs.swiftclient.chunked-connections-reuse.operations"
	SwiftNonChunkedConnsCreateOps     = "proxyfs.swiftclient.non-chunked-connections-create.operations"
	SwiftNonChunkedConnsReuseOps      = "proxyfs.swiftclient.non-chunked-connections-reuse.operations"
	SwiftChunkedStarvationCallbacks   = "proxyfs.swiftclient.chunked-connections-starved-callback.operations"

	SwiftAccountDeleteRetryOps        = "proxyfs.swiftclient.account-delete.retry.operations"         // failed operations that were retried (*not* number of retries)
	SwiftAccountDeleteRetrySuccessOps = "proxyfs.swiftclient.account-delete.retry.success.operations" // failed operations where retry fixed the problem
	SwiftAccountGetRetryOps           = "proxyfs.swiftclient.account-get.retry.operations"
	SwiftAccountGetRetrySuccessOps    = "proxyfs.swiftclient.account-get.retry.success.operations"
	SwiftAccountHeadRetryOps          = "proxyfs.swiftclient.account-head.retry.operations"
	SwiftAccountHeadRetrySuccessOps   = "proxyfs.swiftclient.account-head.retry.success.operations"
	SwiftAccountPostRetryOps          = "proxyfs.swiftclient.account-post.retry.operations"
	SwiftAccountPostRetrySuccessOps   = "proxyfs.swiftclient.account-post.retry.success.operations"
	SwiftAccountPutRetryOps           = "proxyfs.swiftclient.account-put.retry.operations"
	SwiftAccountPutRetrySuccessOps    = "proxyfs.swiftclient.account-put.retry.success.operations"

	SwiftContainerDeleteRetryOps        = "proxyfs.swiftclient.container-delete.retry.operations"
	SwiftContainerDeleteRetrySuccessOps = "proxyfs.swiftclient.container-delete.retry.success.operations"
	SwiftContainerGetRetryOps           = "proxyfs.swiftclient.container-get.retry.operations"
	SwiftContainerGetRetrySuccessOps    = "proxyfs.swiftclient.container-get.retry.success.operations"
	SwiftContainerHeadRetryOps          = "proxyfs.swiftclient.container-head.retry.operations"
	SwiftContainerHeadRetrySuccessOps   = "proxyfs.swiftclient.container-head.retry.success.operations"
	SwiftContainerPostRetryOps          = "proxyfs.swiftclient.container-post.retry.operations"
	SwiftContainerPostRetrySuccessOps   = "proxyfs.swiftclient.container-post.retry.success.operations"
	SwiftContainerPutRetryOps           = "proxyfs.swiftclient.container-put.retry.operations"
	SwiftContainerPutRetrySuccessOps    = "proxyfs.swiftclient.container-put.retry.success.operations"

	SwiftObjContentLengthRetryOps        = "proxyfs.swiftclient.object-content-length.retry.operations"         // failed content-length operations that were retried (*not* number of retries)
	SwiftObjContentLengthRetrySuccessOps = "proxyfs.swiftclient.object-content-length.retry.success.operations" // failed content-length operations where retry fixed the problem
	SwiftObjDeleteRetryOps               = "proxyfs.swiftclient.object-delete.retry.operations"
	SwiftObjDeleteRetrySuccessOps        = "proxyfs.swiftclient.object-delete.retry.success.operations"
	SwiftObjFetchPutCtxtRetryOps         = "proxyfs.swiftclient.object-fetch-put-ctxt.retry.operations"
	SwiftObjFetchPutCtxtRetrySuccessOps  = "proxyfs.swiftclient.object-fetch-put-ctxt.retry.success.operations"
	SwiftObjPutCtxtCloseRetryOps         = "proxyfs.swiftclient.object-put-ctxt-close.retry.operations"
	SwiftObjPutCtxtCloseRetrySuccessOps  = "proxyfs.swiftclient.object-put-ctxt-close.retry.success.operations"
	SwiftObjGetRetryOps                  = "proxyfs.swiftclient.object-get.retry.operations"
	SwiftObjGetRetrySuccessOps           = "proxyfs.swiftclient.object-get.retry.success.operations"
	SwiftObjHeadRetryOps                 = "proxyfs.swiftclient.object-head.retry.operations"
	SwiftObjHeadRetrySuccessOps          = "proxyfs.swiftclient.object-head.retry.success.operations"
	SwiftObjLoadRetryOps                 = "proxyfs.swiftclient.object-load.retry.operations"
	SwiftObjLoadRetrySuccessOps          = "proxyfs.swiftclient.object-load.retry.success.operations"
	SwiftObjPostRetryOps                 = "proxyfs.swiftclient.object-post.retry.operations"
	SwiftObjPostRetrySuccessOps          = "proxyfs.swiftclient.object-post.retry.success.operations"
	SwiftObjReadRetryOps                 = "proxyfs.swiftclient.object-read.retry.operations"
	SwiftObjReadRetrySuccessOps          = "proxyfs.swiftclient.object-read.retry.success.operations"
	SwiftObjTailRetryOps                 = "proxyfs.swiftclient.object-tail.retry.operations"
	SwiftObjTailRetrySuccessOps          = "proxyfs.swiftclient.object-tail.retry.success.operations"

	SwiftChunkedConnectionPoolNonStallOps    = "proxyfs.swiftclient.chunked-connection-pool.non-stall.operations"
	SwiftChunkedConnectionPoolStallOps       = "proxyfs.swiftclient.chunked-connection-pool.stall.operations"
	SwiftNonChunkedConnectionPoolNonStallOps = "proxyfs.swiftclient.non-chunked-connection-pool.non-stall.operations"
	SwiftNonChunkedConnectionPoolStallOps    = "proxyfs.swiftclient.non-chunked-connection-pool.stall.operations"
)

NOTE: If you change the name of any stat, check api_test.go to make sure

that a change there is not required as well.

Functions

func Dump

func Dump() (statMap map[string]uint64)

Dump returns a map of all accumulated stats since process start.

Key   is a string containing the name of the stat
Value is the accumulation of all increments for the stat since process start

func IncrementOperations

func IncrementOperations(statName *string)

IncrementOperations sends an increment of .operations to statsd.

func IncrementOperationsAndBucketedBytes

func IncrementOperationsAndBucketedBytes(stat MultipleStat, bytes uint64)

IncrementOperationsAndBucketedBytes sends an increment of .operations, .bytes, and the appropriate .operations.size-* to statsd.

func IncrementOperationsAndBytes

func IncrementOperationsAndBytes(stat MultipleStat, bytes uint64)

IncrementOperationsAndBytes sends an increment of .operations and .bytes to statsd.

func IncrementOperationsBucketedBytesAndAppendedOverwritten

func IncrementOperationsBucketedBytesAndAppendedOverwritten(stat MultipleStat, bytes uint64, appended uint64, overwritten uint64)

IncrementOperationsBucketedBytesAndAppendedOverwritten sends an increment of .operations, .bytes, .appended, .overwritten, and the appropriate .operations.size-* to statsd.

func IncrementOperationsBucketedEntriesAndBucketedBytes

func IncrementOperationsBucketedEntriesAndBucketedBytes(stat MultipleStat, entries uint64, bytes uint64)

IncrementOperationsBuckedtedBytesAndBucketedSteps sends an increment of .operations, .bytes, and the appropriate .operations.size-* to statsd.

func IncrementOperationsBy

func IncrementOperationsBy(statName *string, incBy uint64)

IncrementOperationsBy sends an increment by <incBy> of .operations to statsd.

func IncrementOperationsEntriesAndBytes

func IncrementOperationsEntriesAndBytes(stat MultipleStat, entries uint64, bytes uint64)

IncrementOperationsEntriesAndBytes sends an increment of .operations, .entries, and .bytes to statsd.

Types

type MultipleStat

type MultipleStat int
const (
	DirRead                 MultipleStat = iota // uses operations, entries and bytes stats
	FileRead                                    // uses operations, op bucketed bytes, and bytes stats
	FileReadplan                                // uses operations, op bucketed bytes, bytes, and bucketed steps stats
	FileWrite                                   // uses operations, op bucketed bytes, bytes, appended and overwritten stats
	FileWrote                                   // uses operations, op bucketed bytes, and bytes stats
	JrpcfsIoWrite                               // uses operations, op bucketed bytes, and bytes stats
	JrpcfsIoRead                                // uses operations, op bucketed bytes, and bytes stats
	SwiftObjGet                                 // uses operations, op bucketed bytes, and bytes stats
	SwiftObjLoad                                // uses operations, op bucketed bytes, and bytes stats
	SwiftObjRead                                // uses operations, op bucketed bytes, and bytes stats
	SwiftObjTail                                // uses operations and bytes stats
	SwiftObjPutCtxRead                          // uses operations, op bucketed bytes, and bytes stats
	SwiftObjPutCtxSendChunk                     // uses operations, op bucketed bytes, and bytes stats
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL