oracledb_exporter
oracledb_exporter copied to clipboard
How to use it in oracle XE
./oracledb_exporter --web.listen-address=:9161 --default.metrics=default-metrics.toml INFO[0000] Starting oracledb_exporter 0.3.0rc1 source="main.go:540" INFO[0000] Successfully loaded default metrics from: default-metrics.toml source="main.go:515" INFO[0000] No custom metrics defined. source="main.go:530" ERRO[0000] Error pinging oracle: ORA-12541: TNS:no listener source="main.go:212" INFO[0000] Listening on :9161 source="main.go:560"
oracledb_exporter 0.3.0rc1
same here
Miss the "DATA_SOURCE_NAME" variable for the database connection in the binary start. The error is -> ERRO[0000] Error pinging oracle: ORA-12541: TNS:no listener source="main.go:212"