semconv

package
v0.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package semconv contains semantic convention definitions and utilities for database attributes used by the otelsql package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBQueryTextAttributes added in v0.43.0

func DBQueryTextAttributes(query string) []attribute.KeyValue

DBQueryTextAttributes returns the database query text attributes using the stable db.query.text semantic convention.

func ErrorTypeAttribute added in v0.44.0

func ErrorTypeAttribute(err error) attribute.KeyValue

ErrorTypeAttribute converts an error to attribute.KeyValue.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL