Table of Contents

Class RocksDbMetricsOptions

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll
public sealed class RocksDbMetricsOptions
Inheritance
RocksDbMetricsOptions
Inherited Members

Properties

DatabaseName

A name for the database, reported as the db.name tag on every instrument so several databases can share one meter. Defaults to none.

public string? DatabaseName { get; init; }

Property Value

string

Histograms

The histograms to export, or null for all of them.

public IReadOnlyCollection<Histogram>? Histograms { get; init; }

Property Value

IReadOnlyCollection<Histogram>

IncludeProperties

Whether to export the database properties operators most often watch: memtable and block cache sizes, pending compaction, running background work, key and data size estimates, and write stalls. On by default, and independent of statistics.

public bool IncludeProperties { get; init; }

Property Value

bool

MeterFactory

The factory to create the meter from, typically the one dependency injection provides, or null to create it directly.

public IMeterFactory? MeterFactory { get; init; }

Property Value

IMeterFactory

Tickers

The tickers to export, or null for all of them. They need statistics enabled; see Register(RocksDb, RocksDbMetricsOptions?).

public IReadOnlyCollection<Ticker>? Tickers { get; init; }

Property Value

IReadOnlyCollection<Ticker>