mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
OTLP: Set enable_ha to true by default
This commit is contained in:
parent
3f68eea1fd
commit
e6c420e106
3 changed files with 3 additions and 3 deletions
|
|
@ -1902,7 +1902,7 @@ There are more configuration options available as described in the table below.
|
|||
| service\_resource\_attributes | Dictionary | **Optional.** Additional resource attributes to be included with service metrics. Defaults to none. |
|
||||
| flush\_interval | Duration | **Optional.** How long to buffer data points before transferring to the OTLP backend. Defaults to `15s`. |
|
||||
| flush\_threshold | Number | **Optional.** How many bytes to buffer before forcing a transfer to the OTLP backend. Defaults to `16MiB`. |
|
||||
| enable\_ha | Boolean | **Optional.** Enable the high availability functionality. Has no effect in non-cluster setups. Defaults to `false`. |
|
||||
| enable\_ha | Boolean | **Optional.** Enable the high availability functionality. Has no effect in non-cluster setups. Defaults to `true`. |
|
||||
| enable\_send\_thresholds | Boolean | **Optional.** Whether to stream warning, critical, minimum & maximum as separate metrics to the OTLP backend. Defaults to `false`. |
|
||||
| diconnect\_timeout | Duration | **Optional.** Timeout to wait for any outstanding data to be flushed to the OTLP backend before disconnecting. Defaults to `10s`. |
|
||||
| enable\_tls | Boolean | **Optional.** Whether to use a TLS stream. Defaults to `false`. |
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ object OTLPMetricsWriter "otlp-metrics" {
|
|||
|
||||
# These are the default settings used by the OTel writer. Adjust them as needed.
|
||||
# Please refer to the documentation for more details on each option.
|
||||
// enable_ha = false
|
||||
// enable_ha = true
|
||||
// flush_interval = 15s
|
||||
// flush_threshold = 16*1024*1024
|
||||
# When stopping Icinga 2, this timeout defines how long to wait for any pending OTel
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class OTLPMetricsWriter : ConfigObject
|
|||
default {{{ return 16 * 1024 * 1024; }}}
|
||||
};
|
||||
[config] bool enable_ha {
|
||||
default {{{ return false; }}}
|
||||
default {{{ return true; }}}
|
||||
};
|
||||
[config] bool enable_send_thresholds {
|
||||
default {{{ return false; }}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue