Skip to content

Commit

Permalink
Expose the collector's telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Dec 20, 2024
1 parent 3ec5be0 commit 2dfeea6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/tools/collector/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ RUN go build -o /usr/local/bin/collector ./...

EXPOSE 4318
EXPOSE 8080
EXPOSE 8888
EXPOSE 13133
ENTRYPOINT ["/usr/local/bin/collector"]
9 changes: 8 additions & 1 deletion internal/tools/collector/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,16 @@ exporters:
rotation:
service:
extensions:
extensions:
- health_check
telemetry:
metrics:
readers:
- pull:
exporter:
prometheus:
host: '0.0.0.0'
port: 8888
logs:
level: "debug"
pipelines:
Expand Down

0 comments on commit 2dfeea6

Please sign in to comment.