Class BackupMetricsExporter
The engine's backup metrics for OpenTelemetry (07 §6, plan 1416 §4.4, DL-21): gauges and counters on a Meter named MeterName, every one observable — read from the published Status when a consumer polls, never on an engine path. A gauge is exported as a gauge: the resource tree's IMetricSource carries only counters and durations, which an exporter would turn every age and depth into a monotonic counter.
public sealed class BackupMetricsExporter : IDisposable
- Inheritance
-
BackupMetricsExporter
- Implements
- Inherited Members
Constructors
BackupMetricsExporter(DatabaseEngine)
Creates the exporter and registers the instruments.
public BackupMetricsExporter(DatabaseEngine engine)
Parameters
engineDatabaseEngineThe engine whose backups are reported.
Fields
MeterName
The meter's name.
public const string MeterName = "Typhon.Backup"
Field Value
MeterVersion
The meter's version.
public const string MeterVersion = "1.0.0"
Field Value
Properties
Meter
The meter owning the instruments.
public Meter Meter { get; }
Property Value
Methods
Dispose()
public void Dispose()