title: Using Oracle DB exporter with Prometheus
body: <p>Trying to scrape oracle db using Oracle DB exporter mentioned on Prometheus website</p>
  
  <p>exporter:
  <a href="https://github.com/iamseth/oracledb_exporter" rel="nofollow noreferrer">OracleDB Exporter</a></p>
  
  <p>But cannot understand how to connect this to a remote oracle DB instance.
  It specifies to create DATA_SOURCE_NAME but nothing is mentioned regarding connection properties like username and password, need help regarding this</p>
  
  <p>tried running docker for the exporter</p>
  
  <pre><code> docker run --name oracledb_exporter -p 9161:9161 -e DATA_SOURCE_NAME=system/oracle@hostname/xe iamseth/oracledb_exporter
  time="2019-11-28T05:08:29Z" level=info msg="Starting oracledb_exporter 0.2.3" source="main.go:337" 
  time="2019-11-28T05:08:29Z" level=error msg="Error pinging oracle: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor\n" source="main.go:168" 
  time="2019-11-28T05:08:29Z" level=info msg="Try to reconnect..." source="main.go:173" 
  time="2019-11-28T05:08:29Z" level=error msg="Unable to connect to oracle:ORA-12514: TNS:listener does not currently know of service requested in connect descriptor\n" source="main.go:181" 
  time="2019-11-28T05:08:29Z" level=info msg="Listening on :9161" source="main.go:359" 
  </code></pre>