https://github.com/sercheo87/openliberty-grafana
See metrics on Grafana of app running on Open Libery
https://github.com/sercheo87/openliberty-grafana
docker microprofile microservice openliberty
Last synced: 3 months ago
JSON representation
See metrics on Grafana of app running on Open Libery
- Host: GitHub
- URL: https://github.com/sercheo87/openliberty-grafana
- Owner: sercheo87
- Created: 2019-12-23T02:05:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T01:51:10.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T05:28:52.262Z (5 months ago)
- Topics: docker, microprofile, microservice, openliberty
- Language: Java
- Size: 481 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openliberty-grafana

This example show dashboard created for Grafana specialized for monitoring:
* Servlet
* Connection Pool
* Thread Pool
* Sessions
* System Resources
* Garbage Collections
## Getting Started
For compile project execute on terminal:
```bash
cd app-api-say
mvn clean install
```## Deployment
For create containers with app execute on terminal:
```bash
docker compose up -d --build
```## Resources
For navigate to console Grafana dashboard:
Open Url [Grafana Console](http://localhost:3000/login)
Credentials:
* User: **_admin_**
* Password: **_P@ssw0rd_**For create register and visualize metrics execute:
```bash
curl -H "Content-Type: application/json" -X POST http://localhost:9080/apiSay/say/sergio
curl -H "Content-Type: application/json" -X GET http://localhost:9080/apiSay/say
```For get current metrics:
```bash
curl -X GET http://localhost:9080/metrics
```More details on [Web Grafana](https://grafana.com/grafana/dashboards/11456)