DNS-based service discovery configuration allows specifying a set of DNS domain names which are periodically queried to discover a list of targets.
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#dns_sd_config
A list of DNS domain names to be queried.
The type of DNS query to perform. One of SRV, A, AAAA, MX or NS.
Default if unspecified: "SRV"
"SRV"
The port number used if the query type is not SRV.
The time after which the provided names are refreshed.
Default if unspecified: 30.s
30.s
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
DNS-based service discovery configuration allows specifying a set of DNS domain names which are periodically queried to discover a list of targets.