How to check which retention policy is being used when data drops are happening

Hi Guys,

I have a some basic user and admin knowledge of Influx DB. We are seeing an error message in our telegraf-kafka logs saying the following "Partial write: points beyond retention policy " repeatedly saying that it is dropping data due to the retention policy. This has only started happening this morning, and there is no mention of which retention policy is being used when the drops are happening.

Error message:
Partial write: points beyond retention policy dropped=951

The retention policies that are configured are as follows;

name duration shardGroupDuration replicaN default


raw 336h0m0s 48h0m0s 2 true
hourly 2160h0m0s 168h0m0s 2 false
daily 17520h0m0s 720h0m0s 2 false
rawbytes 12960h0m0s 168h0m0s 2 false

There does not appear to be any error messages being logged regarding continuous queries being run.

Question:

How can I find out which retention policy is being used at the time of the dropped data points error, or am I going down the wrong garden path so to speak?

Thanks!
Baz