Loki ruler - templating in annotations

Created rules, but have not found a way to display loki log labels in the annotation section of the alert. Ex. {{labels.ip}}

dashboard: "https://a.my.org/dashboard?orgId=1&var-ip={{labels.ip}}"
       # TRAP SNMP IP SLA RTT
      - alert: network_routing
        expr: count_over_time({job="snmptrap"} |= "rttMonNotificationV2 " [10m]) > 1
        labels:
            severity: 2
        annotations:
            summary: "TRAP SNMP IP SLA rttMonNotificationV2"
            dashboardURL: "https://monitoring.my.org/grafana/d/457K42wGz/network-routing?orgId=1&var-ip={{labels.ip}}"

In explore this yields the following output labels associated with the log:
{host=“snmptrap”,ip=“10.242.16.140”,job=“snmptrap”}

Is this something that is supported?
If yes, how to do it?
If no, is this something planned?

Thank you,

Can you confirm: are you using the new Unified Alerting platform or the legacy platform?