Skip to content

Commit 47c269a

Browse files
Log deprecated metrics (#340)
Co-authored-by: Georgy Moiseev <[email protected]>
1 parent 9141c93 commit 47c269a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

metrics/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ return {
119119
invoke_callbacks = invoke_callbacks,
120120
set_global_labels = set_global_labels,
121121
enable_default_metrics = function(include, exclude)
122+
log.warn('metrics tnt_net_sent_rps, tnt_net_received_rps, tnt_net_connections_rps, '..
123+
'tnt_net_requests_rps, tnt_stats_op_rps ' ..
124+
'are deprecated and will be removed in next releases.')
122125
require('metrics.tarantool').enable(include, exclude)
123126
end,
124127
enable_cartridge_metrics = function()

0 commit comments

Comments
 (0)