# otel-springboot-grafana-tools **Repository Path**: coolops/otel-springboot-grafana-tools ## Basic Information - **Project Name**: otel-springboot-grafana-tools - **Description**: grafana 全家桶 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-09 - **Last Updated**: 2023-03-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Open Telemetry - Spring Boot - Prometheus - Exemplar - Loki - Tempo - Grafana You can find a complete tutorial in my blog -> https://k8staz.com/setting-up-open-source-observability-stack-on-kubernetes-from-scratch ### Demo Download Multipass [here](https://multipass.run/) Create Ubuntu instance on local environment: `$ multipass launch --name demo --mem 4G --disk 10G` Log in into the server: ``` $ multipass shell demo $ sudo su ``` Clone the repo: ``` $ git clone https://github.com/stazdx/otel-springboot-grafana-tools.git $ cd otel-springboot-grafana-tools ``` Running demo: ``` $ chmod +x run.sh $ ./run.sh ``` Get IP and ports for `Spring Boot App` and `Grafana` | Service | URL | |------|------| | Spring Boot | 192.168.64.5:8080 | | Grafana | 192.168.64.5:32656 | ![Kubernetes Services](img/svc.png) Go to the browser for testing: For `/success` endpoint: ![Success endpoint](img/success.png) For `/fail` endpoint: ![Failed endpoint](img/fail.png)

### Testing Grafana:

![](img/grafana1.png)

![](img/grafana2.png)

![](img/grafana3.png)

![](img/grafana4.png)

![](img/grafana5.png)

![](img/grafana6.png)

![](img/grafana7.png)

![](img/grafana8.png)

![](img/grafana9.png)