Repository navigation
fix(chart): give the edge Envoy's OTLP stats a resource identity (service, instance, node) - #809
Merged
Merged
Conversation
…vice, instance, node) The edge Envoy's OTEL_RESOURCE_ATTRIBUTES carried only k8s.namespace.name and k8s.pod.name: no service.name, so its ~877 series had no `job`, and no k8s.node.name, so the platform collector's node backstop had nothing to promote. Both edge replicas therefore wrote ONE shared label set. Every rule and panel over an edge Envoy metric has been reading a zig-zag of two proxies (label-less envoy_server_uptime alternates between two values 0.64s apart), and on 2026-09-19, once each replica landed on its own collector replica, Prometheus started answering 400 (duplicate sample for timestamp) for whole batches and OtelCollectorExportFailing fired for otlp_http/prometheus. The Envoy container now sends service.name=aether-edge-proxy and service.instance.id=<pod> — the two resource attributes Prometheus's OTLP ingestion maps onto labels by itself (job, instance), so the replicas separate with no collector change — plus k8s.node.name, k8s.pod.uid and k8s.deployment.name. The pod is the right discriminator: unlike the node proxy, two edge replicas may share a node. The edge agent container gets the same k8s.* set (its service.name already comes from the binary). Chart 0.92.25. Rolls the edge Deployment only. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This was referenced Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by the platform side (talos-main) after
OtelCollectorExportFailing{exporter="otlp_http/prometheus"}fired at 12:15Z on 2026-09-19.The edge Envoy's OTEL_RESOURCE_ATTRIBUTES carried only k8s.namespace.name and
k8s.pod.name: no service.name, so its ~877 series had no
job, and nok8s.node.name, so the platform collector's node backstop had nothing to promote.
Both edge replicas therefore wrote ONE shared label set. Every rule and panel over
an edge Envoy metric has been reading a zig-zag of two proxies (label-less
envoy_server_uptime alternates between two values 0.64s apart), and on 2026-09-19,
once each replica landed on its own collector replica, Prometheus started answering
400 (duplicate sample for timestamp) for whole batches and
OtelCollectorExportFailing fired for otlp_http/prometheus.
The Envoy container now sends service.name=aether-edge-proxy and
service.instance.id= — the two resource attributes Prometheus's OTLP
ingestion maps onto labels by itself (job, instance), so the replicas separate
with no collector change — plus k8s.node.name, k8s.pod.uid and
k8s.deployment.name. The pod is the right discriminator: unlike the node proxy,
two edge replicas may share a node. The edge agent container gets the same k8s.*
set (its service.name already comes from the binary).
Chart 0.92.25. Rolls the edge Deployment only.
Rendered and checked with
helm template;bazel test //charts/aether/...green.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr