Skip to content
Snippets Groups Projects
Commit cf97878c authored by Jan David Mol's avatar Jan David Mol
Browse files

Added slow path to tango-prometheus-exporter

parent 97664671
No related branches found
No related tags found
1 merge request!701Archive jesd points
...@@ -15,6 +15,13 @@ scrape_configs: ...@@ -15,6 +15,13 @@ scrape_configs:
- targets: ["tango-prometheus-fast-exporter:8000"] - targets: ["tango-prometheus-fast-exporter:8000"]
labels: labels:
"host": "localhost" "host": "localhost"
- job_name: tango-slow
scrape_interval: 60s
scrape_timeout: 30s
static_configs:
- targets: ["tango-prometheus-slow-exporter:8000"]
labels:
"host": "localhost"
- job_name: host - job_name: host
scrape_interval: 60s scrape_interval: 60s
static_configs: static_configs:
......
...@@ -57,3 +57,29 @@ services: ...@@ -57,3 +57,29 @@ services:
depends_on: depends_on:
- databaseds - databaseds
restart: unless-stopped restart: unless-stopped
tango-prometheus-slow-exporter:
image: ${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}/tango-prometheus-exporter
build:
context: tango-prometheus-exporter
args:
SOURCE_IMAGE: ${LOCAL_DOCKER_REGISTRY_HOST}/${LOCAL_DOCKER_REGISTRY_USER}/tango-itango:${TANGO_ITANGO_VERSION}
dockerfile: ./Dockerfile
command:
- "--config=/code/lofar2-slow-policy.json"
hostname: tango-prometheus-fast-exporter
container_name: tango-prometheus-fast-exporter
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
networks:
- control
environment:
- TANGO_HOST=${TANGO_HOST}
ports:
- "8002:8000"
depends_on:
- databaseds
restart: unless-stopped
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
}, },
"devices": { "devices": {
"stat/antennafield/hba": { "stat/antennafield/*": {
}, },
"stat/apsct/1": { "stat/apsct/*": {
}, },
"stat/ccd/1": { "stat/ccd/1": {
}, },
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
}, },
"stat/configuration/1": { "stat/configuration/1": {
}, },
"stat/apspu/1": { "stat/apspu/*": {
}, },
"stat/beamlet/1": { "stat/beamlet/*": {
}, },
"stat/boot/1": { "stat/boot/1": {
}, },
"stat/stationmanager/1": { "stat/stationmanager/1": {
}, },
"stat/digitalbeam/hba": { "stat/digitalbeam/*": {
"include": [ "include": [
"Pointing_error_R", "Pointing_error_R",
"Duration_*" "Duration_*"
...@@ -34,32 +34,32 @@ ...@@ -34,32 +34,32 @@
}, },
"stat/observationcontrol/1":{ "stat/observationcontrol/1":{
}, },
"stat/psoc/1": { "stat/psoc/*": {
}, },
"stat/pcon/1": { "stat/pcon/*": {
}, },
"stat/recvh/1": { "stat/recvh/*": {
}, },
"stat/recvl/1": { "stat/recvl/*": {
}, },
"stat/sdpfirmware/1":{ "stat/sdpfirmware/*":{
}, },
"stat/sdp/1": { "stat/sdp/*": {
"include": [ "include": [
"Duration_*" "Duration_*"
] ]
}, },
"stat/sst/1": { "stat/sst/*": {
}, },
"stat/tilebeam/hba": { "stat/tilebeam/*": {
"include": [ "include": [
"Pointing_error_R", "Pointing_error_R",
"Duration_*" "Duration_*"
] ]
}, },
"stat/unb2/1": { "stat/unb2/*": {
}, },
"stat/xst/1": { "stat/xst/*": {
} }
} }
} }
...@@ -13,8 +13,14 @@ ...@@ -13,8 +13,14 @@
"ANT_mask_RW" "ANT_mask_RW"
], ],
"exclude": [ "exclude": [
"Antenna_*",
"HBAT_antenna_ITRF_offsets_R",
"HBAT_LED_on_R",
"HBAT_PWR_LNA_on_R",
"HBAT_PWR_on_R",
"HBAT_BF_delay_steps_*", "HBAT_BF_delay_steps_*",
"Calibration_*" "Calibration_*",
"FPGA_sdp_info_*"
] ]
}, },
"stat/antennafield/lba": { "stat/antennafield/lba": {
...@@ -53,6 +59,7 @@ ...@@ -53,6 +59,7 @@
}, },
"stat/digitalbeam/*": { "stat/digitalbeam/*": {
"exclude": [ "exclude": [
"Pointing_direction_*",
"Pointing_error_R", "Pointing_error_R",
"Duration_*" "Duration_*"
] ]
...@@ -60,6 +67,10 @@ ...@@ -60,6 +67,10 @@
"stat/docker/1": { "stat/docker/1": {
}, },
"stat/observation/*":{ "stat/observation/*":{
"exclude": [
"saps_pointing_R",
"saps_subbands_R"
]
}, },
"stat/observationcontrol/1":{ "stat/observationcontrol/1":{
}, },
...@@ -101,6 +112,7 @@ ...@@ -101,6 +112,7 @@
}, },
"stat/sdp/*": { "stat/sdp/*": {
"exclude": [ "exclude": [
"FPGA_sdp_info_*",
"FPGA_subband_weights_*", "FPGA_subband_weights_*",
"FPGA_signal_input_samples_delay_*", "FPGA_signal_input_samples_delay_*",
"FPGA_jesd204b_*", "FPGA_jesd204b_*",
......
{
"default": {
"exclude": ["*"]
},
"devices": {
"stat/antennafield/*": {
"include": [
"Antenna_*",
"HBAT_antenna_ITRF_offsets_R",
"HBAT_LED_on_R",
"HBAT_PWR_LNA_on_R",
"HBAT_PWR_on_R",
"FPGA_sdp_info_*"
]
},
"stat/apsct/*": {
},
"stat/ccd/1": {
},
"stat/ec/1": {
},
"stat/configuration/1": {
},
"stat/apspu/*": {
},
"stat/beamlet/*": {
},
"stat/boot/1": {
},
"stat/stationmanager/1": {
},
"stat/digitalbeam/*": {
"include": [
"Pointing_direction_*"
]
},
"stat/docker/1": {
},
"stat/observation/*":{
"include": [
"saps_pointing_R",
"saps_subbands_R"
]
},
"stat/observationcontrol/1":{
},
"stat/psoc/*": {
},
"stat/pcon/*": {
},
"stat/recvh/*": {
"include": [
"HBAT_LED_on_R",
"HBAT_PWR_LNA_on_R",
"HBAT_PWR_on_R"
]
},
"stat/recvl/*": {
},
"stat/sdpfirmware/*":{
},
"stat/sdp/*": {
"include": [
"FPGA_jesd204b_*",
"FPGA_sdp_info_*"
]
},
"stat/sst/*": {
},
"stat/tilebeam/*": {
},
"stat/unb2/*": {
},
"stat/xst/*": {
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment