Input.http in xml to output Prometheus no data in /metrics from input

i wanted migrate to telegraf from msi afterburner exporter to prometheus.

msi afterburner remote server uses XML by http://x.x.x.x:82/mahm

so i have :

# Read formatted metrics from one or more HTTP endpoints
[[inputs.http]]
  ## One or more URLs from which to read formatted metrics.
  urls = ["http://192.168.0.101:82/mahm"]
data_format = "xml"

## Multiple parsing sections are allowed
  [[inputs.http.xpath]]
    ## Optional: XPath-query to select a subset of nodes from the XML document.
    metric_selection = "//HardwareMonitorEntry | //HardwareMonitorHeader | //HardwareMonitorGpuEntry"

    ## Optional: XPath-query to set the metric (measurement) name.
    metric_name = "string('afterburner')"
  
    ## Field specifications using a selector.
    field_selection = "child::*"
  
# Configuration for the Prometheus client to spawn
[[outputs.prometheus_client]]
  listen = ":9892"
  ## Only metrics whose measurement name matches a pattern in this list are emitted.
  namepass = ["afterburner*"]

telegraf --config --test --debug

/etc/telegraf $ telegraf --config /etc/telegraf/telegraf.conf --test --debug 2>&1 | grep -Fi afterburner
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="15.002",flags="None",gpu="0",localizedSrcName="Power",localizedSrcUnits="W",maxLimit="400",minLimit="0",recommendedFormat="%.1f",srcId="97",srcName="Power",srcUnits="W" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="9",flags="None",gpu="0",localizedSrcName="Power percent",localizedSrcUnits="%",maxLimit="150",minLimit="0",recommendedFormat="%.0f",srcId="96",srcName="Power percent",srcUnits="%" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="50",flags="SHOW_IN_OSD",gpu="0",localizedSrcName="GPU temperature",localizedSrcUnits="C",maxLimit="100",minLimit="0",recommendedFormat="%.0f",srcId="0",srcName="GPU temperature",srcUnits="C" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="5",flags="SHOW_IN_OSD",gpu="0",localizedSrcName="GPU usage",localizedSrcUnits="%",maxLimit="100",minLimit="0",recommendedFormat="%.0f",srcId="48",srcName="GPU usage",srcUnits="%" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="8",flags="None",gpu="0",localizedSrcName="FB usage",localizedSrcUnits="%",maxLimit="100",minLimit="0",recommendedFormat="%.0f",srcId="50",srcName="FB usage",srcUnits="%" 1730317717000000000
.
.
. reducted
.
.
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="641",flags="SHOW_IN_OSD",gpu="0",localizedSrcName="EKWB TOP Radiator Fans",localizedSrcUnits="RPM",maxLimit="2500",minLimit="0",recommendedFormat="%.0f",srcId="255",srcName="EKWB TOP Radiator Fans",srcUnits="RPM" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="684",flags="SHOW_IN_OSD",gpu="0",localizedSrcName="Phanteks FRONT Fans",localizedSrcUnits="RPM",maxLimit="2500",minLimit="0",recommendedFormat="%.0f",srcId="255",srcName="Phanteks FRONT Fans",srcUnits="RPM" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm data="752",flags="SHOW_IN_OSD",gpu="0",localizedSrcName="PSU Fan",localizedSrcUnits="RPM",maxLimit="1500",minLimit="0",recommendedFormat="%.0f",srcId="255",srcName="PSU Fan",srcUnits="RPM" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm entryCount="103",entrySize="1324",gpuEntryCount="1",gpuEntrySize="1304",headerSize="32",signature="1296123981",time="1730317716",version="131072" 1730317717000000000
> afterburner,host=f79d85ae76b2,url=http://192.168.0.101:82/mahm BIOS="86.02.39.00.23",device="NVIDIA GeForce GTX 1080 Ti",driver="565.90",family="GP102-A",gpuId="VEN_10DE&DEV_1B06&SUBSYS_85EA1043&REV_A1&BUS_101&DEV_0&FN_0",memAmount="0" 1730317717000000000
/etc/telegraf $ 

also i can get to http://192.168.0.199:9892/metrics but here no data from input

is i missed some step ?

i was able to make output but not what i need :

