2016-01-24 03:02:34 +00:00
{
"id" : 1 ,
"title" : "Clair" ,
"originalTitle" : "Clair" ,
"tags" : [ ] ,
"style" : "dark" ,
"timezone" : "browser" ,
"editable" : true ,
"hideControls" : false ,
"sharedCrosshair" : false ,
"rows" : [
{
"collapse" : false ,
"editable" : true ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 1 ,
"isNew" : true ,
"leftYAxisLabel" : "" ,
"legend" : {
"alignAsTable" : false ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(clair_updater_duration_seconds)" ,
"hide" : false ,
"interval" : "1m" ,
"intervalFactor" : 2 ,
"legendFormat" : "Updater - duration" ,
"metric" : "" ,
"refId" : "A" ,
"step" : 120
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Updater - Duration" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"transparent" : false ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"s" ,
"short"
]
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"format" : "none" ,
"id" : 3 ,
"interval" : null ,
"isNew" : true ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"span" : 2 ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"targets" : [
{
2016-02-05 23:09:09 +00:00
"expr" : "sum(clair_updater_notes_total)" ,
2016-01-24 03:02:34 +00:00
"intervalFactor" : 2 ,
"legendFormat" : "" ,
2016-02-05 23:09:09 +00:00
"metric" : "" ,
2016-01-24 03:02:34 +00:00
"refId" : "A" ,
2016-01-27 21:49:56 +00:00
"step" : 21
2016-01-24 03:02:34 +00:00
}
] ,
"thresholds" : "" ,
"title" : "Updater - Number of Notes" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "avg"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 2 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 4 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_updater_errors_total[$rate]))" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Updater - Error rate" ,
"metric" : "clair_updater_errors_total" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Updater - Error rate" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"short" ,
"short"
]
}
] ,
"showTitle" : true ,
"title" : "Updater"
} ,
{
"collapse" : false ,
"editable" : true ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 4 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 8 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2016-02-05 03:46:18 +00:00
"expr" : "sum(rate(clair_notifier_latency_milliseconds_sum[$rate]))/sum(rate(clair_notifier_latency_milliseconds_count[$rate]))" ,
2016-01-24 03:02:34 +00:00
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Notifier - Latency" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Notifier - Latency" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"ms" ,
"short"
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 5 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 4 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_notifier_backend_errors_total[$rate]))" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Notifier - Error rate" ,
"metric" : "" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Notifier - Error rate" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"short" ,
"short"
]
}
] ,
"showTitle" : true ,
"title" : "Notifier"
} ,
{
"collapse" : false ,
"editable" : true ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : 100 ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 7 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
2016-01-27 21:49:56 +00:00
"span" : 4 ,
2016-01-24 03:02:34 +00:00
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_pgsql_cache_hits_total[$rate])) by (object) / sum(rate(clair_pgsql_cache_queries_total[$rate])) by (object) * 100" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{object}}" ,
"metric" : "clair_pgsql_cache_queries_total" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "PostgreSQL - Cache Hit Rate" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"percent" ,
"short"
]
} ,
2016-01-27 21:49:56 +00:00
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : 0 ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 9 ,
"isNew" : true ,
"leftYAxisLabel" : "" ,
"legend" : {
"alignAsTable" : false ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"rightYAxisLabel" : "" ,
"seriesOverrides" : [
{
"alias" : "Concurrent transactions" ,
"yaxis" : 2
}
] ,
"span" : 4 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_pgsql_query_duration_milliseconds_sum{query=\"insertFeatureVersion\", subquery=\"lock\"}[$rate])) / sum(rate(clair_pgsql_query_duration_milliseconds_count{query=\"insertFeatureVersion\", subquery=\"lock\"}[$rate]))" ,
"intervalFactor" : 2 ,
"legendFormat" : "insertFeatureVersion wait duration" ,
"refId" : "A" ,
"step" : 2
} ,
{
"expr" : "sum(rate(clair_pgsql_query_duration_milliseconds_sum{query=\"insertVulnerability\", subquery=\"lock\"}[$rate])) / sum(rate(clair_pgsql_query_duration_milliseconds_count{query=\"insertVulnerability\", subquery=\"lock\"}[$rate]))" ,
"intervalFactor" : 2 ,
"legendFormat" : "insertVulnerability wait duration" ,
"refId" : "B" ,
"step" : 2
} ,
{
"expr" : "sum(clair_pgsql_concurrent_lock_vafv_total)" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "Concurrent transactions" ,
"refId" : "C" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Lock VAFV" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"ms" ,
"short"
]
} ,
2016-01-24 03:02:34 +00:00
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 6 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 4 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_pgsql_errors_total[$rate]))" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "PostgreSQL - Error rate" ,
"metric" : "clair_updater_errors_total" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "PostgreSQL - Error rate" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"short" ,
"short"
]
}
] ,
"showTitle" : true ,
"title" : "PostgreSQL"
} ,
{
"collapse" : false ,
"editable" : true ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 8 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 12 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_pgsql_query_duration_milliseconds_sum[$rate])) by (query, subquery) / sum(rate(clair_pgsql_query_duration_milliseconds_count[$rate])) by (query, subquery)" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{query}} - {{subquery}}" ,
"metric" : "" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "PostgreSQL - Query Duration" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"ms" ,
"short"
]
}
] ,
2016-01-27 21:49:56 +00:00
"showTitle" : false ,
2016-01-24 03:02:34 +00:00
"title" : "PostgreSQL"
} ,
{
"collapse" : false ,
"editable" : true ,
2016-01-27 21:49:56 +00:00
"height" : 271 ,
2016-01-24 03:02:34 +00:00
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : 0 ,
"rightLogBase" : 1 ,
"rightMax" : null ,
2016-01-27 21:49:56 +00:00
"rightMin" : null ,
2016-01-24 03:02:34 +00:00
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
2016-01-27 21:49:56 +00:00
"id" : 10 ,
2016-01-24 03:02:34 +00:00
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2016-01-27 21:49:56 +00:00
"seriesOverrides" : [ ] ,
2016-02-04 20:52:44 +00:00
"span" : 5 ,
2016-01-24 03:02:34 +00:00
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2016-02-04 20:52:44 +00:00
"expr" : "sum(rate(clair_api_response_duration_milliseconds_sum[$rate])) by (route) / sum(rate(clair_api_response_duration_milliseconds_count[$rate])) by (route)" ,
2016-01-24 03:02:34 +00:00
"intervalFactor" : 2 ,
2016-02-04 20:52:44 +00:00
"legendFormat" : "{{route}}" ,
2016-01-27 21:49:56 +00:00
"metric" : "" ,
2016-01-24 03:02:34 +00:00
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
2016-01-27 21:49:56 +00:00
"title" : "API - Query Duration" ,
2016-01-24 03:02:34 +00:00
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"ms" ,
"short"
]
2016-01-27 21:49:56 +00:00
} ,
2016-02-04 20:52:44 +00:00
{
"aliasColors" : { } ,
"bars" : false ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : {
"leftLogBase" : 1 ,
"leftMax" : null ,
"leftMin" : null ,
"rightLogBase" : 1 ,
"rightMax" : null ,
"rightMin" : null ,
"threshold1" : null ,
"threshold1Color" : "rgba(216, 200, 27, 0.27)" ,
"threshold2" : null ,
"threshold2Color" : "rgba(234, 112, 112, 0.22)"
} ,
"id" : 13 ,
"isNew" : true ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 2 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"span" : 3 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"expr" : "sum(rate(clair_api_response_duration_milliseconds_count[$rate])) by (code)" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{code}}" ,
"metric" : "clair_api_response_duration_milliseconds_count" ,
"refId" : "A" ,
"step" : 2
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "API - Status code" ,
"tooltip" : {
"shared" : true ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"x-axis" : true ,
"y-axis" : true ,
"y_formats" : [
"short" ,
"short"
]
} ,
2016-01-27 21:49:56 +00:00
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"datasource" : null ,
"decimals" : null ,
"editable" : true ,
"error" : false ,
"format" : "percent" ,
"id" : 11 ,
"interval" : null ,
"isNew" : true ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"span" : 2 ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"targets" : [
{
2016-02-04 20:52:44 +00:00
"expr" : "sum(rate(clair_api_response_duration_milliseconds_bucket{le=\"300\", route=\"v1/getLayer\"}[$rate])) / sum(rate(clair_api_response_duration_milliseconds_count{route=\"v1/getLayer\"}[$rate])) * 100" ,
2016-01-27 21:49:56 +00:00
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 21
}
] ,
"thresholds" : "0,90,95" ,
2016-02-02 00:18:33 +00:00
"title" : "getLayer [Percentage < 300 ms]" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "avg"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"format" : "ms" ,
"id" : 12 ,
"interval" : null ,
"isNew" : true ,
"links" : [ ] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"span" : 2 ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : true
} ,
"targets" : [
{
2016-02-04 20:52:44 +00:00
"expr" : "histogram_quantile(0.95, sum(rate(clair_api_response_duration_milliseconds_bucket{route=\"v1/getLayer\"}[$rate])) by (le))" ,
2016-02-02 00:18:33 +00:00
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
2016-02-04 20:52:44 +00:00
"metric" : "clair_api_response_duration_milliseconds_bucket" ,
2016-02-02 00:18:33 +00:00
"refId" : "A" ,
"step" : 21
}
] ,
"thresholds" : "50,100,300" ,
"title" : "getLayer [95th percentile]" ,
2016-01-27 21:49:56 +00:00
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "avg"
2016-01-24 03:02:34 +00:00
}
] ,
2016-01-27 21:49:56 +00:00
"showTitle" : false ,
2016-01-24 03:02:34 +00:00
"title" : "PostgreSQL"
2016-01-27 21:49:56 +00:00
} ,
{
"collapse" : false ,
"editable" : true ,
"height" : "250px" ,
"panels" : [ ] ,
"title" : "New row"
2016-01-24 03:02:34 +00:00
}
] ,
"time" : {
2016-01-27 21:49:56 +00:00
"from" : "now-15m" ,
2016-01-24 03:02:34 +00:00
"to" : "now"
} ,
"timepicker" : {
"now" : true ,
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"templating" : {
"list" : [
{
"allFormat" : "glob" ,
"auto" : true ,
"auto_count" : 5 ,
"current" : {
"tags" : [ ] ,
2016-02-02 00:18:33 +00:00
"text" : "10m" ,
"value" : "10m"
2016-01-24 03:02:34 +00:00
} ,
"datasource" : null ,
"hideLabel" : false ,
"includeAll" : false ,
"label" : "Rate" ,
"multi" : false ,
"multiFormat" : "glob" ,
"name" : "rate" ,
"options" : [
{
"selected" : false ,
"text" : "auto" ,
"value" : "$__auto_interval"
} ,
{
"selected" : false ,
"text" : "5s" ,
"value" : "5s"
} ,
{
2016-01-27 21:49:56 +00:00
"selected" : false ,
2016-01-24 03:02:34 +00:00
"text" : "15s" ,
"value" : "15s"
} ,
{
"selected" : false ,
"text" : "30s" ,
"value" : "30s"
} ,
{
"selected" : false ,
"text" : "1m" ,
"value" : "1m"
} ,
{
2016-02-02 00:18:33 +00:00
"selected" : false ,
2016-01-24 03:02:34 +00:00
"text" : "5m" ,
"value" : "5m"
} ,
{
2016-02-02 00:18:33 +00:00
"selected" : true ,
2016-01-24 03:02:34 +00:00
"text" : "10m" ,
"value" : "10m"
} ,
{
"selected" : false ,
"text" : "30m" ,
"value" : "30m"
} ,
{
"selected" : false ,
"text" : "1h" ,
"value" : "1h"
} ,
{
"selected" : false ,
"text" : "3h" ,
"value" : "3h"
} ,
{
"selected" : false ,
"text" : "6h" ,
"value" : "6h"
} ,
{
"selected" : false ,
"text" : "12h" ,
"value" : "12h"
} ,
{
"selected" : false ,
"text" : "1d" ,
"value" : "1d"
} ,
{
"selected" : false ,
"text" : "7d" ,
"value" : "7d"
} ,
{
"selected" : false ,
"text" : "30d" ,
"value" : "30d"
}
] ,
"query" : "5s, 15s, 30s, 1m,5m,10m,30m,1h,3h,6h,12h,1d,7d,30d" ,
"refresh" : false ,
"type" : "interval"
} ,
{
"allFormat" : "regex wildcard" ,
"current" : {
"tags" : [ ] ,
"text" : "All" ,
"value" : ".*"
} ,
"datasource" : null ,
"includeAll" : true ,
"label" : "Instance" ,
"multi" : true ,
"multiFormat" : "glob" ,
"name" : "instance" ,
"options" : [
{
"selected" : true ,
"text" : "All" ,
"value" : ".*"
}
] ,
"query" : "label_values(instance)" ,
"refresh" : false ,
"regex" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"annotations" : {
"list" : [ ]
} ,
"refresh" : "5s" ,
"schemaVersion" : 8 ,
2016-02-04 20:52:44 +00:00
"version" : 1 ,
2016-01-24 03:02:34 +00:00
"links" : [ ]
}