instana - 如何在动态代理中设置模式和时间?
问题描述
我指的是这个页面:
https://www.instana.com/docs/setup_and_manage/host_agent/updates/#update-interval
除了登录到 pod 并手动更改 etc/instana/com.instana.agent.main.config.UpdateManager.cfg 文件中的文件之外,有没有办法从外部作为环境变量传递模式和时间?
解决方案
Most agent settings that one may want to change quickly are available as environment variables, see https://www.instana.com/docs/setup_and_manage/host_agent/on/docker. For example, setting the mode via environment variable is supported as well with INSTANA_AGENT_MODE
, see e.g., https://hub.docker.com/r/instana/agent. The valid values are:
APM
: the default, the agent monitors everythingINFRASTRUCTURE
: the agent will collect metrics and entities but not tracesOFF
: agent runs but collects no telemetryAWS
: agent will collect data about AWS managed services in a region and an account, supported on EC2 and Fargate, and with some extra configurations, on hosts outside AWS
On Kubernetes, it is also of course possible to use a ConfigMap to override files in the agent container.
推荐阅读
- selenium - 在 selenium ide 上上传文件后,谷歌浏览器会抛出“Aw snap”
- azure - 事件总线和大数据最佳实践
- java - 如何在请求中传递参数?
- mysql - MySQL - 如何使用变量名读取列值
- database - 将变更从开发环境迁移到生产环境
- python - 如何删除跳过测试的详细输出?
- python - python ndarray什么是返回值
- sql - 数据库 'yyy' 中请求的用户 'xxx' 的消息 'EXECUTE AS USER' 失败。步骤失败
- r - 如何使用模式中的信息在 R 中设置 odbc 连接
- python - 如何有效地调试在计算密集型程序结束时调用的部分代码?