prometheus / common

Go libraries shared across Prometheus components and libraries.
Apache License 2.0
259 stars 306 forks source link

Add StatusAt method for Alert struct #618

Closed grobinson-grafana closed 2 months ago

grobinson-grafana commented 2 months ago

This commit adds the StatusAt method for the Alert struct. It calls the ResolvedAt method while Status calls the Resolved method.

This method will be used in Alertmanager to fix issue prometheus/alertmanager#3351.

roidelapluie commented 2 months ago

Thanks!