# Grafana Alloy : Oracle DB Monitoring using Alloy exporter : Issue using SID

**URL:** <https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691>\
**Category:** Grafana Alloy\
**Tags:** database, oracle\
**Created:** [October 12, 2026, 3:13pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691 "2026-10-12T15:13:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sr53972](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sr53972](https://community.grafana.com/u/sr53972)\
**Post date:** [October 12, 2026, 3:13pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691/1 "2026-10-12T15:13:17Z")

</div>

Team,

I am using v17.x alloy agent with oracle exporter and unable to use the DB Connection string with SID, running in to issue : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor" database=default

The connection string is working well with service name, but unable to work with SID, any suggestions/recommendation to use sid in connection string ? I am using this currently ( oracle://user:password@myhost:1521/service )

---

<div class="post-metadata">

**Author:** ![dodger\_one](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/dodger_one/32/58916_2.png) [@dodger\_one](https://community.grafana.com/u/dodger_one)\
**Post date:** [October 19, 2026, 5:23pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691/2 "2026-10-19T17:23:16Z")

</div>

Hey!

Have you tried using a full Oracle TNS connect descriptor instead of the Easy Connect syntax?

Something like:

```auto
(DESCRIPTION=
  (ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))
  (CONNECT_DATA=(SID=ORCL))
)

```

Oneliner:

```plaintext
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost)(PORT=1521))(CONNECT_DATA=(SID=ORCL)))

```

Replace `ORCL` with your actual SID.

One thing worth checking: which Oracle driver is your exporter using, `godror` or `go-ora`? They handle connection strings differently, and support for full TNS descriptors may depend on the driver.

`godror` should support this approach, although I’m not entirely sure whether Alloy accepts the descriptor directly through its `connection_string` parameter.

By the way, I know `oracledb_exporter` quite well. In fact, it was the starting point for my own open-source project, **Harry – Performance Scraper for Oracle Database** :

> **[Harry - Performance Scraper for Oracle Database](https://harryperformance.com)**
>
> Open performance data pipeline for Oracle databases. Collect once. Investigate from anywhere.

Harry takes Oracle monitoring further by preserving historical performance data in PostgreSQL and visualizing it with Grafana.

Hope this helps! Let us know if the TNS descriptor works. 🙂

---

<div class="post-metadata">

**Author:** ![sr53972](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@sr53972](https://community.grafana.com/u/sr53972)\
**Post date:** [October 28, 2026, 11:07am UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691/3 "2026-10-28T11:07:55Z")

</div>

Yes our DBA Suggested the same and it is working with the TNS connect descriptor, Thank you and appreciate your help !

---

<div class="post-metadata">

**Author:** ![dodger\_one](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/dodger_one/32/58916_2.png) [@dodger\_one](https://community.grafana.com/u/dodger_one)\
**Post date:** [October 28, 2026, 3:20pm UTC](https://community.grafana.com/t/grafana-alloy-oracle-db-monitoring-using-alloy-exporter-issue-using-sid/164691/4 "2026-10-28T15:20:45Z")

</div>

Welcome!
