DjangoCon 2015

Cómo recolectar bien métricas para monitorizar tus aplicaciones

Frank Wiles  · 

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

thanks everybody they said to make you into a fun right so I thought I'd do that so as many of you know Django came from a journalism background and we've had some talks today that relate Django and like literary terms and so I'm going to take

it back to the journalism roots and do a little bit of the who what where when how of at metrics but I'm going to screw up the order a little bit so first who me i'm the founder of evolution systems and have been working with durango for a really long

time for this torrent the most important part of my open source world is a project called Jango at metrics that helps make some doing some of this a little easier and we'll get to that towards the end but then we're going to talk about most importantly

the why when I first proposed this talk i thought you know i want the shorter time frame because covering how to do metrics I can't fill 45 minutes with right it would just get really boring and repetitive but then when I went to actually do it the landscape

is moved and things have gotten a little easier and so I can't even feel 25 minutes with it on how to do metrics that you know the code part that part has become really really easy the hard part is what should I be tracking and why should I be tracking

it so let's cover some of those things i come from kansas i had mentioned Django's from Lawrence Kansas my state has some trouble with believing facts and so but I and I know about you guys I am driven by facts if you can show me some numbers and I

believe that you somewhat accurately collected those numbers I'm much more likely to take action than you know what I feel like that button should be a little bigger or I feel like we should make this feature more prominent so this helps give you ammunition

with your co-workers and your bosses for things that you want to get done or what you don't want to have to do so obviously we collect a lot of metrics and have pretty graphs for the the kinds of things you expect ops you know what's the load how much

disk space those kinds of things so we need we need it for that but we can also use metrics to decide on development prioritization if you have and also to be able to tell customers know you'll get requests from your co workers or customers saying you

know it'd be really great if you could make it do this I know you do you handle CSV but really we really want an actual Excel download and you're not too keen on it well you can go look and you know what you're the only customer that uses that

feature at all right maybe we shouldn't prioritize that because it's just not something that's being heavily used we can also use metrics to make design decisions all designers are going to hate me for this slide I did like everything wrong right

like which is funny because this is the slide that took me the longest actually design right so I guess that's good for designers it's gotten so easy to do it right that you have to work hard to do it wrong I'm pretty sure my chrome doesn't

even allow you to use Comic Sans anymore so but you there's a lot of things in on our sites on web apps where we do them kind of out of history we keep we put the controls at the top let me put the controls again at the bottom well if you track where they're

actually used it may be that the nature of your app is the user always scrolls to the bottom of the page because that's where the newest data is and so they're only using the controls at the bottom and so get rid of them at the top you can get some

screen real estate back maybe other control should go up there and if you track the difference not just I used feature X but I used feature X from this spot on the page that can become an important in four piece of information we can use stats against our

data with with internal things internal politics who should get more funding who should get a new staff member should we bother to have those meetings what we talked about in our world about you know getting rid of the walls between dev and ops but we can

use stats to get rid of some walls between dev and ops and sales and marketing because if I can give the sales guys some numbers that they didn't know about or the marketing guys some insight into what they're wanting now they're my friend and

they're going to be a little more understanding when I tell them hey this is going to take six weeks to build are you sure we really want to do this I can't do that right now or whatever else so this can be a way to kind of break down some walls inside

your organization so we're going to grab lots of crazy metrics but we have to remember that you know correlation is not causation necessarily so if you see a big spike in your graph that doesn't necessarily mean that the other thing that happened at

that same time point is what caused it right so it's usually just a signal of I need to dig deeper into this problem so what kinds of things should we be tracking specifically so most of you can probably come up with the oh before I cover that I need to

[ ... ]

Nota: se han omitido las otras 2.501 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.