Node and Pool bytes_in_total value drop on ipv6
Describe the bug The metric collected for node_bytes_in_total and pool_bytes_in_total on ipv6 will occasionally (multiple times in a day) have a value substantially lower than the prior value. The subsequent value will be correct for the expected rise in value. The dip then subsequent next value creates a spike of traffic in the graphing using rate. The sample rate is 30s and the rate on the graph is 1m, delta between the two data points (low and normal) generates a large spike.
This is not isolated to a single big-ip, across the entire ecosystem which is 50+.
To Reproduce I cannot reproduce, it is visible multiple times per day, no issues noticed on Otel or Prometheus collector at the time of the event.
PromQL (rate interval is 1m and sample rate is 30s):
sum(
irate(f5_node_bytes_in_total{
job=~"bigip/${Site}-vLBS-0[3-8]\\.prod\\.net",
f5_node_name=~"/Common/${Site}-vFTD-03-2045-v.*"
}[$__rate_interval])
)*8
Expected behavior These value for node and pool total bytes_in should always be incrementing unless reset which has not happened. The next value in the sequence is normally as expected for the next poll event. Occasionally there are a cluster of multiples.
Screenshots Three events close to each other captured and show. Event one 13:49:30 Event two 13:51:30 Event three 13:52:00
Desktop (please complete the following information):
- OS: Linux RedHat
- Browser: Microsoft Edge
- AST Version: v0.9.7
Additional context Account being used on big-ip is admin and version is 17.1.x.
Attachments If the issue is in regards to missing data in dashboards, please also run the following from the installed host and attach the output:
curl 'localhost:9090/federate?match[]=%7B__name__%3D~"f5.%2A"%7D'
Logs for the collector can be gathered with:
docker logs application-study-tool-otel-collector-1 --tail 1000
That's actually a BIG-IP issue (TMCTL), you can smooth it out using certain promql queries.
The solution was found via this F5 K article: https://my.f5.com/manage/s/article/K21811305 Solution is a "slow_merge".
Configure the merged.method database variable to use the slow_merge setting by typing the following command:
tmsh modify sys db merged.method value slow_merge
Change the merge-interval value to 2 to reduce CPU usage when merge-method is slow-merge.
tmsh modify /sys db merged.merge.interval {value "2"}