cloud.tencent.com/inject-dotnet: "true"cloud.tencent.com/otel-service-name: my-app # Application name. For the processes that access using the same application name are displayed in APM as multiple instances under the same application.# The application name can contain up to 63 characters, consisting of lowercase letters, digits, and the separator (-) only. It must start with a lowercase letter and end with a digit or lowercase letter.
spec.template.metadata.annotations
, affecting the Pod's annotation, rather than the workload's annotation. You can see the following code snippet: apiVersion: apps/v1kind: Deploymentmetadata:labels:k8s-app: my-appname: my-appnamespace: defaultspec:selector:matchLabels:k8s-app: my-apptemplate:metadata:labels:k8s-app: my-appannotations:cloud.tencent.com/inject-dotnet: "true" # Add it here.cloud.tencent.com/otel-service-name: my-appspec:containers:image: my-app:0.1name: my-app
Configuration Item | Description |
cloud.tencent.com/apm-token | Specifies the Token for the APM business system. If this configuration item is not added, the configuration of the Operator is used (corresponding to the Operator's env.APM_TOKEN field). |
cloud.tencent.com/dotnet-instr-version | Specifies the .NET agent version. If this configuration item is not added, the configuration of Operator (corresponding to the env.DOTNET_INSTR_VERSION field of Operator) is used. The value can be latest (default) or a specific version number. For a list of specific version numbers, see Agent Version Information. It is not recommended to fill in this field unless necessary. |
cloud.tencent.com/container-names | Specifies the container(s) where the agent is injected. Injecting an agent into multiple containers is supported. In this case, simply enter multiple container names separated by English commas in the value section of this configuration item. If this configuration item is not added, the agent will be injected into the first container by default. This configuration item is supported in Operator version 0.88 and later. |
cloud.tencent.com/otel-dotnet-auto-runtime | Specifies the location of .NET CLR Profiler. If this configuration item is not added, the configuration of Operator (corresponding to the env.CORECLR_PROFILER_PATH field of Operator) is used. It is not recommended to fill in this field unless necessary. This configuration item is supported in Operator version 0.88 and later.Optional configuration items: linux-x64 (default): Suitable for Linux glibc-based images.linux-musl-x64 : Suitable for Linux musl-based images. |