通过设置 oneapm.properties 文件中 enable_auto_tier_naming 选项为 true ,默认是 false ,
命名是根据
- 从web.xml的servlet标签中获取initparameter属性
- web.xml的context-param标签中获取属性
- 从servletContext中尝试获取 " display-name " 标签的配置,如果没有获取到,从contextPath中解析tierName
通过设置 oneapm.properties 文件中 enable_auto_tier_naming 选项为 true ,默认是 false ,