Skip to content

INI was not able to parse metrics.addr #1369

@dpliatsios

Description

@dpliatsios

I have built the latest gnb and I try to export the metrics to Grafana, but I receive the following error when starting gnb:

--== srsRAN gNB (commit 11c9bbabb6) ==--

INI was not able to parse metrics.addr
Run with --help for more information.

Please find below the relevant metrics section in the config.yml:

metrics:
  autostart_stdout_metrics: false       
  addr: 127.0.0.1                       
  port: 55555                          
  enable_json: true                    
  enable_log: true                     
  enable_verbose: true                
  layers: 
    enable_app_usage: true               
    enable_e1ap: true                    
    enable_pdcp: true                    
    enable_cu_up_executor: true       
    enable_sched: true                 
    enable_rlc: true                   
    enable_mac: true                   
    enable_executor: true          
    enable_du_low: true            
    enable_ru: true                 
  periodicity: 
    app_usage_report_period: 1000       
    cu_cp_report_period: 1000           
    cu_up_report_period: 1000            
    du_report_period: 1000        

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions