Prometheus之triton_sd_config

半兽人 发表于: 2020-10-20   最后更新时间: 2020-10-20  

Triton SD正在测试中:在将来的版本中配置可能会有实质性的变化

Triton SD配置允许从容器监控发现端点的目标中检索和获取。

在relabeling期间,下面的meta标签在目标上是可用的:

  • __meta_triton_machine_id: 目标容器的UUID
  • __meta_triton_machine_alias: 目标容器的别名
  • __meta_triton_machine_image: 目标容器的镜像类型
  • __meta_triton_machine_server_id: 目标容器的服务UUID
# The information to access the Triton discovery API.

# The account to use for discovering new target containers.
account: <string>

# The DNS suffix which should be applied to target containers.
dns_suffix: <string>

# The Triton discovery endpoint (e.g. 'cmon.us-east-3b.triton.zone'). This is
# often the same value as dns_suffix.
endpoint: <string>

# The port to use for discovery and metric scraping.
[ port: <int> | default = 9163 ]

# The interval which should should be used for refreshing target containers.
[ refresh_interval: <duration> | default = 60s ]

# The Triton discovery API version.
[ version: <int> | default = 1 ]

# TLS configuration.
tls_config:
  [ <tls_config> ]


您需要解锁本帖隐藏内容请: 点击这里
本帖隐藏的内容




上一条: Prometheus之serverset_sd_config
下一条: prometheus存储