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

     1  ### `pt_name()` {#fn-pt-name}
     2  
     3  Function prototype: `fn pt_name(name: str = "") -> str`
     4  
     5  Function description: Get the name of point; if the parameter is not empty, set the new name.
     6  
     7  Function parameters:
     8  
     9  - `name`: Value as point name; defaults to empty string.
    10  
    11  The field mapping relationship between point name and various types of data storage:
    12  
    13  | category      | field name |
    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     |