Instana

 View Only
  • 1.  SLO reporting difference dashboard vs API

    Posted Thu August 17, 2023 04:15 AM

    Hi all,

    I'm comparing the SLO reporting functionality via dashboard and via the API. But I'm encountering a difference in information between the dashboard widget and the API.

    Below you can see my widget for a certain time window.

    When I use the same SLI, target % and time window via the API, Instana returns other 'Error Budget Spent' and 'Error Budget' statistics:

    • The API call:  {{baseURL}}/api/sli/report/:sliId?slo=0.90&from=1692136800000&to=1692223200000
    • The result:
    {
        "sli": 0.9999852610030706,
        "slo": 0.9,
        "totalErrorBudget": 122124,
        "errorBudgetRemaining": 122106,
        "fromTimestamp": 1692136800000,
        "toTimestamp": 1692223200000,
        "violationDistribution": null
    }

    Comparison between dashboard and API:

    • totalErrorBudget
      • API: 122.124
      • dashboard: 65.080
    • ErrorBudgetRemaining
      • API: 122.106
      • Dashboard returns the Error Budget Spent which is 10. So the ErrorBudgetRemaining is 65.070.

    Can someone point out what I'm missing here?

    Thanks in advance!



    ------------------------------
    Kind regards,
    Jurgen Roels
    Brussels, Belgium
    ------------------------------


  • 2.  RE: SLO reporting difference dashboard vs API

    Posted Fri August 18, 2023 04:26 PM

    Hi Jurgen - thanks for reaching out!  I would like to get some more details on the service level configuration that you have, so that we can explore this further from our side.  If you can please reach out to me (arthurdm@ca.ibm.com) we can work on it together, and then report back here once we figure it out.  



    ------------------------------
    Arthur De Magalhaes
    STSM - Instana and AIOps Architect
    IBM
    Markham ON
    ------------------------------



  • 3.  RE: SLO reporting difference dashboard vs API

    Posted Tue August 22, 2023 06:29 PM

    Hi Juergen

    sorry, took a while ...

    Did you check the "Time Window" in the SLO widget?

    Depending on the setting it either does or does NOT consider the the time window of the dashboard time picker.

    See point 6 here please https://www.ibm.com/docs/en/instana-observability/current?topic=instana-service-level-objectives-slo#adding-slo-widgets

    Let me know, cheers

    Tom



    ------------------------------
    Tom Tammann
    ------------------------------



  • 4.  RE: SLO reporting difference dashboard vs API

    Posted Thu August 24, 2023 03:44 AM

    Hi Tom,

    As discussed by mail, the 'Time Window' was configured as 'Dynamic time window'.

    I created a support ticket at IBM.

    Kind regards,

    Jurgen



    ------------------------------
    Kind regards,
    Jurgen Roels
    Brussels, Belgium
    ------------------------------