Skip to content

Commit

Permalink
update telemetry jitter from telegraf (#634)
Browse files Browse the repository at this point in the history
* try-1

* UP GO

* disable exemplars in rs

* remove private branch

* add branch

* revert go update

* update readme
  • Loading branch information
vishiy authored Oct 18, 2023
1 parent 9d2a2a6 commit c9d49d5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
8 changes: 8 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Azure Monitor Metrics for AKS clusters

## Release tbd
* Linux image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:<tbd>`
* Windows image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:<tbd>`
* TA image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:<tbd>`
* cfg sidecar image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:<tbd>`
* Change log -
* Update telegraf jitter & disable exemplar for rs - https://github.com/Azure/prometheus-collector/pull/634

## Release 10-05-2023
* Linux image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.7-main-10-06-2023-b75a076c`
* Windows image - `mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:6.7.7-main-10-06-2023-b75a076c-win`
Expand Down
1 change: 1 addition & 0 deletions otelcollector/metricextension/me.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"instance"
],
"honorResourceAttributes":true,
"disableExemplars":true,
"maxReceiveMessageSizeMBytes": 12
},
"publicationIntervalInSec":20,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
mode = "$MODE"
winmode = "$WINMODE"
macmode = "$MAC"
opt = "true"
controllertype = "$CONTROLLER_TYPE"
defaultmetricaccountname = "$AZMON_DEFAULT_METRIC_ACCOUNT_NAME"
namespace = "$POD_NAMESPACE"
Expand All @@ -41,7 +42,7 @@
interval = "60s"
## Rounds collection interval to 'interval'
## ie, if interval="10s" then always collect on :00, :10, :20, etc.
round_interval = true
round_interval = false

## Telegraf will send metrics to outputs in batches of at most
## metric_batch_size metrics.
Expand All @@ -58,15 +59,15 @@
## Each plugin will sleep for a random time within jitter before collecting.
## This can be used to avoid many plugins querying things like sysfs at the
## same time, which can have a measurable effect on the system.
collection_jitter = "0s"
collection_jitter = "30s"

## Default flushing interval for all outputs. You shouldn't set this below
## interval. Maximum flush_interval will be flush_interval + flush_jitter
flush_interval = "15s"
flush_interval = "30s"
## Jitter the flush interval by a random amount. This is primarily to avoid
## large write spikes for users running a large number of telegraf instances.
## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s
flush_jitter = "0s"
flush_jitter = "15s"

## By default or when set to "0s", precision will be set to the same
## timestamp order as the collection interval, with the maximum being 1s.
Expand Down
9 changes: 5 additions & 4 deletions otelcollector/telegraf/telegraf-prometheus-collector.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
mode = "$MODE"
winmode = "$WINMODE"
macmode = "$MAC"
opt = "true"
controllertype = "$CONTROLLER_TYPE"
defaultmetricaccountname = "$AZMON_DEFAULT_METRIC_ACCOUNT_NAME"
namespace = "$POD_NAMESPACE"
Expand All @@ -40,7 +41,7 @@
interval = "60s"
## Rounds collection interval to 'interval'
## ie, if interval="10s" then always collect on :00, :10, :20, etc.
round_interval = true
round_interval = false

## Telegraf will send metrics to outputs in batches of at most
## metric_batch_size metrics.
Expand All @@ -57,15 +58,15 @@
## Each plugin will sleep for a random time within jitter before collecting.
## This can be used to avoid many plugins querying things like sysfs at the
## same time, which can have a measurable effect on the system.
collection_jitter = "0s"
collection_jitter = "30s"

## Default flushing interval for all outputs. You shouldn't set this below
## interval. Maximum flush_interval will be flush_interval + flush_jitter
flush_interval = "15s"
flush_interval = "30s"
## Jitter the flush interval by a random amount. This is primarily to avoid
## large write spikes for users running a large number of telegraf instances.
## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s
flush_jitter = "0s"
flush_jitter = "15s"

## By default or when set to "0s", precision will be set to the same
## timestamp order as the collection interval, with the maximum being 1s.
Expand Down

0 comments on commit c9d49d5

Please sign in to comment.