How did you achieve packet loss?

On Tuesday, September 5, 2017 at 3:02:07 PM UTC-7 [email protected] wrote:

> Thank you Ben for sharing, the above queries helped in achieving packet 
> loss calculation
>
> On Tue, 5 Sep 2017, 23:50 Ben Kochie <[email protected]> wrote:
>
>> The query will produce the "uptime" of your blackbox probes as a 
>> percent.  The value will be 0.0 to 1.0, so you need to change the display 
>> unit to "Percent"
>>
>> See "Unit" here:
>> http://docs.grafana.org/features/panels/graph/#axes-grid
>>
> On Tue, Sep 5, 2017 at 3:01 PM, Emmanuel Yong <[email protected]> wrote:
>>
> Hi Ben
>>>
>>> Can explain why put y axis?
>>>
>>> Or what does the query do?
>>>
>>> Thank You
>>>
>>>
>>> On Tue, 5 Sep 2017, 19:04 Ben Kochie <[email protected]> wrote:
>>>
>> What I use for grafana is this query:
>>>>
>>>> avg_over_time(probe_success[$__interval])
>>>>
>>>> Then I set the y axis to percent 0.0 - 1.0
>>>>
>>>> On Sep 5, 2017 12:44, "Emmanuel Yong" <[email protected]> wrote:
>>>>
>>>>> Just For Sharing
>>>>>
>>>>> *Query*
>>>>> count_over_time(probe_success[1m]) - sum_over_time(probe_success[1m])
>>>>>
>>>>> *Result*
>>>>>
>>>>> <https://lh3.googleusercontent.com/-MIEUgwRU80Y/Wa5_dU7x-WI/AAAAAAAADAA/GyV-SSZZZ2ErW-NspYiYht9QOw_wKSEyACLcBGAs/s1600/Capture111.PNG>
>>>>>
>>>>> *Query*
>>>>> sum_over_time(probe_success[1m])
>>>>>
>>>>> *Result*
>>>>>
>>>>> <https://lh3.googleusercontent.com/-I8w7Z6BsOBY/Wa5_-Uv3YfI/AAAAAAAADAI/m1y9aoTQ0iQc2QRyMPwEMwxAWoZwNsFRQCLcBGAs/s1600/Capture11122.PNG>
>>>>>
>>>>> -- 
>>>>>
>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Prometheus Users" group.
>>>>>
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>
>>>>
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/prometheus-users/e7e0d9d3-4255-4224-a149-5cc94ea08f20%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/prometheus-users/e7e0d9d3-4255-4224-a149-5cc94ea08f20%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>
>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/89e2fbcd-bae2-4ed1-96b5-c7c5fbbe429dn%40googlegroups.com.

Reply via email to