forked from TrueCloudLab/frostfs-dev-env
parent
69cbe189cb
commit
dca6ff620a
|
@ -3,3 +3,4 @@
|
|||
basenet
|
||||
morph_chain
|
||||
jaeger
|
||||
prometheus
|
||||
|
|
6
.env
6
.env
|
@ -55,4 +55,8 @@ FROSTFS_CONTRACTS_URL=https://http.t5.fs.neo.org/AQgse8bPCZx4zScMuAKxowJdZPbKHp8
|
|||
|
||||
# Jaeger tracing
|
||||
JAEGER_VERSION=1.42.0
|
||||
JAEGER_IMAGE=jaegertracing/all-in-one
|
||||
JAEGER_IMAGE=jaegertracing/all-in-one
|
||||
|
||||
# Prometheus monitoring
|
||||
PROMETHEUS_VERSION=v2.43.0
|
||||
PROMETHEUS_IMAGE=prom/prometheus
|
|
@ -0,0 +1 @@
|
|||
../../.env
|
|
@ -0,0 +1 @@
|
|||
IPV4_PREFIX.121 prometheus.LOCAL_DOMAIN
|
|
@ -0,0 +1 @@
|
|||
../../.int_test.env
|
|
@ -0,0 +1,27 @@
|
|||
version: '2.4'
|
||||
services:
|
||||
prometheus:
|
||||
image: ${PROMETHEUS_IMAGE}:${PROMETHEUS_VERSION}
|
||||
domainname: ${LOCAL_DOMAIN}
|
||||
hostname: prometheus
|
||||
container_name: prometheus
|
||||
restart: on-failure
|
||||
networks:
|
||||
prometheus_int:
|
||||
internet:
|
||||
ipv4_address: ${IPV4_PREFIX}.121
|
||||
volumes:
|
||||
- ./../../vendor/hosts:/etc/hosts
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
command:
|
||||
- --config.file=/etc/prometheus/prometheus.yml
|
||||
ports:
|
||||
- '9090:9090'
|
||||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".prometheus.env", ".int_test.env" ]
|
||||
|
||||
networks:
|
||||
prometheus_int:
|
||||
internet:
|
||||
external: true
|
||||
name: basenet_internet
|
|
@ -0,0 +1,19 @@
|
|||
global:
|
||||
scrape_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'node'
|
||||
static_configs:
|
||||
- targets: ['s01.frostfs.devenv:9090', 's02.frostfs.devenv:9090', 's03.frostfs.devenv:9090', 's04.frostfs.devenv:9090']
|
||||
- job_name: 'http-gw'
|
||||
static_configs:
|
||||
- targets: ['http.frostfs.devenv:9090']
|
||||
- job_name: 'rest-gw'
|
||||
static_configs:
|
||||
- targets: ['rest.frostfs.devenv:9090']
|
||||
- job_name: 's3-gw'
|
||||
static_configs:
|
||||
- targets: ['s3.frostfs.devenv:9090']
|
||||
- job_name: 'neo-go'
|
||||
static_configs:
|
||||
- targets: ['morph-chain.frostfs.devenv:20001']
|
Loading…
Reference in New Issue