# Unable to configure PDC with Vertica Grafana datasource

**URL:** <https://community.grafana.com/t/unable-to-configure-pdc-with-vertica-grafana-datasource/157088>\
**Category:** Grafana Plugin Development\
**Created:** [September 4, 2025, 10:52am UTC](https://community.grafana.com/t/unable-to-configure-pdc-with-vertica-grafana-datasource/157088 "2025-09-04T10:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabrol](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@aabrol](https://community.grafana.com/u/aabrol)\
**Post date:** [September 4, 2025, 10:52am UTC](https://community.grafana.com/t/unable-to-configure-pdc-with-vertica-grafana-datasource/157088/1 "2025-09-04T10:52:42Z")

</div>

I am working on enabling PDC on vertica-grafana-datasource and using vertica-sql-go driver to connect with Vertica DB. I have followed the link [PDC integration guide](https://urldefense.com/v3/ __https://grafana.com/developers/plugin-tools/how-to-guides/data-source-plugins/add-support-for-pdc*frontend-changes__ ;Iw!!Obbck6kTJA!cG91oWGiDwoD2SuyVY42GzzG7ltvY7YvwaznTFnXOUgTXiQIHPc9Eon_Vbp78tNpZ4CTzub1XoNw_5XfW0SteJ3HGaAr$ "https://urldefense.com/v3/\_\_https://grafana.com/developers/plugin-tools/how-to-guides/data-source-plugins/add-support-for-pdc\*frontend-changes\_\_;Iw!!Obbck6kTJA!cG91oWGiDwoD2SuyVY42GzzG7ltvY7YvwaznTFnXOUgTXiQIHPc9Eon\_Vbp78tNpZ4CTzub1XoNw\_5XfW0SteJ3HGaAr$") to enable PDC feature to Vertica connector.

I have faced a challenge to implement PDC with Vertica and unable to pass dialectContext to the Vertica connection because Vertica Go driver used default net.Dial and unable to pass dialectContext of PDC to Vertica connection. Please help us to resolve this issue and is there any other way to use PDC with Vertica?

Below are the details:

1. Deployed latest version of Grafana on premise and used Vertica sql go version 1.3.3(" [GitHub - vertica/vertica-sql-go: Official native Go client for the Vertica Analytics Database.](http://github.com/vertica/vertica-sql-go) ").
2. I am successfully configured frontend to enable or disable PDC.
3. I have faced an issue with data source implementation. I have followed above document to enable PDC and create a dailContext for the same for proxy. But Vertica sql go driver just support sql.Open(connStr) and unable to pass dialContext to the connection. Vertica sql go driver does not support sql.OpenDB(connection) due to this unable to assign dialContext to the connection.

---

<div class="post-metadata">

**Author:** ![adamsimpson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/adamsimpson/32/56373_2.png) [@adamsimpson](https://community.grafana.com/u/adamsimpson)\
**Post date:** [September 4, 2025, 2:47pm UTC](https://community.grafana.com/t/unable-to-configure-pdc-with-vertica-grafana-datasource/157088/2 "2025-09-04T14:47:46Z")

</div>

👋 Hello, thanks for reaching out! You have two options:

1. Add support to `vertica/vertica-sql-go` to support `OpenDB` where you can pass in a different `Dialer` ([docs](https://grafana.com/developers/plugin-tools/how-to-guides/data-source-plugins/add-support-for-pdc#non-http-client))
2. If `vertica` supports specifying a proxy in the connection string itself you can follow the [implementation in MySQL](https://github.com/grafana/grafana/blob/da24ad06bd90b6caeaa7ad553e0063f62b0b6c5c/pkg/tsdb/mysql/mysql.go#L92-L104)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [September 4, 2026, 2:47pm UTC](https://community.grafana.com/t/unable-to-configure-pdc-with-vertica-grafana-datasource/157088/3 "2026-09-04T14:47:58Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
