struct OpenTelemetry::InstrumentationDocumentation::CrystalDB

Overview

OpenTelemetry::Instrumentation::CrystalDB

Instruments

Reference: http://crystal-lang.github.io/crystal-db/api/latest/DB.html

This instrumentation will trace any database interactions that subclass from the Crystal standard DB class/shard.

Methods Affected

No methods are being overridden. The DB package provides a built-in way of wrapping queries, via the DB::Statement#def_around_query_or_exec macro. This functionality simply leverages that.

http://crystal-lang.github.io/crystal-db/api/latest/DB/Statement.html

Configuration

Version Restrictions

Defined in:

opentelemetry/instrumentation/crystal/db.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def initialize #