Coder Social home page Coder Social logo

qclaogui / codelab-monitoring Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 5.0 8.95 MB

Little helper to run Grafana LGTMP Stack(Loki Grafana Tempo Mimir Pyroscope) in Docker or Kubernetes.

License: Apache License 2.0

Makefile 53.64% Jsonnet 7.31% Shell 17.58% Go 21.47%
monitoring grafana-agent kubernetes loki mimir pyroscope tempo observability docker monitoring-mixins grafana-alloy

codelab-monitoring's People

Contributors

dependabot[bot] avatar qclaogui avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

codelab-monitoring's Issues

[FEATURE] Monitoring Mixins have built-in support for multiple modes

compose.yaml vs docker-compose.yaml

The default path for a Compose file is compose.yaml (preferred) or compose.yml that is placed in the working directory.

Compose also supports docker-compose.yaml and docker-compose.yml for backwards compatibility of earlier versions. If both files exist, Compose prefers the canonical compose.yaml .

Simple use case

An simple use case like so:

cat <<EOF > compose.yaml
# include is available in Docker Compose version 2.20 and later, and Docker Desktop version 4.22 and later.
include:
- path: https://github.com/qclaogui/codelab-monitoring.git#main:docker-compose/monolithic-mode/logs/compose.yaml

# https://github.com/qclaogui/codelab-monitoring/blob/main/docker-compose/common/config/agent-flow/modules/docker/README.md
services:
  github-exporter:
    image: githubexporter/github-exporter:latest
    environment:
    - REPOS=qclaogui/codelab-monitoring
EOF
COMPOSE_EXPERIMENTAL_GIT_REMOTE=true docker compose pull

run:

COMPOSE_EXPERIMENTAL_GIT_REMOTE=true docker compose up -d --remove-orphans

Once all containers are up and running you can search for logs(from Loki) in Grafana.

In this case you can find github-exporter metrics and logs.

Navigate to http://localhost:3000

CHECKLISTS

Opentelemetry

Hello, working with Opentelemetry java agent?
Thanks

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.