Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CacheHits = stats.Int64("core/cache/hits", "Number of retireval cache hits", stats.UnitDimensionless) CacheMisses = stats.Int64("core/cache/misses", "Number of retireval cache misses", stats.UnitDimensionless) CacheItems = stats.Int64("core/cache/items", "Number of indexes in cache", stats.UnitDimensionless) CacheValues = stats.Int64("core/cache/values", "Number of values in cache", 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", "Time to retrieve an index", stats.UnitMilliseconds) IngestMultihashes = stats.Int64("core/ingest_multihashes", "Number of multihashes put into the indexer", stats.UnitDimensionless) StoreSize = stats.Int64("core/storage_size", "Bytes of storage used to store the indexed content", stats.UnitBytes) )
Measures
View Source
var DefaultViews = []*view.View{
cacheHitsView,
cacheMissesView,
cacheItemsView,
cacheValuesView,
cacheEvictionsView,
cacheMisuseView,
getIndexLatencyView,
ingestMultihashesView,
storeSizeView,
}
DefaultViews with all views in it.
View Source
var (
Method, _ = tag.NewKey("method")
)
Keys
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.