Skip to content

Commit d8f3d07

Browse files
committed
crystal docs was doing some weird stuff, so I just eliminated some not-particularly-necessary comments.
1 parent 41081cf commit d8f3d07

File tree

1 file changed

+0
-5
lines changed
  • src/opentelemetry/instrumentation/crystal

1 file changed

+0
-5
lines changed

src/opentelemetry/instrumentation/crystal/db.cr

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ unless_enabled?("OTEL_CRYSTAL_DISABLE_INSTRUMENTATION_DB") do
3434

3535
if_version?(Crystal, :>=, "1.0.0") do
3636
class DB::Statement
37-
# :nodoc:
3837
private def _normalize_scheme_(scheme)
3938
case scheme
4039
when "postgres"
@@ -47,10 +46,6 @@ unless_enabled?("OTEL_CRYSTAL_DISABLE_INSTRUMENTATION_DB") do
4746
end
4847
end
4948

50-
# :nodoc:
51-
# This primarily exists to set some reasonable attributes for databases that are
52-
# using Unix socket based connections. It should also be modified to handle it when
53-
# a database like MySQL or PostgreSQL is being connected to via a Unix socket.
5449
private def _normalize_transport_data_(connection_uri)
5550
scheme = _normalize_scheme_(connection_uri.scheme)
5651
case scheme

0 commit comments

Comments
 (0)