travelping / ergw

erGW - Erlang implementations of GGSN or P-GW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement configurable GTP RTT metrics interval

vkatsuba opened this issue · comments

erGW version

2.8.4

Description

This ticket is for the implementation of configurable GTP path RTT metric intervals. The large majority of GTP path metrics are RTT information. On systems maintaining many GTP paths, this can result in such large amount of data that the prometheus metrics collector clients can time out.

Current behavior

The current implementation uses 7 intervals [10, 30, 50, 75, 100, 1000, 2000] which results in 10 entries for each GTP path GTP version and sent_message type.

Expected behavior

An optional configuration option in the ergw is available to specify the intervals in milliseconds to be used for the GTP path RTT metrics. If the configuration option is not defined, it should fall back to the current implemented intervals.

Example of the new configuration option:

{gtp_path_rtt_metric_intervals, [10, 100]}