Skip to content

Adding custom labels to metrics #222

@rajyan

Description

@rajyan

Hi, thank you for this great library.

I was wondering if there is a way to add custom labels to client metrics.
I can add default attributes with otelsql.WithDefaultAttributes, but is it possible to add semconv.DBStatementKey.String or query arguments for labels?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions