Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 8ab231d

Browse files
author
Bogdan Novikov
committed
describe example with docker
1 parent f78bb57 commit 8ab231d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
4. [Show me how it is done](https://github.com/yolossn/Prometheus-Basics#show-me-how-it-is-done)
1616
5. [Types of metrics](https://github.com/yolossn/Prometheus-Basics#types-of-metrics)
1717
6. [Create a simple exporter](https://github.com/yolossn/Prometheus-Basics#create-a-simple-exporter)
18-
7. [References](https://github.com/yolossn/Prometheus-Basics#References)
18+
7. [Run prometheus in docker](https://github.com/yolossn/Prometheus-Basics#run-prometheus-in-docker)
19+
8. [References](https://github.com/yolossn/Prometheus-Basics#References)
1920

2021

2122
# What is prometheus ?
@@ -432,15 +433,23 @@ I hope I did justice to your time and helped you understand the basics of promet
432433
**Where to go from here:**
433434
- It is important to understand PromQL extensively to take advantage of the metrics which one has collected. Remember the goal is not just to collect metrics but to derive answers for application related questions. [This](https://medium.com/@valyala/promql-tutorial-for-beginners-9ab455142085) is a very good resource to get started with PromQL.
434435

435-
436-
437436
To Do
438437
- [x] Integration with grafana to create dashboards
439438
- [ ] Add code samples for all metric types.
440439
- [ ] Explain about the concept of Service Discovery for integrating with kubernetes.
441440
- [ ] Basic Alerting + Prometheus alerts vs Grafana alerts.
442441
- [ ] Integrating alerts with tool like pagerduty.
443442

443+
### Run prometheus in docker
444+
445+
You can run example in docker:
446+
447+
```bash
448+
docker-compose up
449+
```
450+
- http://localhost:9090 - prometheus UI
451+
- http://localhost:8090 - ping/pong service
452+
444453
### References:
445454
- https://prometheus.io/docs/
446455
- https://www.robustperception.io/how-does-a-prometheus-histogram-work

0 commit comments

Comments
 (0)