Skip to content

Support grafana alloy credentials in an optional env file #259

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

Merged
merged 1 commit into from
Feb 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,5 @@ cython_debug/
.git
.github
.gitignore

*.env
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,4 @@ dmypy.json
# Cython debug symbols
cython_debug/

credentials.env
7 changes: 6 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ services:

otel-collector:
image: grafana/alloy:latest
# You can add the Grafana Cloud credentials in this file
# and push observability directly to the provider.
# Refer to the config.alloy file to see what credentials we need.
env_file:
- path: ./credentials.env
required: false
depends_on:
- jaeger
ports:
Expand Down Expand Up @@ -154,4 +160,3 @@ services:
command:
- "make"
- "test"