Grafana Alloy textfile collector

Hi, i was wondering how to setup a textfile collector with Grafana Alloy.

There are some example here: loki.source.file | Grafana Alloy documentation

i want to log my cpu temperature, which is saved in /etc/cputemp-exporter/current-temp.txt, in a time series panel. how do i do this?

Nevermind i just reinstalled grafana alloy with the extended metrics option and the cpu temperature monitoring appeared