php
//区分大小写 不能照搬需要追踪自定义组件照着example写很简单
use app\social\service\PostService;
use support\bootstrap\EsClientXiaoyangguang\WebmanTracer\example\RedisAspect;
TracerInitialize::setConfig(true);
MysqlAspect::setConfig('业务数据库', '127.0.0.1');
RedisAspect::setConfig('业务Redis');
ElasticsearchAspect::setConfig('业务Elasticsearch')任由开发者发挥
PostService::class => [
'searchByIds',
],
],
];
```
> 最后启动服务,