Skip to content

Support for MSSQL named pipe (np:) and shared memory (lpc:) DSNs #365

Closed as not planned
@fsiler

Description

@fsiler

Is your feature request related to a problem? Please describe.
In my environment, I'm concerned about my ability to use TCP for instrumentation and would like to have shared memory and named pipes available.

Describe the solution you'd like
It appears that the upstream microsoft/go-mssqldb library supports np: and lpc: DSNs. When I try data_source_name: 'lpc:SQLEXPRESS' or data_source_name: 'lpc://SQLEXPRESS' in the current release, I get: No metrics gathered, [from Gatherer #1] invalid URL. I've also tried lpc:$IPADDRESS, lpc:localhost, and lpc:(local). I'm having trouble tracing down where the "invalid URL" portion of the message comes from.

I get a different error message when attempting DSNs such as data_source_name: 'sqlserver://localhost?protocol=lpc: No metrics gathered, [from Gatherer #1] No protocol handler is available for protocol: 'lpc'

Describe alternatives you've considered
We might well just use TCP. I'm trying to mitigate the risk and understand the codebase here.

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions