Skip to content

Commit

Permalink
Update specification/metrics/new_api.md
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <[email protected]>
  • Loading branch information
reyang and cijothomas authored Apr 7, 2021
1 parent 09c4ec8 commit b0f134b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/metrics/new_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ interface IAtomicClock

IAtomicClock clock = AtomicClock.Connect();

var obCaesiumOscillates = meter.CreateCounterFunc<UInt64>("caesium_oscillates", clk => clk.GetCaesiumOscillates(), clock);
var obCaesiumOscillates = meter.CreateCounterFunc<UInt64>("caesium_oscillates", clk => clk.GetCaesiumOscillates(), state: clock);
```

#### CounterFunc operations
Expand Down

0 comments on commit b0f134b

Please sign in to comment.