afterburner_data{BIOS="86.02.39.00.23",device="NVIDIA GeForce GTX 1080 Ti",driver="565.90",family="GP102-A",gpuId="VEN_10DE&DEV_1B06&SUBSYS_85EA1043&REV_A1&BUS_101&DEV_0&FN_0",host="595c9e42f309",memAmount="0",srcName="Power",url="http://192.168.0.101:82/mahm"} NaN
afterburner_data{entryCount="103",entrySize="1324",gpuEntryCount="1",gpuEntrySize="1304",headerSize="32",host="595c9e42f309",signature="1296123981",srcName="Power",time="1730491099",url="http://192.168.0.101:82/mahm",version="131072"} NaN
afterburner_data{entryCount="103",entrySize="1324",gpuEntryCount="1",gpuEntrySize="1304",headerSize="32",host="595c9e42f309",signature="1296123981",srcName="Power",time="1730491109",url="http://192.168.0.101:82/mahm",version="131072"} NaN
afterburner_data{data="0",flags="None",gpu="0",host="595c9e42f309",localizedSrcName="Power limit",localizedSrcUnits="",maxLimit="1",minLimit="0",recommendedFormat="%.0f",srcId="113",srcName="Power",srcUnits="",url="http://192.168.0.101:82/mahm"} NaN
afterburner_data{data="0",flags="None",gpu="0",host="595c9e42f309",localizedSrcName="Temp limit",localizedSrcUnits="",maxLimit="1",minLimit="0",recommendedFormat="%.0f",srcId="112",srcName="Power",srcUnits="",url="http://192.168.0.101:82/mahm"} NaN
afterburner_data{data="0",flags="None",gpu="0",host="595c9e42f309",localizedSrcName="VID usage",localizedSrcUnits="%",maxLimit="100",minLimit="0",recommendedFormat="%.0f",srcId="51",srcName="Power",srcUnits="%",url="http://192.168.0.101:82/mahm"} NaN
afterburner_data{data="0",flags="None",gpu="0",host="595c9e42f309",localizedSrcName="Voltage limit",localizedSrcUnits="",maxLimit="1",minLimit="0",recommendedFormat="%.0f",srcId="114",srcName="Power",srcUnits="",url="http://192.168.0.101:82/mahm"} NaN
afterburner_data{data="0",flags="SHOW_IN_OSD",gpu="0",host="595c9e42f309",localizedSrcName="Memory usage \\ 

This what i need:

# HELP afterburner_bus_usage_percent 
# TYPE afterburner_bus_usage_percent gauge
afterburner_bus_usage_percent{gpu="NVIDIA GeForce GTX 1080 Ti",gpu_bios="86.02.39.00.23",gpu_driver="565.90",gpu_family="GP102-A",gpu_id="VEN_10DE&DEV_1B06&SUBSYS_85EA1043&REV_A1&BUS_101&DEV_0&FN_0"} 0
# HELP afterburner_commit_charge_bytes 
# TYPE afterburner_commit_charge_bytes gauge
afterburner_commit_charge_bytes 2.4828e+10
# HELP afterburner_core_clock_hertz 
# TYPE afterburner_core_clock_hertz gauge
afterburner_core_clock_hertz{gpu="NVIDIA GeForce GTX 1080 Ti",gpu_bios="86.02.39.00.23",gpu_driver="565.90",gpu_family="GP102-A",gpu_id="VEN_10DE&DEV_1B06&SUBSYS_85EA1043&REV_A1&BUS_101&DEV_0&FN_0"} 1.39e+08
# HELP afterburner_cpu_clock_hertz 
# TYPE afterburner_cpu_clock_hertz gauge
afterburner_cpu_clock_hertz{core="1"} 1.199981e+09
afterburner_cpu_clock_hertz{core="10"} 2.899955e+09
afterburner_cpu_clock_hertz{core="11"} 1.199981e+09
afterburner_cpu_clock_hertz{core="12"} 1.199981e+09
afterburner_cpu_clock_hertz{core="13"} 3.599944e+09
afterburner_cpu_clock_hertz{core="14"} 3.599944e+09
afterburner_cpu_clock_hertz{core="15"} 1.399978e+09
afterburner_cpu_clock_hertz{core="16"} 1.399978e+09
afterburner_cpu_clock_hertz{core="2"} 1.199981e+09
afterburner_cpu_clock_hertz{core="3"} 1.199981e+09
afterburner_cpu_clock_hertz{core="4"} 1.199981e+09
afterburner_cpu_clock_hertz{core="5"} 3.599944e+09
afterburner_cpu_clock_hertz{core="6"} 3.599944e+09
afterburner_cpu_clock_hertz{core="7"} 1.199981e+09
afterburner_cpu_clock_hertz{core="8"} 1.199981e+09
afterburner_cpu_clock_hertz{core="9"} 2.899955e+09
# HELP afterburner_cpu_clock_total 
# TYPE afterburner_cpu_clock_total gauge
afterburner_cpu_clock_total 3.599944e+09
# HELP afterburner_cpu_core_current_total 
# TYPE afterburner_cpu_core_current_total gauge
afterburner_cpu_core_current_total 32
# HELP afterburner_cpu_ekwb_pump_total 
# TYPE afterburner_cpu_ekwb_pump_total gauge
afterburner_cpu_ekwb_pump_total 2115
# HELP afterburner_cpu_power_total 
# TYPE afterburner_cpu_power_total gauge
afterburner_cpu_power_total 1.349609
# HELP afterburner_cpu_temperature_celsius 
# TYPE afterburner_cpu_temperature_celsius gauge
afterburner_cpu_temperature_celsius{core="1"} 42
afterburner_cpu_temperature_celsius{core="10"} 41
afterburner_cpu_temperature_celsius{core="11"} 43
afterburner_cpu_temperature_celsius{core="12"} 43
afterburner_cpu_temperature_celsius{core="13"} 47
afterburner_cpu_temperature_celsius{core="14"} 47
afterburner_cpu_temperature_celsius{core="15"} 43
afterburner_cpu_temperature_celsius{core="16"} 43
afterburner_cpu_temperature_celsius{core="2"} 42
afterburner_cpu_temperature_celsius{core="3"} 39

this is my last config:

## Multiple parsing sections are allowed
  [[inputs.http.xpath]]
    ## Optional: XPath-query to select a subset of nodes from the XML document.
    metric_selection = "//HardwareMonitorEntry | //HardwareMonitorHeader | //HardwareMonitorGpuEntry"

    ## Optional: XPath-query to set the metric (measurement) name.
    #metric_name = "string('afterburner_' + .Tags.srcName)"
    metric_name = "string('afterburner')"
    ## Use name_override to dynamically set the metric name based on a tag
    #name_override = "afterburner_{{ .Tags.srcName | snakecase }}"
    #name_override = "afterburner_{{ .Tags.@srcName }}"

    ## Optional: Query to extract metric timestamp.
    ## If not specified the time of execution is used.
    timestamp = "//HardwareMonitorHeader/time"
    ## Optional: Format of the timestamp determined by the query above.
    ## This can be any of "unix", "unix_ms", "unix_us", "unix_ns" or a valid Golang
    ## time format. If not specified, a "unix" timestamp (in seconds) is expected.
    # timestamp_format = "2006-01-02T15:04:05Z"

    ## Field specifications using a selector.
    #field_selection = "child::*"  
    field_selection = "child::*"  
    ## Optional: Queries to specify field name and value.
    ## These options are only to be used in combination with 'field_selection'!
    ## By default the node name and node content is used if a field-selection
    ## is specified.
    # field_name  = "data"
    # field_value = "."
    #field_name = "srcName(@*[1])"
    #field_value = "data(@*[1])"

    ## Optional: Expand field names relative to the selected node
    ## This allows to flatten out nodes with non-unique names in the subtree
    # field_name_expansion = false

    ## Tag specifications using a selector.
    tag_selection = "child::*"
    ## Optional: Queries to specify tag name and value.
    ## These options are only to be used in combination with 'tag_selection'!
    ## By default the node name and node content is used if a tag-selection
    ## is specified.
    # tag_name  = "name()"
    # tag_value = "."

    ## Optional: Expand tag names relative to the selected node
    ## This allows to flatten out nodes with non-unique names in the subtree
    # tag_name_expansion = false

    #[inputs.http.xpath.tags]
    #name = "substring-after(@name, ' ')"
    # SourceName = "//HardwareMonitorEntry/srcName"

    [inputs.http.xpath.tags]
      srcName = "//HardwareMonitorEntry/srcName"
      srcUnits = "//HardwareMonitorEntry/srcUnits"
      gpuFamily = "//HardwareMonitorGpuEntry/family"
      device = "//HardwareMonitorGpuEntry/device"
      driver = "//HardwareMonitorGpuEntry/driver"
      BIOS = "//HardwareMonitorGpuEntry/BIOS"
      memAmount = "//HardwareMonitorGpuEntry/memAmount"
      
    [inputs.http.xpath.fields]
    # HardwareMonitorEntry
      data = "number(//HardwareMonitorEntry/data)"
      minLimit = "number(//HardwareMonitorEntry/minLimit)"
      maxLimit = "number(//HardwareMonitorEntry/maxLimit)"
      flags = "//HardwareMonitorEntry/flags"
      gpu = "number(//HardwareMonitorEntry/gpu)"
      srcId = "number(//HardwareMonitorEntry/srcId)"
    # HardwareMonitorGpuEntry  
      gpuId = "number(//HardwareMonitorGpuEntry/gpuId)"
      gpuFamily = "string(//HardwareMonitorGpuEntry/family)"
      device = "string(//HardwareMonitorGpuEntry/device)"
      driver = "string(//HardwareMonitorGpuEntry/driver)"
      BIOS = "string(//HardwareMonitorGpuEntry/BIOS)"
      memAmount = "number(//HardwareMonitorGpuEntry/memAmount)"