Skip to content

[receiver/sqlquery] Add connection pool feature #36752

Closed
@stef-philipsen-tfs

Description

@stef-philipsen-tfs

Component(s)

receiver/sqlquery

Is your feature request related to a problem? Please describe.

Currently, when adding new metrics with the sqlquery receiver, the receiver sets up a new connection for each query.

We currently have more than 40 of these metrics, which means Open Telemetry opens more than 40 database connections.

image

Describe the solution you'd like

It would be better if the PostgreSQL Connection pool feature would be available for this receiver too, so that the amount of database connections can be reduced.

Describe alternatives you've considered

Updating the maximum number of connections so that more connections are allowed, but this means the database needs more resources to keep all these connections open.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions