Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple use case #67

Closed
1 of 2 tasks
qclaogui opened this issue Mar 23, 2024 · 0 comments
Closed
1 of 2 tasks

Simple use case #67

qclaogui opened this issue Mar 23, 2024 · 0 comments
Assignees

Comments

@qclaogui
Copy link
Owner

qclaogui commented Mar 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant