Giter Club home page Giter Club logo

symfony-observability-demo's Introduction

Symfony Demo - Observability - Log

Read the slides (in french) to know more about this project and monolog.

Running the application locally

Requirements

A Docker environment is provided and requires you to have these tools available:

Docker environment

The Docker infrastructure provides a web stack with:

  • NGINX
  • PHP
  • PostgreSQL
  • Elasticsearch
  • Kibana
  • ClickHouse
  • Loki
  • Grafana
  • Vector
  • Traefik
  • A container with some tooling:
    • Composer

Domain configuration (first time only)

Before running the application for the first time, ensure your domain names point the IP of your Docker daemon by editing your /etc/hosts file.

This IP is probably 127.0.0.1 unless you run Docker in a special VM (like docker-machine for example).

Note

The router binds port 80 and 443, that's why it will work with 127.0.0.1

echo '127.0.0.1 observability.test clickhouse.observability.test elasticsearch.observability.test grafana.observability.test kibana.observability.test loki.observability.test redash.observability.test vector.observability.test ' | sudo tee -a /etc/hosts

Starting the stack

Launch the stack by running this command:

castor start

Note

the first start of the stack should take a few minutes.

The site is now accessible at https://observability.test (you may need to accept self-signed SSL certificate if you do not have mkcert installed on your computer

  • see below).

Other tasks

Checkout castor to have the list of available tasks.

symfony-observability-demo's People

Contributors

lyrixx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.