I tried to know about the data latency between primary and secondary server with AAG concept.
From sys.dm_hadr_database_replica_states table, can I take it as latency occurred in secondary server if value exist in secondary_lag_seconds column? Or is there any way to find out the data latency between primary and secondary server?