This workshop is targeted to site reliability engineers that want to become Grafana literate with minimal effort. The breakouts should be completed in sequence and can be used as handy references once you understand the key concepts.
Most SREs are comfortable running go binaries and IaC via Python. You will NOT need to edit python or go code, but you will:
- Hand edit a YAML configuration file
- Execute a pre-built python/flask REST API locally
- Execute pre-built go binaries(k6 and grafana agent)
- A valid Grafana Cloud account
- Ability to download and run go binaries. You will NOT need to compile go code from source.
- A fully functional Python 3 installation with pip package manager.
User Story - As an SRE, I want to build a new RED dashboard so that the application team has a customized view of key application and system metrics.
For every resource, monitor:
- Rate (the number of requests per second)
- Errors (the number of those requests that are failing)
- Duration (the amount of time those requests take)
- Panels
- Queries
- Expressions
- Hot Keys
- Transformations
- Dashboard Settings
- Alerts
- Annotations
- Variables
- Grafana Dashboard: RED dashboard with test data - PART 1
- Grafana Dashboard: RED dashboard with test data - PART 2
- Grafana Dashboard: TODO
User Story - As an SRE, I want to explore infrastructure metrics and response time metrics for a cloud native, REST API. I also want to configure metrics recording rules and alerts rules.
- Prometheus node_exporters
- Hosted Prometheus Metrics Collector
- k6 load test for REST API
- PromQL builder in Grafana
- Prometheus recording rules
- Prometheus alerting rules
- Prometheus Metrics: REST API with metrics, recording rules, and alert rules - PART 1
- Prometheus Metrics: REST API with metrics, recording rules, and alert rules - PART 2
User Story - As an SRE, I want to explore application logs for a cloud native, REST API. I also want to configure logs -> metrics recording rules and alerts rules.
- Hosted Loki Logs Collector
- LogQL builder in Grafana