mars: tune VictoriaMetrics scrape targets
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
listenAddress = ":8428";
|
listenAddress = ":8428";
|
||||||
|
|
||||||
prometheusConfig = {
|
prometheusConfig = {
|
||||||
global.scrape_interval = "60s";
|
global.scrape_interval = "5s";
|
||||||
|
|
||||||
scrape_configs = [
|
scrape_configs = [
|
||||||
{
|
{
|
||||||
@@ -36,6 +36,10 @@
|
|||||||
targets = [ "mercury.orbit.sol:9100" ];
|
targets = [ "mercury.orbit.sol:9100" ];
|
||||||
labels.host = "mercury";
|
labels.host = "mercury";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
targets = [ "terra.orbit.sol:9100" ];
|
||||||
|
labels.host = "terra";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user