mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
Fix for prometheus scraping of cAdvisor metrics (#957)
* exposing cadvisor metrics on port 48080 for prometheus scraping * update comment --------- Co-authored-by: Jacob Pleiness <jdpleiness@users.noreply.github.com>
This commit is contained in:
1 parent
81ca27fabb
commit
fb6dc7eb0c
2 files changed
+4
-4
No files matched your search
@@ -486,7 +486,7 @@ services:
|
||||
# Description: Publishes Prometheus metrics about Docker containers.
|
||||
#
|
||||
# Disk: none
|
||||
# Ports exposed to other Sourcegraph services: 8080/TCP
|
||||
# Ports exposed to other Sourcegraph services: 48080/TCP
|
||||
# Ports exposed to the public internet: none
|
||||
#
|
||||
cadvisor:
|
||||
@@ -513,8 +513,8 @@ services:
|
||||
networks:
|
||||
- sourcegraph
|
||||
restart: always
|
||||
command:
|
||||
- --port=8080
|
||||
expose:
|
||||
- 48080
|
||||
|
||||
# Description: Publishes Prometheus metrics about the machine's hardware / operating system.
|
||||
#
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
nodename: "sourcegraph-docker-compose-host"
|
||||
job: node
|
||||
targets:
|
||||
- cadvisor:8080
|
||||
- cadvisor:48080
|
||||
- sourcegraph-frontend-internal:6060
|
||||
- labels:
|
||||
nodename: "sourcegraph-docker-compose-host"
|
||||
|
||||
Reference in new issue
Block a user