Interface IMonitoring
@Path("/monitoring")
public interface IMonitoring
-
Method Summary
Modifier and TypeMethodDescriptiongetAlerts(int limit, boolean filterResolved, List<AlertLevel> levels) Mints the JWT authenticating the embedded Grafana iframes: stored in the bm_grafana_jwt cookie, bm-nginx injects it as the X-JWT-Assertion header on every proxied /grafana/ request (grafana.ini[auth.jwt]).
-
Method Details
-
getAlerts
@POST List<AlertInfo> getAlerts(@QueryParam("limit") int limit, @QueryParam("filterResolved") boolean filterResolved, List<AlertLevel> levels) -
getGrafanaToken
Mints the JWT authenticating the embedded Grafana iframes: stored in the bm_grafana_jwt cookie, bm-nginx injects it as the X-JWT-Assertion header on every proxied /grafana/ request (grafana.ini[auth.jwt]). Renewing the cookie before the token expires keeps the iframes signed in without reloading them. Requires the bmMonitoring role; bmMonitoringAdmin grants the Grafana server admin role.
-