Skip to content

Commit

Permalink
Modify jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mosonyi committed Jun 3, 2022
1 parent 4bc1c4f commit 09efa19
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions prometheus/conf/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ PORT=$(echo "$job" | cut -d":" -f2)
cat >>/tmp/prometheus.yml <<EOF
- job_name: '${SERVICE}'
dns_sd_configs:
- names:
- 'tasks.${SERVICE}'
type: 'A'
port: ${PORT}
static_configs:
- targets: [
'${SERVICE}'
]
EOF

cat >>/tmp/weave-cortex.yml <<EOF
Expand Down

0 comments on commit 09efa19

Please sign in to comment.