Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CacheHits = stats.Int64("core/cache/hits", "Number of retrieval cache hits", stats.UnitDimensionless) CacheMisses = stats.Int64("core/cache/misses", "Number of retrieval cache misses", stats.UnitDimensionless) CacheMultihashes = stats.Int64("core/cache/multihashes", "Number of cached multihashes", stats.UnitDimensionless) CacheValues = stats.Int64("core/cache/values", "Number of cached values", stats.UnitDimensionless) CacheEvictions = stats.Int64("core/cache/evictions", "Number of indexes evicted from cache", stats.UnitDimensionless) CacheMisuse = stats.Int64("core/cache/misuse", "Cache clears due to high value to multihash ratio (indexer misuse)", stats.UnitDimensionless) GetIndexLatency = stats.Float64("core/get_index_latency", "Internal lookup time for a single index", stats.UnitMilliseconds) IngestMultihashes = stats.Int64("core/ingest_multihashes", "Number of multihashes put into the indexer", stats.UnitDimensionless) RemovedProviders = stats.Int64("core/removed_providers", "Number of providers removed from indexer", stats.UnitDimensionless) StoreSize = stats.Int64("core/storage_size", "Bytes of storage used to store the indexed content", stats.UnitBytes) DHMultihashLatency = stats.Float64("core/dh_multihash_latency", "Time that the indexer spends on sending encrypted multihashes to dhstore", stats.UnitMilliseconds) DHMetadataLatency = stats.Float64("core/dh_metadata_latency", "Time that the indexer spends on sending encrypted metadata to dhstore", stats.UnitMilliseconds) )
Measures
View Source
var DefaultViews = []*view.View{
cacheHitsView,
cacheMissesView,
cacheMultihashesView,
cacheValuesView,
cacheEvictionsView,
cacheMisuseView,
getIndexLatencyView,
ingestMultihashesView,
removedProvidersView,
storeSizeView,
dhMultihashLatency,
dhMetadataLatency,
}
DefaultViews with all views in it.
View Source
var (
Method, _ = tag.NewKey("method")
)
Keys
View Source
var PebbleViews = []*view.View{
flushCountView,
readAmpView,
cacheSizeView,
cacheCountView,
pebbleCacheHitsView,
pebbleCacheMissesView,
compactCountView,
compactEstimatedDebtView,
compactInProgressBytesView,
compactNumInProgressView,
compactMarkedFilesView,
l0NumFilesView,
}
PebbleViews contains pebble specific views
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.