semconv

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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 ErrorTypeAttributes

func ErrorTypeAttributes(err error) []attribute.KeyValue

ErrorTypeAttributes converts an error to a slice of 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