Skip to content

Upgrade: operator v0.157.0, collector v0.158.0 - #22

Open
chinaran wants to merge 12 commits into
mainfrom
upgrade/v0.156.0
Open

Upgrade: operator v0.157.0, collector v0.158.0#22
chinaran wants to merge 12 commits into
mainfrom
upgrade/v0.156.0

Conversation

@chinaran

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
…158.0

Signed-off-by: 王然 <ranwang@alauda.io>
…vior

review 发现的四处问题,已逐条对照上游源码核实后修正:

1. snake_case 组件名会绕过 Operator 的自动 RBAC 生成。
   operator v0.156.0 的 internal/components/ 只注册了 k8sattributes、
   k8s_attributes、resourcedetection、k8sobjects、kubeletstats,
   ComponentType() 仅裁掉 /instance 后缀、不做归一化。因此配置成
   resource_detection / k8s_objects / kubelet_stats 时不会生成
   ClusterRole,kubelet_stats 还会丢失 K8S_NODE_NAME 注入。
   文档改回旧拼写,并新增 Component type name spelling 小节说明原因。

2. metric_relabel_configs 无法恢复资源身份标签。relabel 逐样本执行,
   service_name 只存在于 target_info 序列上,跨不了 series。
   删除该 workaround,改为 recording rule 方案。

3. hack/update-otel-version.sh 在 macOS 下可能失败。BSD libc 在 UTF-8
   locale 下把中文标点首字节判为字母,bash 会将其并入变量名,配合
   set -u 报 unbound variable。中文串中的变量统一改用 ${VAR}。

4. Prometheus Remote Write exporter 的行为描述不准确。该 exporter 没有
   DisableAddMetricSuffixes gate,仍会读取 add_metric_suffixes,只是
   打 deprecation 日志;只有普通 prometheus exporter 才默认忽略。
   release notes 拆成两条分别说明。
Signed-off-by: 王然 <ranwang@alauda.io>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploying alauda-opentelemetry with  Cloudflare Pages  Cloudflare Pages

Latest commit: cbecb84
Status: ✅  Deploy successful!
Preview URL: https://b5cccc3f.alauda-opentelemetry.pages.dev
Branch Preview URL: https://upgrade-v0-156-0.alauda-opentelemetry.pages.dev

View logs

Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
Signed-off-by: 王然 <ranwang@alauda.io>
@chinaran chinaran changed the title Upgrade/v0.156.0 Upgrade: operator v0.157.0, collector v0.158.0 Aug 14, 2026
Signed-off-by: 王然 <ranwang@alauda.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant