yumechi-no-kuni/yume-mods/etc/config.alloy
eternal-flame-AD 935efb5bf2
prometheus - stage 2 workers
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 18:47:56 -06:00

32 lines
950 B
Text

prometheus.scrape "yumechinokuni" {
targets = [
{
__address__ = "mi.yumechi.jp:443",
__scheme__ = "https",
environment = "prod",
hostname = "mi.yumechi.jp",
},
{
__address__ = "test0.mi.yumechi.jp:443",
__scheme__ = "https",
environment = "test",
hostname = "test0.mi.yumechi.jp",
},
{
__metrics_path__ = "/metrics/cluster",
__address__ = "mi.yumechi.jp:443",
__scheme__ = "https",
environment = "prod",
hostname = "mi.yumechi.jp",
},
{
__metrics_path__ = "/metrics/cluster",
__address__ = "test0.mi.yumechi.jp:443",
__scheme__ = "https",
environment = "test",
hostname = "test0.mi.yumechi.jp",
},
]
forward_to = [prometheus.remote_write.mihari.receiver]
}