osavchenko / docker-telegraf-influx-grafana-stack

Docker Compose Setup for Telegraf / InfluxDB / Grafana (TIG)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Resource monitoring systems

This an example project to show the TIG (Telegraf, InfluxDB and Grafana) stack.

Start the stack with docker compose

$ docker-compose up

Public services

Grafana

nginx

Run the PHP Example

There is a Symfony Demo app as an example. To prepare it run next commands:

docker compose exec php composer install
docker compose exec php bin/console d:m:m --no-interaction

To run the benchmark:

docker compose exec apache ab -n 100 -c 10 http://nginx/uk/blog/ && \
    docker compose exec apache ab -n 10 -c 1 http://nginx/uk/blog/ && \
    docker compose exec apache ab -n 100 -c 25 http://nginx/uk/blog/

To find examples, please check the metrics-example folder.

About

Docker Compose Setup for Telegraf / InfluxDB / Grafana (TIG)

License:MIT License


Languages

Language:PHP 68.1%Language:Twig 20.7%Language:SCSS 7.7%Language:JavaScript 3.0%Language:CSS 0.3%Language:Dockerfile 0.2%