I've just installed 6.25-4150 and the units are now available :cool:
The support you guys give is amazing !!!
Here is the metrics with 6.25-4150 and the same regex as before: hwi_core_clock_mhz{coreno="2",unit="MHz",sensor_type="SENSOR_TYPE_CLOCK",sensor="Core 2 Clock (perf #3)",source="CPU...
That's what I thought as well by looking at the code where you do the following
var unit = item.Unit;
var sensorName = item.Name;
var sensorType = item.Category;
var sourceName = item.Source.SourceName;
metadataDict.Add("unit", unit);
(...)
if (!String.IsNullOrEmpty(unit))
{
metricName +=...
Another question...
How come that some times the metric will be suffixed with the units and some times not?
With the same regexes on 3 different PCs, I get twice the metrics with the units and once w/o. For example:
- Regex: (?<Entity>Core) (?<CoreNo>\d+) (?<MetricName>VID|Clock|Ratio)
-...
Brilliant ! My brain wasn't reading all the words and ProgramData was becoming Program Files. My mistake as it is clearly written in the README; Yet another example of RTFM :rolleyes:
Anyway, I changed the regex to
'(?<Entity>CPU) (?<MetricName>Temperature|Power|Package Power|Core Power|SoC...
Hi,
Thanks for the quick and detailed answer. Unfortunately, not everything works as expected. I started modifying the config file but I couldn't make it work. Calling the endpoint metrics/reset or restarting the service (ensuring it was down before) doesn't pick up the latest config. Actually...
Hi Kallex,
Great job there ! I installed the whole thing (Prometheus, Grafana and your adapter) in a couple of hours and now I can enjoy my GPUs' temps on my iPad :cool:. Thank you very much!
Would you be able to post a bit of info on how to configure the mapping in Prometheusmapping.yaml. I...