Skip to content

Commit c352288

Browse files
mitali-salviTravisStark
authored andcommitted
Fix Fargate Container Insights: disable RemoveStartTimeAdjustment
The prometheus receiver's RemoveStartTimeAdjustment feature gate was promoted to beta (enabled by default) in OTel Collector Contrib v0.140.1. This causes the receiver to no longer set start times on cumulative metrics, which breaks the cumulativetodelta processor's delta computation. Without proper start times, cumulativetodelta drops data points, causing the downstream deltatorate and metricsgeneration processors to produce no output. This results in pod_cpu_utilization_over_pod_limit and other computed Fargate metrics not being emitted. Disable the feature gate to restore the previous behavior. A future release should migrate to the metricstarttime processor as the recommended long-term fix. Ref: open-telemetry/opentelemetry-collector-contrib#43916
1 parent aec92f1 commit c352288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

terraform/eks/container-insights-agent/stateful_set_fargate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
command:
2929
- "/awscollector"
3030
- "--config=/conf/adot-collector-config.yaml"
31-
- "--feature-gates=-processor.resourcedetection.propagateerrors"
31+
- "--feature-gates=-processor.resourcedetection.propagateerrors,-receiver.prometheusreceiver.RemoveStartTimeAdjustment"
3232
env:
3333
- name: OTEL_RESOURCE_ATTRIBUTES
3434
value: "ClusterName=${ClusterName}"

0 commit comments

Comments
 (0)