Build(deps): Bump ruby/setup-ruby from 1.298.0 to 1.299.0 (#10)
Bumps ruby/setup-ruby from 1.298.0 to 1.299.0.
updated-dependencies:
- dependency-name: ruby/setup-ruby dependency-version: 1.299.0 dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
DNS based service discovery plugin for Fluentd
The
dnsservice discovery plugin updates target services by DNS list.This plugin uses
Socket.getaddrinfointernally.Requirements
Installation
Use RubyGems:
Configuration
Use
@type dnsin<service_discovery>.If
host1.domainreturns 3 addresses andhost2.domainreturns 2 addresses,sd_dnsgenerates 5 address entries with given port.e.g.
host1.domainreturns1.2.3.4,1.2.3.5and1.2.3.6host2.domainreturns2.2.3.4and2.2.3.5sd_dnsgenerates1.2.3.4:24224,1.2.3.5:24224,1.2.3.6:24224,2.2.3.4:24225and2.2.3.5:24225.section
Specify host and additional information. Each entry has the following parameters:
host
Hostname for service lookup. This is required parameter
port
Port of service. This is required parameter
address_family
ipv4oripv6)Specify the desired address family. By default,
sd_dnsgets IPv4 and IPv6 addresses. If you want to get only IPv4 or IPv6, set it.shared_key
The shared_key per entry
username
The username for authentication.
password
The password for authentication
weight
The load balancing weight
shared_key,username,passwordandweightare mainly forout_forward.interval
Interval for updating the service list. By default,
sd_dnskeeps to use first service list. If you want to update the service list periodically, setintervalparameter.ignore_dns_error
Ignore DNS related error or not. This parameter is for multiple
<entry>case. By default,sd_dnswill stop the update process when raises an error in DNS resolution.If you want to contine the update process, set
ignore_dns_error trueWhen error happens,
sd_dnsgenerates following warning message:More information