You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deleteTimers/deleteGauges is a recent addition to highlight this specific issue as it was not clear on what grounds target whisper files had 'None' value for some buckets before.
Using tcpdump on active production container I was able to capture and filter incoming UDP packets and correlate timestamps with records in resulting whisper files this way:
Seeing 0 for 1622103370 bucket, while there was a metric received at 1622103366.994994 is incorrect. I assume that 0 is the value which was fed into graphite by statsd because prior to setting deleteTimers to false there were None values for these 'missing' buckets.
tcpdump output was captured as tcpdump -tt -A -s0 -vv dst port 8125 | grep earp.refresh.current.runtime -B5 and cut for brevity, full output for 'missing' metrics is:
1622103366.994994 IP (tos 0x0, ttl 62, id 45097, offset 0, flags [DF], proto UDP (17), length 80)
10.52.16.11.54827 > graphite.8125: [udp sum ok] UDP, length 52
E..P.)@.>.P.
4..
4...+...<..aggregation.earp.refresh.current.runtime:6.992849|ms
whisper files rendered as /opt/graphite/bin/whisper-fetch.py --from=1622103000 /opt/graphite/storage/ whisper/stats/timers/aggregation/earp/refresh/current/runtime/count.wsp
and /opt/graphite/bin/whisper-fetch.py --from=1622103000 /opt/graphite/storage/ whisper/stats/timers/aggregation/earp/refresh/current/runtime/sum.wsp
The text was updated successfully, but these errors were encountered:
While debugging a missing metrics issue with help of tcpdump i arrived at a situation that appears to be derived from statsd behavior.
We use https://hub.docker.com/r/graphiteapp/graphite-statsd/ docker image in GCP for various service monitoring, with following configuration:
deleteTimers/deleteGauges
is a recent addition to highlight this specific issue as it was not clear on what grounds target whisper files had 'None' value for some buckets before.Using tcpdump on active production container I was able to capture and filter incoming UDP packets and correlate timestamps with records in resulting whisper files this way:
Seeing
0
for1622103370
bucket, while there was a metric received at1622103366.994994
is incorrect. I assume that 0 is the value which was fed into graphite by statsd because prior to settingdeleteTimers
to false there wereNone
values for these 'missing' buckets.tcpdump output was captured as
tcpdump -tt -A -s0 -vv dst port 8125 | grep earp.refresh.current.runtime -B5
and cut for brevity, full output for 'missing' metrics is:whisper files rendered as
/opt/graphite/bin/whisper-fetch.py --from=1622103000 /opt/graphite/storage/ whisper/stats/timers/aggregation/earp/refresh/current/runtime/count.wsp
and
/opt/graphite/bin/whisper-fetch.py --from=1622103000 /opt/graphite/storage/ whisper/stats/timers/aggregation/earp/refresh/current/runtime/sum.wsp
The text was updated successfully, but these errors were encountered: