Skip to content

Commit

Permalink
chore: add some links
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Apr 16, 2022
1 parent bff0c27 commit 086241a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion otelgorm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# GORM OpenTelemetry instrumentation

otelgorm instrumentation records database queries and reports `DBStats` metrics.
[GORM OpenTelemetry instrumentation](https://opentelemetry.uptrace.dev/instrumentations/go-gorm.html)
records database queries and reports `DBStats` metrics.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions otelsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# database/sql instrumentation for OpenTelemetry Go

otelsql instrumentation records database queries (including `Tx` and `Stmt` queries) and reports
`DBStats` metrics.
[database/sql OpenTelemetry instrumentation](https://opentelemetry.uptrace.dev/instrumentations/go-database-sql.html)
records database queries (including `Tx` and `Stmt` queries) and reports `DBStats` metrics.

## Installation

Expand Down
10 changes: 5 additions & 5 deletions otelzap/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![PkgGoDev](https://pkg.go.dev/badge/github.com/uptrace/opentelemetry-go-extra/otelzap)](https://pkg.go.dev/github.com/uptrace/opentelemetry-go-extra/otelzap)

# OpenTelemetry Go instrumentation for Zap logging library
# Zap OpenTelemetry instrumentation

This instrumentation records Zap log messages as events on the existing span that must be passed in
a `context.Context` as a first argument. It does not record anything if the context does not contain
a span.
[Zap OpenTelemetry instrumentation](https://opentelemetry.uptrace.dev/instrumentations/go-zap.html)
records Zap log messages as events on the existing span that must be passed in a `context.Context`
as a first argument. It does not record anything if the context does not contain a span.

## Installation

Expand All @@ -15,7 +15,7 @@ go get github.com/uptrace/opentelemetry-go-extra/otelzap
## Usage

You need to create an `otelzap.Logger` using this package and pass a
[context](https://opentelemetry.uptrace.dev/guide/go-tracing.html#context) to propage the active
[context](https://opentelemetry.uptrace.dev/guide/go-tracing.html#context) to propagate the active
span.

```go
Expand Down

0 comments on commit 086241a

Please sign in to comment.