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