113.3. Spring Boot Auto-Configuration
组件支持 16 个选项,如下所列。
Name | 描述 | 默认值 | 类型 |
---|---|---|---|
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 (毫秒)等前缀,其他工具可能会在以后扩展单元。该值应该被取消扩展。 | 字符串 | |
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 | 布尔值 |