Interface IMonitoring


@Path("/monitoring") public interface IMonitoring
  • Method Summary

    Modifier and Type
    Method
    Description
    getAlerts(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

      @GET @Path("grafana_token") String 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.