Logging
- To be clear with teams, especially with all different programming languages used in the project.
- What logging levels the team will use?
- What logging format all teams should follow?
- What every logging level means and when to use?
Metrics
-
SRE has a good understanding of metrics, and what exactly the middleware software good at. However, they may misunderstand what the developer’s potential tech tool can do. For instance, SRE knows that Histogram is a set of
counters
and then they will expect developers just providing enoughcounters
, what they don’t know is that developer has the SDK which can generate histogram directly, and SDK will help to create all these counters under the hood. -
For Developers, we do need to level up as DevOps, so that we know how exactly OP/SREs tool work. So that we know what metrics will be useful for SRE to leverage.
To be clear with teams, what necessary metrics required for the application from beginning. - Counter - Histogram - Timer - Gauge - Summary
Try to answer these questions, to achieve the goal. - What measure do we want to monitor to be able to easily learn what is the status of the application?