Upgrade: operator v0.157.0, collector v0.158.0 - #22
Open
chinaran wants to merge 12 commits into
Open
Conversation
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>
Deploying alauda-opentelemetry with
|
| 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 |
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>
Signed-off-by: 王然 <ranwang@alauda.io>
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.
No description provided.