Skip to content

How to metrics with labels when connect two db in one program #37

@yxxchange

Description

@yxxchange

Your Question

How to metrics with labels when connect two db in one program

The document you expected this should be explained

Expected answer

add a label to

go_sql_connections_idle{otel_scope_name="opentelemetry/otel",otel_scope_version=""} 1

like
go_sql_connections_idle{otel_scope_name="opentelemetry/otel",otel_scope_version="",db="xxx"} 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions