Importer
The type for each importer config is map, with two always required keys:
name, which specify the name of the importer.
type, which specify the real type of the importer, decides how to parse other keys.
There are many types of importer, each with a section below.
Importers
Common Keys
This section describes the common keys, they may be used by many importers.
name
required, type: metric node name
Set the name of the importer.
type
required, type: str
Set the type of the importer.
collector
type: metric node name
Set the collector to use for this importer.
If the specified collector doesn’t exist in configure, a default Discard collector will be used.
listen_in_worker
optional, type: bool
Set if we should listen in each worker runtime if you have worker enabled.
The listen instance count will be the same with the worker number count.
default: false
ingress_network_filter
optional, type: ingress network acl rule
Set the network filter for clients.
The used client address will always be the interpreted client address, which means it will be the raw socket peer addr for servers that listen directly, and it will be the address set in the PROXY Protocol message for serverw chained after the server that support PROXY Protocol.
default: not set