官网文档地址:Service Auto Grouping | Apache SkyWalking

配置例子

${service name} = [${group name}::]${logic name}

如果服务名称包含双冒号 (),则冒号前的文本字符串将作为组名。 在最新的 GraphQL 查询中,组名已作为可选参数提供。::

getAllServices(duration: Duration!, group: String): [Service!]!

RocketBot UI 仪表板(类型)支持默认和自定义配置。Standardgroup name

agent.service_name=${SW_AGENT_NAME:Your_ApplicationName}

普通配置

agent.service_name=agent::app

K8S的deployment配置

- name: SW_AGNET_NAME

   value: 'agent::app'

效果如图所示

Logo

更多推荐