paritytech / polkadot-runtime-prom-exporter

Prometheus exporter for polkadot runtime metrics
10 stars 3 forks source link

typo in the prometheus runtime exporter code that leads to a wrong filter #8

Open gilles437 opened 2 years ago

gilles437 commented 2 years ago

In the prometheus exporter runtime_extrinsics_count request, there is a filter applied for signed metrics that is wrongly typed in the index.ts file:

numExtrinsicsMetric.set({ type: "singed" }, signedLength);

Which makes the result always empty for this request.

It Should be:

numExtrinsicsMetric.set({ type: "signed" }, signedLength);