public void Can_tostring_set_item_with_single_key_value() { var setItem = new MetricSetItem("key", "value"); setItem.ToString().Should().Be("key:value"); }
/// <inheritdoc /> public void Mark(MetricSetItem setItem, long amount) { Mark(setItem.ToString(), amount); }
/// <inheritdoc /> public void Mark(MeterOptions options, long amount, MetricSetItem itemSetup) { _registry.Meter(options, () => _meterBuilder.Build(_clock)).Mark(itemSetup, amount); }
/// <inheritdoc /> public void Decrement(MetricSetItem setItem, long amount) { Decrement(setItem.ToString(), amount); }
/// <inheritdoc /> public void Mark(MetricSetItem setItem) { Mark(setItem.ToString()); }
/// <inheritdoc /> public void Increment(MetricSetItem setItem) { Increment(setItem.ToString()); }
/// <inheritdoc /> public void Decrement(MetricSetItem setItem) { Decrement(setItem.ToString()); }
/// <inheritdoc /> public void Mark(MeterOptions options, MetricTags tags, long amount, MetricSetItem setItem) { _registry.Meter(options, tags, () => _meterBuilder.Build(_clock)).Mark(setItem, amount); }
/// <inheritdoc /> public void Mark(MetricSetItem setItem, long amount) { throw new NotImplementedException(); }
/// <inheritdoc /> public void Mark(MeterOptions options, MetricSetItem setItem) { _registry.Meter(options, () => _meterBuilder.Build(_clock)).Mark(setItem); }
/// <inheritdoc /> public void Increment(MetricSetItem setItem, long amount) { }
/// <inheritdoc /> public void Increment(MetricSetItem setItem) { }
/// <inheritdoc /> public void Decrement(CounterOptions options, long amount, MetricSetItem setItem) { _registry.Counter(options, () => _counterBuilder.Build()).Decrement(setItem, amount); }
/// <inheritdoc /> public void Increment(CounterOptions options, MetricSetItem setItem) { _registry.Counter(options, () => _counterBuilder.Build()).Increment(setItem); }