112.3. Spring Boot Auto-Configuration
组件支持 16 个选项,如下所示。
名称 | 描述 | 默认 | 类型 |
---|---|---|---|
camel.component.ganglia.configuration.dmax | Ganglia 之前的 minumum 时间(以秒为单位)会在指标值过期时清除指标值。设置为 0,值将无限期地保留在 Ganglia,直到 gmond 代理重启为止。 | 0 | 整数 |
camel.component.ganglia.configuration.group-name | 指标所属的组。 | java | 字符串 |
camel.component.ganglia.configuration.host | Ganglia 服务器的主机名 | 239.2.11.71 | 字符串 |
camel.component.ganglia.configuration.metric-name | 用于指标的名称。 | metric | 字符串 |
camel.component.ganglia.configuration.mode | 使用 MULTICAST 或 UNICAST 发送 UDP 指标数据包 | GMetric$UDP AddressingMode | |
camel.component.ganglia.configuration.port | Ganglia 服务器的端口 | 8649 | 整数 |
camel.component.ganglia.configuration.prefix | 为指标名称加上下划线。 | 字符串 | |
camel.component.ganglia.configuration.slope | slope | GMetricSlope | |
camel.component.ganglia.configuration.spoof-hostname | 欺骗信息 IP:hostname | 字符串 | |
camel.component.ganglia.configuration.tmax | 值可被视为当前时间(以秒为单位)。之后,Ganglia 认为值已过期。 | 60 | 整数 |
camel.component.ganglia.configuration.ttl | 如果使用多播,请设置数据包的 TTL | 5 | 整数 |
camel.component.ganglia.configuration.type | 值的类型 | GMetricType | |
camel.component.ganglia.configuration.units | 量化指标(如小部件、litres 和 bytes)的任何测量单位。不要包括 k (kilo)或 m (milli)等前缀,其他工具可能会在以后扩展这个单元。该值应该被取消缩放。 | 字符串 | |
camel.component.ganglia.configuration.wire-format31x | 使用 Ganglia 3.1.0 及更高版本的线格式。将其设置为 false 来使用 Ganglia 3.0.x 或更早版本。 | true | 布尔值 |
camel.component.ganglia.enabled | 启用 ganglia 组件 | true | 布尔值 |
camel.component.ganglia.resolve-property-placeholders | 启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。 | true | 布尔值 |