Skip to content

Commit

Permalink
Updated Vagrantfile.sample and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonsmithio committed Dec 2, 2020
1 parent d89b653 commit 373c076
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 13 deletions.
17 changes: 8 additions & 9 deletions README.md
Expand Up @@ -11,16 +11,16 @@
*TODO:* Create a dashboard in Grafana that shows Prometheus as a source. Take a screenshot and include it here.

## Describe SLO/SLI
*TODO:* Describe, in your own words, what the SLIs are, based on an SLO of *monthly uptime* and *request response time*.
*TODO:* Describe, in your own words, what the SLIs are, based on an SLO of *monthly uptime* and *request response time*.

## Creating SLIs and KPIs
*TODO:* We want to ensure that our application doesn't show any downtime, 500 errors, or slow speeds. Describe in detail 6 KPIs to measure these SLIs.
## Creating SLI metrics.
*TODO:* It is important to know why we want to measure certain metrics for our customer. Describe in detail 5 metrics to measure these SLIs.

## Create a Dashboard to measure our SLIs
*TODO:* Create a dashboard to measure the uptime of the frontend and backend service as well as the Redis deployment. We will also want to measure to measure 40x and 50x errors. Create a dashboard that show these values over a 24 hour period and take a screenshot.

## Tracing our Flask App
*TODO:* We will create a Jaeger span to measure the processes on the backend. Once you fill in the span, provide a screenshot of it here.
*TODO:* We will create a Jaeger span to measure the processes on the backend. Once you fill in the span, provide a screenshot of it here.

## Jaeger in Dashboards
*TODO:* Now that the trace is running, let's add the metric to our current Grafana dashboard. Once this is completed, provide a screenshot of it here.
Expand All @@ -30,17 +30,17 @@

TROUBLE TICKET

Name:
Name:

Date:
Date:

Subject:
Subject:

Affected Area:

Severity:

Description:
Description:


## Creating SLIs and SLOs
Expand All @@ -51,4 +51,3 @@ Description:

## Final Dashboard
*TODO*: Create a Dashboard containing graphs that capture all the metrics of your KPIs and adequately representing your SLIs and SLOs. Include a screenshot of the dashboard here, and write a text description of what graphs are represented in the dashboard.

27 changes: 23 additions & 4 deletions Vagrantfile.sample
Expand Up @@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
config.vm.box = "opensuse/Leap-15.2.x86_64"
config.vm.box_version = "15.2.31.158"
config.vm.box_version = "15.2.31.199"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand All @@ -24,7 +24,18 @@ Vagrant.configure("2") do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
# config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 9090, host: 9090
config.vm.network "forwarded_port", guest: 8080, host: 8080
#config.vm.network "forwarded_port", guest: 8888, host: 8080
config.vm.network "forwarded_port", guest: 9090, host: 8888
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 3030, host: 3030
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "forwarded_port", guest: 16686, host: 8088
#config.vm.network "forwarded_port", guest: 8000, host: 8888
config.vm.network "forwarded_port", guest: 8888, host: 8888
config.vm.network "forwarded_port", guest: 8000, host: 8000

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
Expand Down Expand Up @@ -54,8 +65,11 @@ Vagrant.configure("2") do |config|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
vb.memory = "2048"
# # Customize the amount of memory on the VM:clear

vb.memory = "4096"
#vb.memory = "2048"
vb.name = "k3s"
end
#
# View the documentation for the provider you are using for more
Expand All @@ -68,4 +82,9 @@ Vagrant.configure("2") do |config|
# apt-get update
# apt-get install -y apache2
# SHELL

args = []
config.vm.provision "k3s shell script", type: "shell",
path: "scripts/k3s.sh",
args: args
end

0 comments on commit 373c076

Please sign in to comment.