iamseth / oracledb_exporter

Prometheus Oracle database exporter.
MIT License
479 stars 236 forks source link

Unable to obtain oracle version or status info as value #442

Open JuezFenix opened 5 months ago

JuezFenix commented 5 months ago

I'm submitting a ...

What is the current behavior?

Unable to obtain text from "SELECT banner FROM v$version;", SELECT instance_number, version_full, status, edition, database_type FROM v$instance" o obtain oracle version as value.

Using con_id as dummy metric (i cant put banner in metricsdesc because its a text):

I only see banner as a label and con_id as value, what is completely upside down.

Same case for the other:

What is the expected behavior?

Banner value from SELECT banner FROM v$version; as metric value.

Text values from SELECT instance_number, version_full, status, edition, database_type FROM v$instance" as metric value.

Please tell us about your environment:

Oracle 19c - Oracle exporter 0.6.0 Docker