github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/funcs/md/pt_name.md (about)

     1  ### `pt_name()` {#fn-pt-name}
     2  
     3  函数原型:`fn pt_name(name: str = "") -> str`
     4  
     5  函数说明:获取 point 的 name;如果参数不为空则设置新的 name。
     6  
     7  函数参数:
     8  
     9  - `name`: 值作为 point name;默认值为空字符串
    10  
    11  Point Name 与各个类型数据存储时的字段映射关系:
    12  
    13  | 类别          | 字段名 |
    14  | ------------- | ------ |
    15  | custom_object | class  |
    16  | keyevent      | -      |
    17  | logging       | source |
    18  | metric        | -      |
    19  | network       | source |
    20  | object        | class  |
    21  | profiling     | source |
    22  | rum           | source |
    23  | security      | rule   |
    24  | tracing       | source |