小编And*_*eda的帖子

OpenTelemetry Operator - 无法注入自动仪器库

我们计划使用开放遥测作为我们所有应用程序的标准,并且我们已经安装了 opentelemetry-operator 的 Kubernetes 集群之一。otl 收集器和仪器运行良好。当我们将注释(instrumentation.opentelemetry.io/inject-dotnet: opentelemetry-operator-system/my-instrumentation)添加到其中一个.Net部署时,它无法注入库并在日志中显示如下。我们正在使用非 root 用户运行所有部署/pod。请帮助我如何解决它。

2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/microsoft.extensions.configuration.binder/7.0.0/lib/net7.0': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/microsoft.extensions.configuration.binder/7.0.0/lib': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/microsoft.extensions.configuration.binder/7.0.0': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/microsoft.extensions.configuration.binder': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/mongodb.driver.core/2.13.3/runtimes/win/native/libzstd.dll': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/mongodb.driver.core/2.13.3/runtimes/win/native/snappy32.dll': Operation not permitted
2023-04-04T00:57:56-04:00 cp: can't preserve ownership of '/otel-auto-instrumentation/./store/x64/net7.0/mongodb.driver.core/2.13.3/runtimes/win/native/snappy64.dll': Operation not …
Run Code Online (Sandbox Code Playgroud)

kubernetes telemetry open-telemetry

5
推荐指数
1
解决办法
486
查看次数

标签 统计

kubernetes ×1

open-telemetry ×1

telemetry ×1