yumechi-no-kuni/yume-mods/etc/config.alloy

33 lines
950 B
Text
Raw Normal View History

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]
}