Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 755 Bytes

File metadata and controls

14 lines (9 loc) · 755 Bytes

Metrics Transform Processor exercise

  • Consult the prepared config file.

  • Read the Metrics Transform Processor documentation

  • To the system.cpu.load_average.1m metric add the agent label with the otelcol {{version}} value. You should be able to see the following output for one of the metrics only:

    Data point attributes:
       -> agent: STRING(otelcol 0.51.0)
    
  • Rename all the metrics names using regexp filter - extract the time interval from the end of the metric name and add it as suffix to the load. string. For example metric system.cpu.load_average.1m should become load.1m