From b0c09ebd6773845f454558d7e72224edaed23df5 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Tue, 12 Nov 2024 11:38:35 +0100 Subject: [PATCH] Rename package to oteltwirp --- README.md | 4 ++-- go.mod | 2 +- semconv.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b1d8c58..232114e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ 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 @@ -12,7 +12,7 @@ Where you are instantiating your Twirp server: ```go import ( - oteltwirp "github.com/qonto/twirp-otel" + "github.com/qonto/oteltwirp" ... ) diff --git a/go.mod b/go.mod index aba0c92..ae2ef5d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/qonto/twirp-otel +module github.com/qonto/oteltwirp go 1.23 diff --git a/semconv.go b/semconv.go index 92586df..f3b2d3f 100644 --- a/semconv.go +++ b/semconv.go @@ -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 (