More Related Content Similar to 2011 05-23 metrics-agilasverige-english (20) 2011 05-23 metrics-agilasverige-english1. What’s happening in production
Mårten Gustafson
@martengustafson
http://marten.gustafson.pp.se/
marten.gustafson@gmail.com
28. ...for java & scala use:
https://github.com
/codahale/metrics
31. ete.v2","application_status":"Ok","counter_tot":0,"request_counters":[{"name":"Autocomple
{"name":"AutocompleteService","counter":0},{"name":"AutocompleteService: Queries exec
"AutocompleteService","status":"Ok"}]},{"name":"geo","application_status":"Ok","counter_to
0},{"name":"PointConverter-deprecated","counter":0}],"monitored_services":[{"name":"Point
ication_status":"Ok","counter_tot":1,"request_counters":[{"name":"RouteService-iPhone","c
monitored_services":[{"name":"RouteService","status":"Ok"}]},{"name":"image","application
:[{"name":"ImageService","counter":19}],"monitored_services":[{"name":"ImageService","sta
n_status":"Ok","counter_tot":0,"request_counters":[{"name":"LocalityResolverService-cityN
e-countyCode","counter":0},{"name":"LocalityResolverService-countyName","counter":0}],"
erService","status":"Ok"}]},{"name":"sms.v2","application_status":"Ok","counter_tot":0,"requ
s","counter":0},{"name":"SmsService","counter":0}],"monitored_services":[{"name":"SmsServ
":"Ok","counter_tot":0,"request_counters":[{"name":"WeatherService-forecasts","counter":0
ame":"WeatherService-forecast","counter":0}],"monitored_services":[{"name":"WeatherServi
plication_status":"Ok","counter_tot":3,"request_counters":[{"name":"AutocompleteService:r
ervice","counter":3}],"monitored_services":[{"name":"AutocompleteService","status":"Ok"}]}
unter_tot":55,"request_counters":[{"name":"PoiService:chunks","counter":47},{"name":"PoiS
":"PoiService:poi","counter":0}],"monitored_services":[{"name":"PoiService","status":"Ok"}]},
ication_status":"Ok","counter_tot":12244,"request_counters":[{"name":"memory.allocated"
2749},{"name":"memory.max","counter":4079},{"name":"memory.used","counter":1329},{"
:"JvmMonitor","status":"Ok"}]},{"name":"weather.v2","application_status":"Ok","counter_tot
r-forecast","counter":0},{"name":"WeatherService-rectangle-forecasts","counter":0},{"nam
ame":"WeatherService-total","counter":0},{"name":"WeatherService-everythirdhour-forecas
ange-forecast","counter":0},{"name":"WeatherService-oneperday-forecast","counter":0}],"
[{"name":"WeatherService","status":"Ok"}]}]}
32. ete.v2","application_status":"Ok","counter_tot":0,"request_counters":[{"name":"Autocomple
{"name":"AutocompleteService","counter":0},{"name":"AutocompleteService: Queries exec
"AutocompleteService","status":"Ok"}]},{"name":"geo","application_status":"Ok","counter_to
0},{"name":"PointConverter-deprecated","counter":0}],"monitored_services":[{"name":"Point
ication_status":"Ok","counter_tot":1,"request_counters":[{"name":"RouteService-iPhone","c
monitored_services":[{"name":"RouteService","status":"Ok"}]},{"name":"image","application
:[{"name":"ImageService","counter":19}],"monitored_services":[{"name":"ImageService","sta
n_status":"Ok","counter_tot":0,"request_counters":[{"name":"LocalityResolverService-cityN
e-countyCode","counter":0},{"name":"LocalityResolverService-countyName","counter":0}],"
erService","status":"Ok"}]},{"name":"sms.v2","application_status":"Ok","counter_tot":0,"requ
s","counter":0},{"name":"SmsService","counter":0}],"monitored_services":[{"name":"SmsServ
":"Ok","counter_tot":0,"request_counters":[{"name":"WeatherService-forecasts","counter":0
ame":"WeatherService-forecast","counter":0}],"monitored_services":[{"name":"WeatherServi
cation_status":"ok","counter_tot":3,"request_counters":[{"name":"AutocompleteServ
ervice","counter":3}],"monitored_services":[{"name":"AutocompleteService","status":"Ok"}]}
unter_tot":55,"request_counters":[{"name":"PoiService:chunks","counter":47},{"name":"PoiS
":"PoiService:poi","counter":0}],"monitored_services":[{"name":"PoiService","status":"Ok"}]},
ication_status":"Ok","counter_tot":12244,"request_counters":[{"name":"memory.allocated"
2749},{"name":"memory.max","counter":4079},{"name":"memory.used","counter":1329},{"
:"JvmMonitor","status":"Ok"}]},{"name":"weather.v2","application_status":"Ok","counter_tot
r-forecast","counter":0},{"name":"WeatherService-rectangle-forecasts","counter":0},{"nam
ame":"WeatherService-total","counter":0},{"name":"WeatherService-everythirdhour-forecas
ange-forecast","counter":0},{"name":"WeatherService-oneperday-forecast","counter":0}],"
[{"name":"WeatherService","status":"Ok"}]}]}
33. ete.v2","application_status":"Ok","counter_tot":0,"request_counters":[{"name":"Autocomple
{"name":"AutocompleteService","counter":0},{"name":"AutocompleteService: Queries exec
"AutocompleteService","status":"Ok"}]},{"name":"geo","application_status":"Ok","counter_to
0},{"name":"PointConverter-deprecated","counter":0}],"monitored_services":[{"name":"Point
ication_status":"Ok","counter_tot":1,"request_counters":[{"name":"RouteService-iPhone","c
monitored_services":[{"name":"RouteService","status":"Ok"}]},{"name":"image","application
:[{"name":"ImageService","counter":19}],"monitored_services":[{"name":"ImageService","sta
n_status":"Ok","counter_tot":0,"request_counters":[{"name":"LocalityResolverService-cityN
e-countyCode","counter":0},{"name":"LocalityResolverService-countyName","counter":0}],"
erService","status":"Ok"}]},{"name":"sms.v2","application_status":"Ok","counter_tot":0,"requ
s","counter":0},{"name":"SmsService","counter":0}],"monitored_services":[{"name":"SmsServ
":"Ok","counter_tot":0,"request_counters":[{"name":"WeatherService-forecasts","counter":0
ame":"WeatherService-forecast","counter":0}],"monitored_services":[{"name":"WeatherServi
plication_status":"Ok","counter_tot":3,"request_counters":[{"name":"AutocompleteService:r
ervice","counter":3}],"monitored_services":[{"name":"AutocompleteService","status":"Ok"}]}
unter_tot":55,"request_counters":[{"name":"PoiService:chunks","counter":47},{"name":"PoiS
":"PoiService:poi","counter":0}],"monitored_services":[{"name":"PoiService","status":"Ok"}]},
ication_status":"Ok","counter_tot":12244,"request_counters":[{"name":"memory.allocated"
9},{"name":"memory.max","counter":4079},{"name":"memory.used","counter": 132
:"JvmMonitor","status":"Ok"}]},{"name":"weather.v2","application_status":"Ok","counter_tot
r-forecast","counter":0},{"name":"WeatherService-rectangle-forecasts","counter":0},{"nam
ame":"WeatherService-total","counter":0},{"name":"WeatherService-everythirdhour-forecas
ange-forecast","counter":0},{"name":"WeatherService-oneperday-forecast","counter":0}],"
[{"name":"WeatherService","status":"Ok"}]}]}
34. ete.v2","application_status":"Ok","counter_tot":0,"request_counters":[{"name":"Autocomple
{"name":"AutocompleteService","counter":0},{"name":"AutocompleteService: Queries exec
"AutocompleteService","status":"Ok"}]},{"name":"geo","application_status":"Ok","counter_to
0},{"name":"PointConverter-deprecated","counter":0}],"monitored_services":[{"name":"Point
ication_status":"Ok","counter_tot":1,"request_counters":[{"name":"RouteService-iPhone","c
RouteService","counter":1}],"monitored_services":[{"name":"RouteService","status":"Ok"}]},
us":"Ok","counter_tot": 19,"request_counters":[{"name":"ImageService","counter":19
"}]},{"name":"locality","application_status":"Ok","counter_tot":0,"request_counters":[{"name
":"LocalityResolverService-countyCode","counter":0},{"name":"LocalityResolverService-cou
calityResolverService","status":"Ok"}]},{"name":"sms.v2","application_status":"Ok","counter
s","counter":0},{"name":"SmsService","counter":0}],"monitored_services":[{"name":"SmsServ
":"Ok","counter_tot":0,"request_counters":[{"name":"WeatherService-forecasts","counter":0
ame":"WeatherService-forecast","counter":0}],"monitored_services":[{"name":"WeatherServi
plication_status":"Ok","counter_tot":3,"request_counters":[{"name":"AutocompleteService:r
ervice","counter":3}],"monitored_services":[{"name":"AutocompleteService","status":"Ok"}]}
unter_tot":55,"request_counters":[{"name":"PoiService:chunks","counter":47},{"name":"PoiS
":"PoiService:poi","counter":0}],"monitored_services":[{"name":"PoiService","status":"Ok"}]},
ication_status":"Ok","counter_tot":12244,"request_counters":[{"name":"memory.allocated"
2749},{"name":"memory.max","counter":4079},{"name":"memory.used","counter":1329},{"
:"JvmMonitor","status":"Ok"}]},{"name":"weather.v2","application_status":"Ok","counter_tot
r-forecast","counter":0},{"name":"WeatherService-rectangle-forecasts","counter":0},{"nam
ame":"WeatherService-total","counter":0},{"name":"WeatherService-everythirdhour-forecas
ange-forecast","counter":0},{"name":"WeatherService-oneperday-forecast","counter":0}],"
[{"name":"WeatherService","status":"Ok"}]}]}
52. 1 screen
+
1 computer
=
visualization!
Editor's Notes \n My name is Mårten, I work as a software developer\nBut I usually also have one foot - sometimes a whole leg - in our infrastructure\n I work here.\nWe provide a web site, that’s our offering. Our core.\n Our site is, amongst other things, built from a slew of Java services\nWe have multiple services on each server\n We like to be availbale, thus we have multiple servers\nSame service, on multiple servers\nMultiple services on same server\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ...or at least look at this to get inspired\n \n \n JSON, not always funny to look at\nThe really interesting things are small tidbits of information “hidden” in this blob of data\n Is it ok?\n How much memory do we consume?\n How many requests have we served?\n \n \n \n Visualization makes it easy to distinguish worse from better\n Visualization makes it easy to distinguish worse from better\n \n \n \n \n \n \n \n \n Obviously the top one\n \n \n \n \n Your project / team probably have a build server monitor, which is a good thing.\nBut how much “dashboard estate” do you spend on production - where your code actually (hopefully) delivers value?\n \n \n \n The dashboard where I work - all servers, most services\n \n Thanks\n