Skip to content

Commit fc38498

Browse files
committed
clean unused stuff from ns_server_stats
Change-Id: If32f215adc3537e83696086ba0e3b95eaf51d020 Reviewed-on: http://review.couchbase.org/c/ns_server/+/159325 Well-Formed: Build Bot <[email protected]> Tested-by: Artem Stemkovski <[email protected]> Reviewed-by: Timofey Barmin <[email protected]>
1 parent 1541c5b commit fc38498

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/ns_server_stats.erl

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
-export([init_stats/0, notify_counter/1, notify_counter/2, notify_gauge/2,
3737
notify_histogram/2, notify_histogram/4, notify_max/2]).
3838

39-
-export([increment_counter/1, increment_counter/2,
40-
get_ns_server_stats/0, set_counter/2,
39+
-export([increment_counter/2,
40+
get_ns_server_stats/0,
4141
add_histo/2,
42-
cleanup_stale_epoch_histos/0, log_system_stats/1,
43-
stale_histo_epoch_cleaner/0, report_prom_stats/2]).
42+
stale_histo_epoch_cleaner/0,
43+
report_prom_stats/2]).
4444

4545
-type os_pid() :: integer().
4646

@@ -523,9 +523,6 @@ process_stats(TS, Binary, PrevSample, State) ->
523523
sample_ns_memcached_queues(),
524524
{RetStats, NewPrevSample}.
525525

526-
increment_counter(Name) ->
527-
increment_counter(Name, 1).
528-
529526
increment_counter(Name, By) ->
530527
try
531528
do_increment_counter(Name, By)

0 commit comments

Comments
 (0)