Skip to content

Commit

Permalink
Rename package to oteltwirp
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Nov 12, 2024
1 parent 4bceb11 commit b0c09eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ The `oteltwirp` package creates an OpenTelemetry Twirp hook to use in your serve

## Installation

`go get -u github.com/qonto/twirp-otel`
`go get -u github.com/qonto/oteltwirp`

## Server-side usage example

Where you are instantiating your Twirp server:

```go
import (
oteltwirp "github.com/qonto/twirp-otel"
"github.com/qonto/oteltwirp"
...
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/qonto/twirp-otel
module github.com/qonto/oteltwirp

go 1.23

Expand Down
2 changes: 1 addition & 1 deletion semconv.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"go.opentelemetry.io/otel/attribute"
)

const instrumentationName = "github.com/qonto/twirp-otel"
const instrumentationName = "github.com/qonto/oteltwirp"

// Semantic conventions for attribute keys for twirp.
const (
Expand Down

0 comments on commit b0c09eb

Please sign in to comment.