Skip to content

Commit 5aa7359

Browse files
authored
Merge pull request #75 from Lemoncode/feature/monitoring-updates
Feature/monitoring updates
2 parents 26feac2 + d8800b3 commit 5aa7359

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

06-monitoring/00-prometheus/.demos/05-filtering-and-enriching-labels/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,6 @@ Run `Prometheus`
268268
```bash
269269
prometheus-2.32.1.linux-amd64/prometheus \
270270
--config.file="prometheus-config-3.yml"
271-
```
271+
```
272+
273+
Check results on http://10.0.0.10:9090

06-monitoring/00-prometheus/.demos/06-querying-gauges-counters/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Verify targets at http://10.0.010:9090/targets.
3535
- The current active jobs gauge in batch processes.
3636
- `worker_jobs_active{instance="linux-batch:8080"}` - selector
3737
- If we want to see just the data of one instance we can use a selector
38-
- `sum (worker_jobs_active)` - aggregation operator
39-
- If we want to see dat of all instances
38+
- `sum (worker_jobs_active)` - aggregation operator
39+
- If we want to see data of all instances
4040
- `sum without(instance) (worker_jobs_active)`
4141
- If we want to exclude one label but include all the others
4242
- `sum without(instance, job, os, runtime) (worker_jobs_active)`
@@ -57,7 +57,7 @@ Evalaute expressions over the processor's total jobs metric.
5757
- `worker_jobs_total` - one much bigger, started earlier
5858
- Between two conatiners, we're producing for time series here (including OS)
5959
- `worker_jobs_total[5m]` - range vector
60-
- We can add a range `[5m]` to see the values over time. For each time series, we get all the samples in the last 5 minutes. This is the total value sine the metric began.
60+
- We can add a range `[5m]` to see the values over time. For each time series, we get all the samples in the last 5 minutes. This is the total value since the metric began.
6161
- `rate(worker_jobs_total[5m])` - rates very similar
6262
- With counter we are more interested on change over time. This gives te rate of change of the counter over a 5 minute window, and is telling the increase per second. using the the rate function with a counter gives us gauge in the output, and we can aggregate that over time.
6363
- `sum without(instance, job, os, runtime) (rate(worker_jobs_total[5m]))`

06-monitoring/00-prometheus/.demos/07-querying-summaries-histograms/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ prometheus-2.32.1.linux-amd64/prometheus \
2626
--config.file="/opt/prometheus/prometheus.yaml"
2727
```
2828

29-
Verify targets at http://10.0.010:9090/targets.
29+
Verify targets at http://10.0.0.10:9090/targets.
3030

3131
## Pre-requisites
3232

0 commit comments

Comments
 (0)